











*t5s1h10w0mt4h18w3           PAMPHLET Version 3.1*r

                 A printing utility for the HP LaserJet Series II
                                     Copyright (C) 1988



























                                        *w3 Martin Beattie*r
                                9190 Rolling Tree Lane
                                   Fair Oaks, CA 95628
                               CompuServe [76555,454]
                                  GEnie [M.BEATTIE]
*f
*t5h10s1w0m
PAMPHLET (C) Version 3.0 is a printing utility which will print
your text documents in pamphlet form.  In the lineprinter mode
it will help keep hardcopy print outs, listings, etc. neatly and
in a more manageable size.  Using soft and/or cartridge fonts it
can create neat, informational and educational pamphlets.

*t4h12w3 Requirements:*r

     IBM PC/XT/AT or clone. 192K memory. (Versions 1.4, 2.03
     require only 64K)
     HP LaserJet with Y cartridge
               or
     HP LaserJet +
               or
     HP LaserJet Series II
               or
     other laser printer which can emulate the LaserJet
     Series II.

*t4h12w3 What does it do?*r

It will print an ASCII text file to the HP LaserJet II in the
landscape mode.  It prints 2 pages side by side and by making
two passes through the printer, prints 4 pages per sheet of
paper.  Page arrangement is automatically determined by the
program so that the resultant sheets may be stapled together
down the middle and folded in half creating a booklet.

Versions prior to 2.0 used the compressed or lineprinter (16.66
cpi) font and line spacing of 9 lines per inch to print what
normally appeared on an entire 8 1/2 X 11 sheet of paper in 1/2
the space.

Version 2.0 added the versatility of cartridge and soft
fonts. Line density may also be selected. Version 3.0 added an
online TEXT editor to create or modify your file prior to
printing.

A soft font loading utility is included.  Soft fonts loaded by
Pamphlet (C) may be used by other programs as well.

*t4h12w3 Getting Started*r
*t4h10w3 Non Hard Disk system users:*r

First back up your disk.  The program is not copy protected and
you need only to copy it to another floppy disk.  Use DOS COPY
or DISKCOPY as follows:

To use COPY you will first need to have a FORMATTED BLANK
disk.  Place the distribution diskette in drive A: and the blank
disk in drive B:  Then type COPY **.** A: B:  The pamphlet
program will be copied.  You may also use DISKCOPY by placing
the distribution disk in drive A: and the blank disk in drive B:
Type DISKCOPY A: B:  In either case, the disk and programs will
be backed up.

*t4h10w3 Hard Disk Users: *r

If you have a hard disk your working copy of the program will
reside on the hard disk.  Your original copy will remain unused
so back up is not so important.  Change the directory to that in
which you wish PAMPHLET (C) to reside then place the distibution
diskette in drive A:  Type COPY A:**.** C:\<directory>
*t4h10w3
Creating a text file.*r  Pamphlet (C) was initially written as a
text output processing device for program listings and text
files. It was a program which was originally intended for use by
persons familiar with the IBM computer, the use of DOS and TEXT
files. It has gained some popularity for the production of
instruction manuals, simple newsletters, etc. Version 3.0 has now
added the convenience of a built in TEXT editor to create or
modify your text files prior to printing. From the first screen
you enter the editor using the F4 key. The file name in the "File
to Print" field will be displayed for editing. You may use path
descripitions as well as wild card (* and ?) characters for a
directory of available files.
*t4h10w3
Using your favorite word processor.*r  Many word processors have
their own internal format in which they store the files which you
have created. This is to allow the program to easily format
paragraphs, justify alignment and so forth. These formats contain
extra or encoded characters which will not print correctly if you
try to print them (as is) with Pamphlet (C). Most word processors
will allow you to create a straight ASCII text file from your
document. You will have to refer to your word processor
documentation to determine how to do it. For example, Word
Perfect has a text in / text out mode, and WordStar can Print to
a document FILE (3.3) or to device "ASCII" (4.0). All editors
that are used by programmers create TEXT files. *w3 Pamphlet (C)
does not modify line formatting. It will wrap lines but not
reformat them. You must create proper line length with your word
processor.*r

*t4h12w3 Running PAMPHLET (C)*r

*w3m If you have a LaserJet which does not have internal
landscape compressed print, you must have a cartridge which
contains the landscape lineprinter (16.66) font or have it
available as a soft font for this program to work.*w0m

Pamphlet (C) has 3 input screens with which you may interact.
The first which appears when you run the program, requests
information about the file to be printed and about your printer
type.  The second, after using the F3 key from the first screen,
deals with default font characteristics.  The last, F3 from the
second screen, allows you to select and load soft fonts.  It is
not necessary to use all screens with each run of the program.
Usually the first run of the day requires entry to the third
screen to load soft fonts.  Likewise, once your default font
preferences are entered and saved to disk, the second screen
need only be used occasionally.

Here we go -- we are assuming you have a text file ready to
print.

From DOS type:

PAMPHLET<ENTER>

