home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 31
/
CDASC_31_1996_juillet_aout.iso
/
vrac
/
p821_26a.zip
/
P821.DOC
< prev
next >
Wrap
Text File
|
1996-04-04
|
11KB
|
257 lines
╔═════════════════════════════════════════════════╗
║ ║
║ ║
║ ███████┐ ▓▓▓▓▓▓┐ ▒▒▒▒▒┐ ░░┐ ║
║ └─██│ ██┐ ▓▓┌───▓▓┐ ▒▒┌──▒▒┐ ░░░│ ║
║ ██│ ██│ ▓▓│ ▓▓│ └─┘ ▒▒│ ░░░░│ ║
║ ██│ ██│ ▓▓│ ▓▓│ ▒▒┌┘ └─░░│ ║
║ █████┌┘ └▓▓▓▓▓▓┌┘ ▒▒┌┘ ░░│ ║
║ ██┌──┘ ▓▓┌───▓▓┐ ▒▒┌┘ ░░│ ║
║ ██│ ▓▓│ ▓▓│ ▒▒┌┘ ░░│ ║
║ ██│ ▓▓│ ▓▓│ ▒▒┌┘ ▒▒┐ ░░│ ║
║ █████┐ └▓▓▓▓▓▓┌┘ ▒▒▒▒▒▒▒│ ░░░░░░┐ ║
║ └────┘ └─────┘ └──────┘ └─────┘ ║
║ ║
╠═════════════════════════════════════════════════╣
║ ║
║ =---> Print Eight To One <---= ║
║ ║
║ V2.6 at 03-16-96 ║
║ ║
║ Copyright (c) '93,'94,'95,'96 by JäCOM ║
║ ║
╚═════════════════════════════════════════════════╝
■ Text formatter for virtually any model of the HP-DeskJet
series, HP-LaserJet 4 and compatibles.
■ IDEAL for large docs, program listings, etc. Reduces to ¼
the number of sheets required in single face mode, and
halve it again using the double face mode.
■ Prints FOUR pages with 66 lines on ONE sheet in single
face mode. Double face mode uses both faces of each sheet
and prints EIGHT pages on one.
■ Leaves a binding offset on each page.
■ Optionally prints in reverse order to avoid manually
sorting.
■ Supports two columns with 132 lines. Useful for long
listings.
■ Supports 160 characters per line. Useful for wide
listings.
■ Supports optional line numbering while keeping 80 chars
per line.
■ Supports two subpages with 66 lines in landscape mode.
■ Lines containing more than 80 chars will be wrapped
automatically; line numbering is still done correctly if
activated.
■ User may split or redo jobs by selecting start and end sheet.
■ Supplemental mode printing 66 lines in the default font.
■ Supports US Letter and DIN A4 media.
-1-
╔════════════╗
║ Using P821 ║
╚════════════╝
■ The command line syntax is:
p821 options in_file [in_file]...
■ Replace in_file by the name of the file(s) you want to print;
if you like, you may include a path or even use wildcards
in the name. Though DOS is case-insensitive, P821 puts the
file name to the sheet header in the case you entered it. So
you can apply e.g. ReadMe.TXT. See option /h, too.
■ In normal case, P821 will route the output to the standard
printer port, but it may be redirected by use of the
/o-option. Note: The PRN: device should be configured by
the command 'MODE PRN: RETRY=R'
■ Options (you may put options in a file P821.CFG located in
current directory or the directory of the executable)
/o suppress output. You can use this option to determine the
number of sheets you'll need.
/o* redirect output to in_file.HPD (HP{L|R}, if /{l,r} is used).
/oout_file redirects output to out_file or an other device (,e.g. /oLPT2).
/4 prints 4 subpages with 66 lines of 80 chars. The ┌──────────┐
subpages will be filled in abcd order. The form │∙╒══─╦──═╕│
feed character (Ctrl-L≡CHR(12)) begins a new sub- │:│ a ║ b ││
page; if this occurs on subpage d, a new sheet will │ ╞═══╬═══╡│
be fed. The horizontal tab character (Ctrl-I≡CHR(9))│:│ c ║ d ││
causes an adjustable tabulation. The backspace char │∙└───╨───┘│
(Ctrl-H≡CHR(8)) is passed to the printer. All the └──────────┘
other control characters except CRLF are represented
by the corresponding symbol of the IBM char set
(printer codepage PC-8).
/4' like /4, but subpages b and c are exchanged. ┌──────────┐
│∙╒══─╦──═╕│
/2 prints 2 columns with 132 lines of 80 chars. Row a │:│ ║ ││
will be completed before beginning row b. Form feed │ │ a ║ b ││
(Ctrl-L≡CHR(12)) is ignored in this mode. See /4 │:│ ║ ││
for more details. │∙└───╨───┘│
└──────────┘
/w print 132 lines with 160 chars. Form feed (Ctrl-L ┌──────────┐
≡CHR(12)) is ignored. Other features as above. │∙╒══─═──═╕│
│:│ ││
/1 prints 66 lines with 80 chars. The ordinary font │ │ a ││
size will be used. Form feed feeds a new sheet. │:│ ││
Other features as above. │∙└───────┘│
└──────────┘
/d prints 2 subpages with 66 lines of 80 chars in ┌──────────┐
landscape mode. Numbering option mentioned down │∙╓───────┐│
isn't supported here. Other features like /4. │:│ b ││
│ ╠═══════╡│
│:│ a ││
│∙╙───────┘│
└──────────┘
-2-
/m minimizes the printed space on the last sheet. If ┌──────────┐
you use the /4 option the subpages c and d will be │∙╒══─╦──═╕│
omitted if they are empty. With the /2 option the │:│ a ║ b ││
two rows will only be as long as necessary. This │ └───╨───┘│
option has no effect on /1 or /d. │: │
│∙ │
└──────────┘
/r only prints the odd-numbered sheets, i.e. the right ┌──────────┐
(front) faces. This is convenient for double face │∙╒══─═─══╕│
mode. If the output is dumped into a file the │:│ ││
extension HPR will be added. │ │ [1] ││
│:│ ││
│∙└───────┘│
└──────────┘
/l only prints the even-numbered sheets, i.e. the left ┌──────────┐
(back) faces. Analogous to the /r option. In case of│╒══─═─══╕∙│
file dumping HPL will be added to out_file. ││ │:│
││ [2] │ │
││ │:│
│└───────┘∙│
└──────────┘
/z prints sheets in reverse order. The last sheet will ┌──────────┐
be printed first, so you don't have to rearrange the┌──────────┐
paper stack afterwards. ┌──────────┐
│∙╒══─═─══╕│
!! It is recommended to print the back sides using /l │:│ ││
!! first for double face mode. Afterwards you have to │ │ [1] ││
!! turn the entire paper stack and put it back into the│:│ ││
!! sheet feeder; you did it if you can read the text. │∙└───────┘│
!! (Look at the picture for for further information └──────────┘
!! It shows a stack of 3 sheets right after printing. ┌──────────┐
!! Turn it and you'll recognize the page 6). Now you │∙┌───────┐│
!! Now you can print the top faces applying the /rz │:│ ┌─> ┐ ││
!! option. You can simplify this procedure by using │ │ │[9]│ ││
!! P821Book.BAT. │:│ └ <─┘ ││
!! NOTE: If the total number of sheets is odd and an │∙╘══─═─══╛│
!! empty sheet will be put out after printing the left └──────────┘
!! pages. Don't remove it before reinserting the stack!└──────────┘
!! NOTE: Don't turn paper if landscape mode is used! └──────────┘
/b# starts printing on sheet #.
/e# stops printing on sheet #.
/n invokes line numbering. To maintain readability, only
every tenth line is numbered but every fifth line is
marked by '5'. All the other lines get '∙' as a symbol,
truncated lines are marked with '='. The first line of a
sheet or subpage is always numbered.
/q# controls printer type, printing quality and bidirectional
printing. Use 0..3 for DJ, 4 for LJ4 only. 0 is bidirectional
draft mode, 1 unidirectional draft, 2 bidirectional LQ
(default), 3 unidirectional LQ. 4 adjusts output for LJ4.
/i# use media source # on LJ, e.g. use /i2 for manual feeder.
/h"*" the string * is used as the sheet header instead of
the in_file name.
/a ANSI-OEM conversion. For printing plain text files with
ANSI codeset.
-3-
/t# define tab size. TAB moves cursor to multiples of #.
Default is 8.
/s keep silent after finishing the print job.
/u use US Letter (8½"x11") media instead of DIN A4.
/v include a file version stamp (date, time and size) onto
the file headline
╔══════════════════════╗
║ User's Permissions ║
╚══════════════════════╝
■ The program is herewith declared as *MAILWARE*.
■ You can use P821 freely for any kind of print jobs
but any changes are prohibited.
■ You may freely distribute this program but you have
to give away the entire archive.
┌─────────────────────────────────────────────────────────┐
│╔═══════════════════════════════════════════════════════╗│
│║ ║│
│║ If you like this program, *>PLEASE<* send me a ║│
│║ picture postcard and/or an electronic mail! ║│
│║ ║│
│╚═══════════════════════════════════════════════════════╝│
│ │
│ JäCOM │
│ Guido Jäkel │
│ Am Heidekotten 8 │
│ 49086 Osnabrück │
│ Germany │
│ Voice +49-541-387334 │
│ │
│ mailto:Guido.Jaekel@Physik.Uni-Osnabrueck.DE │
│ http://www.physik.uni-osnabrueck.de/~gjaekel/ │
└─────────────────────────────────────────────────────────┘
PS : Of course, you can also send me a letter and add an
arbitrary amount of money. But don't exceed a limit
of about $999.
PPS : You can skip the introducing logo by clearing the
archive bit of P821.EXE. (You read all up here?!)
-- Special Thanks for hints [and porting] to: --
Joachim Höhne (jockel89@dosuni1.bitnet) [ATARI]
Andreas Tenhagen (tenhaga@math.uni-muenster.de)
Frank Winkler (frank.winkler@informatik.uni-karlsruhe.de) [engl.]
Daniel J. Neades (djn@arac.demon.co.uk) [native engl.]
Brian Hassard (mthbdh@ubvms.cc.buffalo.edu) [US media]
Erhard Hilbig (zahilb@hrz.nw.uni-parderborn.de) BS bug
Raivo Kilg (raivo@anal.chem.uva.nl) media source selection
Bill Parker (parker@uselss.enet.dec.com) wide listings
Styve Ethier (eths1306@ele.etsmtl.ca) landscape
Vittorio Ponzoni (ponzoni@verdi.eng.unipr.it) {esp. from my father}
John 'CT6199' Ho (sg7399032@ntuvax.ntu.ac.sg) V2.6 beta testing
-- and greetings to more than *90* others not mentioned here --
-4-