You will then see --
*t0s0p17ml70 ͸
                                                                   
                       PAMPHLET (C) VERSION 3.0                    
                                                                   
         FILE TO PRINT:                                            
                                                                   
       FILE NAME STAMP: N                                          
                                                                   
            DATE STAMP: N                                          
                                                                   
          NUMBER PAGES: Y                                          
                                                                   
     HOLE PUNCH MARGIN: Y                                          
                                                                   
                 TITLE:                                            
                                                                   
       SERIES II (Y/N): Y                                          
                                                                   
     CENTER LINE (Y/N): Y       'Page Left Blank' NOTE: Y          
                                                                   
    Use arrow keys, F1 for help, F2 to print when ready            
   F3 font options, F4 TEXT editor, ESC to QUIT without printing.  
;
*t5s1h10m
Complete the options as needed.  You will need to enter a file
name to be printed. You may use path names. You may also use wild
cards for a directory of available files. File name and Date
stamp are default OFF but may be added if requested. Page
Numbering is default ON but may be eliminated if your text file
has numbering included. The hole punch margin is default ON and
limits line length to 70 characters. If the pamphlet is to be
stapled together and a longer line length is desired, changing
this option to "N" will allow a few more characters per line.
Entering a TITLE will trigger the creation of a simple title page
with the requested text in a box. The title page is time and date
stamped and is printed after the completion of printing the
pamphlet. The default title page is quite simple and is a vestige
of Version 1.1. If you have other landscape fonts available, a
nicer title page can be created as a separate document with the
page numbering off. The SERIES II option is for those printers
which eject paper face down. That is, printing is correctly
collated and does not normally have to be rearranged. This
creates an output order on the first pass which can be taken
directly from the output tray and be inserted without turning or
sorting into the paper tray for correct page printing. Change
this option to "N" if your printer ejects page up -- that is
pages normally would have to be reversed after printing. This
will modify the printing sequence and result in a second pass
output order which is also sorted.

You may also use F1 for HELP and Escape to abort without
printing.  F4 enters the EDITOR section.  For more information
about using the editor see Appendix A.

After entering File, title and default information use F3 to
procede to the default font screen.
*t0s0p17m
DEFAULT FONT OPTIONS͸
                                                                   
                         [ Valid Selections ]͸    
   TYPEFACE: 5              0 = Line Printer                     
   SPACING: 1               3 = Courier                          
   PITCH: 17                4 = Helvetica                        
   HEIGHT: 10               5 = Times Roman                      
   ITALICS: 0               6 = Letter Gothic                    
   WEIGHT: 0                8 = Prestige                         
   LINES PER INCH: 7.2     11 = Presentations                    
   (Lines / Pg: 53)        17 = Optima                           
   MAX CHAR / LINE: 70     18 = ITC Garamond                     
   Wrap? Y                 19 = Cooper Black                     
   ESCAPE CHARACTER: \     20 = Coronet Bold                     
   Soft Font Location:     21 = Broadway                         
   C:\FONTS\**.??L          22 = Bauer Bodoni Blk Cond.           
   Starting Page Num: 1    23 = Century Schoolbook               
                           24 = University Roman                 
                         ;    
                                                                   
      Use arrow keys to edit, F1 function keys, ESC  Continue      
      F3 load soft fonts, F4 to save default options.              
;
*t5s1h10m
If you have never run PAMPHLET (C) before, the default font
should be:

   typeface = 0 (lineprinter)
   spacing  = 0 (fixed)
   pitch    = 17 (characters / inch)
   height   = doesn't matter
   italics  = 0
   weight   = 0
   line length = 70
   line wrap = "Y"
   lines per inch = 9.2
   escape character "\"
   font drive:\directory\mask = C:\FONTS\**.??L

Each of these charactistics may be modified.  As you step
through each field (using <ENTER> or arrow keys), you will see
valid responses for each field appearing in the help box.  You
may modify these entries by using your delete and arrow keys.
Make sure that fields requiring a number entry have a valid
number before returning to the first screen.  The
characteristics noted above are those of the original pamphlet
format and are very good for program listings or documentation
file printouts.  If your text file contains the character "\"
then change the escape character to one which will not appear in
your file (ie "@" or "#" or "|").  The charactistics shown on
screen 2 are those with which the printer will begin printing
your document.

If you have changed these characteristics and wish to make them
default standards, use F4 to create a PAMPHLET.CFG
(configuration) file which will contain the current values.
This file will be automatically loaded when PAMPHLET (C) is run.

You could now use F2 to return to the main screen to begin
printing.

*t4h12w3 Loading Fonts (C)*r

If you wish to use soft fonts, you should explore screen three
first. Make sure the soft font drive:\directory is correct in
screen 2. Use F3 to bring up screen three. You will first be
asked if you want to delete previously loaded fonts. A 'Y'es
answer will send commands to the printer to clear its memory.
This deletion does *u1 not*u0  refer to your disk files! The
third screen will then appear. It will look like:
*f
*t0s0p17m
[ Available Files ]͸
HV08R#R8.SFL   HV12I#R8.SFL   TR10B#R8.SFL   TR12R#R8.SFL      
HV10B#R8.SFL   HV12R#R8.SFL   TR10I#R8.SFL   TR18B#R8.SFL      
HV10I#R8.SFL   HV18B#R8.SFL   TR10R#R8.SFL   TR24B#R8.SFL      
HV10R#R8.SFL   HV24B#R8.SFL   TR12B#R8.SFL                     
HV12B#R8.SFL   TR08R#R8.SFL   TR12I#R8.SFL                     
;
*t5s1h10m
Any landscape font you have in your font directory will be listed
in the box. Move the block cursor to any font you wish to load to
your printer. Touch the space bar to select (or deselect). When
you are finished with your selections, use ENTER to begin font
loading.  Font loading will begin and procede until all selected
fonts are loaded. When loading is completed you will be returned
to screen 2. You may ESCape from screen 3 without loading if
desired.

From screen 2 you can modify your entries, return to screen 3
if you forgot something, or use ESC to return to screen 1.

From screen 1 you may re edit your entries or your file, use F2
to initiate printing or use ESC to forget the whole thing and
return to DOS.

Before going further, a few trial runs are suggested.  Use a
simple text file of 3 or 4 pages in length.  Choose an escape
character (remember default was '\' but you may have changed
it) which does not occur in your text file and print the file
changing a few charactistics.  Try lineprinter mode, 70
characters per line and 9.2 lines per inch for starters.  Leave
the TITLE field blank for these experiments, that will prevent
production of a title page each time.  Change the lines per
inch and try changing the pitch to 10.

*w3 What you will see when the program is printing.*r   The
program makes two passes through the file.  One to parse the
file and determine where to print the pages and the second, the
actual printing.  During the printing, the paper makes two
passes through the printer--one for each side.  Initially, you
will see a page count taking place on the screen.  At the end
of the first pass, you will be notified that printing is
starting and how many sheets (total) will be required for the
document.  Wait until the printer stops.  Follow the
instructions on the screen.  Depending on printer type, you
will be instructed on how to replace the paper in the paper
tray.  When you have replaced the paper, touch the enter key
and wait for printing to be completed.  When finished, you
should have a series of sheets, in order, which can be folded
down the middle, stapled, or hole punched and be read as a
pamphlet.

*t4h12w3 Font Modification*r

Pamphlet (C) allows you to print an any *u1 LANDSCAPE*u0  font you
have available. Through escape commands you are also able to
modify your font while printing is taking place. The Hewlett
Packard LaserJet allows for font selection in a number of
ways. The most versatile, but unfortunately the most
complicated, is the selection of fonts by characteristics.
Pamphlet uses this method because of its versatility. Font
selection by characteristics will allow use of any font in the
printer regardless of location (internal, cartridge, or soft)
without any other information. Pamphlet (C) uses a
modification of HP's escape commands to control your printer.

*t4h12w3 Start with screen 2:*r

First select an escape character which will only rarely appear
in your text.  The '\' will usually work unless you are a C
programmer.  Each time it appears it will signal the program
that the next few characters are information and are not to be
printed.

*t4h12w3 Two main principles:*r

*w3 Fixed spaced fonts are defined with a typeface, spacing =
0, and a pitch.*r  The pitch is inversely proportional to the
size and equals characters per inch. (ie bigger number  =
smaller character).

*w3 Proportional fonts are defined with a typeface, spacing =
1, and a height (point size).*r  Point size is directly related
to character size (ie bigger number = bigger character).

Each time you change from a proportional to a fixed spaced font
or vice versa you MUST pay attention to the above 4
characteristics.   Note that height does not affect fixed
spaced fonts and pitch does not affect proportional fonts.

If you have other fonts available (soft or cartridge), now try
printing your document using one of your fonts.  You should be
in screen 2.  Select a typeface that you have available.  Use
the number corresponding to the help box information.  If it is
a proportional font (see your font literature), the set spacing
= 1.  Use a point size of around 10.  Set the line lenght to
60.  Use ESC to return to screen 1 and F2 to start printing.
See what you get.  Line length will most likely need to be
limited in your document to around 60 in order not to lose
characters or to wrap.  Use a preliminary run to see how to
configure your document.

*t4h12w3 Escape sequenced font modification*r

The last step.  By using escape sequenced font modification, you will
be able to create very eye catching, professionally printed appearing
pamphlets.

The escape sequence is triggered by the escape character you select in
screen two.  *w3 All subsequent command characters must be together
(no spaces) and must END with a space.*r  The following commands may
be used:

     t,T - typeface
     s,S - spacing (0 = fixed, 1 = proportional)
     h,H - height (point size)
     p,P - pitch
     w,W - weight (0 = normal, 3 = bold)
     i,I - Italics (0 = off, 1 = on)
     r,R - Restore default values, turn off underline
     m,M - Make current string default (use at end of command)
     u,U - underline (1 = Start / 0 = end)
     f,F - Form Feed (force a new page)
     l,L - Line length for wrapping or stripping.

