[comp.sources.amiga] v91i054: Print 1.5a - configurable print command, Part02/03

amiga-request@ab20.larc.nasa.gov (Amiga Sources/Binaries Moderator) (03/14/91)

Submitted-by: hoover@math4.uni-bielefeld.de (Uwe Sch"urkamp)
Posting-number: Volume 91, Issue 054
Archive-name: utilities/print-1.5a/part02

#!/bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of archive 2 (of 3)."
# Contents:  deutsch.doc.uu print.doc
# Wrapped by tadguy@ab20 on Wed Mar 13 19:34:42 1991
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'deutsch.doc.uu' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'deutsch.doc.uu'\"
else
echo shar: Extracting \"'deutsch.doc.uu'\" \(19514 characters\)
sed "s/^X//" >'deutsch.doc.uu' <<'END_OF_FILE'
Xbegin 666 deutsch.doc
XM*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJB
XM*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BH*("`@("`@("`@("`@("`@L
XM("`@(%`@4B!)($X@5"`@($0@3R!+(%4@32!%($X@5"!!(%0@22!/($X*("`@Y
XM("`@("`@("`@("`@("`@("`@("`@(%8@12!2(%,@22!/($X@("`@("`Q("X@%
XM-2!!(`HJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ0
XM*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*@H*,2!705)532!.S
XM3T-(($5)3B!$4E5#2U!23T=204U-/PH)5&IA+"`@(&=U=&4@("!&<F%G92$@,
XM("!.873\<FQI8V@@('-I;F0@(&1E<GIE:70@(&5I;F4@($UE;F=E("!0<F]G[
XM<F%M;64*97)HY&QT;&EC:"P@9&EE(&1E;2!G96YE:6=T96X@0F5N=71Z97(@X
XM9&%S($)L875E('9O;2!(:6UM96P@=F5R<W!R96-H96X@=6YD"F1A;FX@(&1O9
XM8V@@(&5H97(@('=E;FEG97(@(&AA;'1E;BX@("!497AT+41R=6-K<')O9W)A`
XM;6UE("!G:6)T("!E<R!I;B!A;&QE;@I687)I871I;VYE;CH@("!!;',@($AA-
XM;F1L97(L("!$979I8V5S(&]D97(@Y&AN;&EC:"!K;VUP;&EZ:65R=&4@1V5BU
XM:6QD92P@:6X*9W+VWV5R96X@(%!R;V=R86UM96X@(&5I;F=E8G5N9&5N('5N"
XM9"!H87-T($1U(&YI8V@@9V5S96AN+BXN("!U;F0@=')O='H@9&5R"E9I96QZ,
XM86AL("!D97(@86YG96)O=&5N96X@4')O9W)A;6UE(&%U8V@@:6T@4$0M(&]DK
XM97(@1G)E95=A<F4M4V5K=&]R(&MO;FYT90IK96EN<R`@;65I;F4@($%N<W!R2
XM_&-H92`@=6YD("!"963\<F9N:7-S92!V;VQL(&)E9G)I961I9V5N("A0<FEN&
XM="!K86YN(&1I97,*_&)R:6=E;G,@875C:"!N:6-H="`Z+2DN+BX*"@E!;'-O.
XM("!B97-C:&QOWR`@:6-H("!E:6YE<R`@<V-H]FYE;B`@5&%G97,L("!M96EN%
XM("!E:6=E;F5S("!0<F]G<F%M;2`@>G4*<V-H<F5I8F5N+B`@($EC:"!HY'1T'
XM92!N:6-H="!G961A8VAT+"!D8=\@<V\@96EN($UO;G-T97(@9&%B96D@:&5R5
XM875S:V]M;70L"F%B97(@('-O("!I<W0@(&1A<R`@:F$@(&UE:7-T96YS+B`@,
XM($1A9OQR("!I<W0@(%!R:6YT(&EM($UO;65N="!D87,@96EN>FEG90I0<F]G!
XM<F%M;2P@(&1AWR`@96EN96T@9&5U='-C:&5N($%M:6=A+4)E<VET>F5R(&=L5
XM96EC:'IE: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T(&EM(%5M9V%N1
XM9R!M:70@86YD97)E;B!$<G5C:V5R;@IV97)HY&QT+"!D82!I8V@@;F]C:"!KG
XM96EN92!'96QE9V5N:&5I="!H871T92P@4')I;G0@875F(&5I;F5M(&%N9&5RE
XM96X@1V5RY'0*>G4@=&5S=&5N+@H*"4%UWV5R9&5M("!W97)D96X@(&UO;65NC
XM=&%N(&YO8V@@;FEC:'0@86QL92!V;VX@9&5R(%1A<W1A='5R(&5R<F5I8VABI
XM87)E;@I:96EC:&5N(&EN<R!)0DT@1F]R;6%T(/QB97)S971Z="P@86)E<B!WM
XM:7(@87)B96ET96X@9&%R86XA"@I396AR("!S96QT96X@(&MO;6UT("!E<R`@]
XM>G4@($%B<W3\<GIE;B!B96D@4W!E:6-H97)K;F%P<&AE:70N("!$:65S92!&9
XM96AL97(*=V%R96X@(&%B97(@(&MO;6ES8VAE<G=E:7-E("!N:64@<F5P<F]D;
XM=7II97)B87(N("!"96AE8G5N9SH@($)E:2!!=69R=68@=F]N"F1E<B!7;W)K`
XM8F5N8V@@:6T@26YF;RU-96[\(&1I92!3=&%C:V=R]M]E(&AO8VAS971Z96XAB
XM"@HT(%=)12!"14Y55%I%($E#2"!04DE.5#\*(`E0<FEN="!W:7)D('9O;2!#5
XM3$D@875S(&1U<F-H(&5I;F4@2V]M;6%N9&]Z96EL92!D97(@1F]R;0H*"0DQ*
XM/B!0<FEN="![3W!T:6]N96Y](%M38VAA;'1E<ET@1&%T96DQ("XN+B!$871E=
XM:3(P"@IA=69G97)U9F5N+B`@($IE9&5R("!087)A;65T97(L("!D97(@(&YI>
XM8VAT("!M:70@(&5I;F5M("<M)R`H36EN=7,M>F5I8VAE;BD*8F5G:6YN="P@_
XM=VER9"!A;',@>G4@9')U8VME;F1E($1A=&5I(&EN=&5R<')E=&EE<G0N("!/O
XM<'1I;VYE;BP@4V-H86QT97(@=6YD"D1A=&5I;F%M96X@(&QA<W-E;B`@<VECK
XM:"`@8F5L:65B:6<@(&UI<V-H96XN("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@96EN92`@9V%N>B`@;F]R;6%L92`@07-C:6DM1&%T96DL(&1I92!M:70@X
XM96EN96T@161I=&]R(&5R<W1E;&QT('=E<F1E;@IK86YN+B`@4VEE(&)E<W1E]
XM:'0@875S(%IE:6QE;B!D97(@1F]R;0H*("`@2&5X0GET93$@2&5X0GET93(@D
XM2&5X0GET93,@2&5X0GET930@2&5X0GET934@2V]M;6%N9&]W;W)T"@I$:65S"
XM92!&;W)M($U5WR!U;F)E9&EN9W0@96EN9V5H86QT96X@=V5R9&5N+"!D82!DX
XM87,@16EN;&5S96X@9&5R(%=E<G1E(/QB97(*9G-C86YF*"D@("!E<F9O;&=T=
XM+B`@("!$:65S92`@1G5N:W1I;VX@('9E<FCD;'0@('-I8V@@('-E;'1S86UED
XM<B`@86QS("!D97(*0G5N9&5S:V%N>FQE<BP@=V5N;B!S:64@;FEC:'0@9FEN'
XM9&5T+"!W87,@<VEE(&5R=V%R=&5T+BXN"@I$:64@9OQN9B!">71E<R!B96ENN
XM:&%L=&5N(&1I92!$<G5C:V5R+5-T975E<G-E<75E;GHL(&1A<R!+;VUM86YD9
XM;W=O<G0@9&EE;G0*4')I;G0@(&%L<R`@4V-H;/QS<V5L+"`@=V5L8VAE<B`@9
XM0F5F96AL(&5I;F=E;&5S96X@=VER9"`H9&%H97(@:7-T(&%U8V@@9&EE"E)EK
XM:6AE;F9O;&=E(&1E<B!+;VUM86YD;V1E9FEN:71I;VYE;B!I;B!D97(@1&%TI
XM96D@8F5L:65B:6<I+@H*17,@(&W\<W-E;B`@=6YB961I;F=T("!F_&YF($)YW
XM=&5S(&%N9V5G96)E;B!W97)D96XA("!"96ES<&EE;#H@($%N9V5N;VUM96XLF
XM"F1I92!397%U96YZ('IU;2!3971Z96X@9&5R(%-E:71E;FSD;F=E(&)E<W1E\
XM:'0@875S(&1E;B!B96ED96X@0GET97,@)#%B('5N9`HD-#,N("!5;2!0<FEN&
XM="!D:65S(&UI='IU=&5I;&5N+"!V97)W96YD970@;6%N(&1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')U8VL@96EN"@DB;&]U9"()"0D)"2TM+2!6;VQL92!$<G5C4
XM:V=E<V-H=VEN9&EG:V5I="!E:6X*"2)R97-E='!R:6YT97(B"0D)+2TM($1RV
XM=6-K97(M4F5S970*"2)C:&%N9V5C:&%R=7-A(@D)+2TM(%IE:6-H96YS871ZO
XM('5M<V-H86QT96X*"2)C:&%N9V5C:&%R;W1H97(B"0DM+2T@("`B"0D)"2(*\
XM"2)S970V;'!I(@D)"0DM+2T@-B!:96EL96X@<')O(%IO;&P@<V5T>F5N"@D)C
XM"EIU("!B96%C:'1E;B`@:7-T+"`@9&'?("!D:64@0F5F96AL92!N=7(@:6X@\
XM2VQE:6YB=6-H<W1A8F5N(&5R:V%N;G0@=V5R9&5N(0I.;V-H("!E:6X@('!A*
XM87(@($)E:7-P:65L92`@=6YD("!(:6YW96ES93H@($5U97(@1')U8VME<B!KN
XM86YN('HN("!"+B`@;FEC:'0*<OQC:W?D<G1S("!D<G5C:V5N+B`@(%!R:6YT,
XM("!B96YU='IT("!F_'(@(&1I92`@0F5F96AL92P@9&EE($Y)0TA4(/QB97(@&
XM9&EE"D)E9F5H;&1A=&5I("!G97-E='IT("!W97)D96XL("!D:64@3D5#+5-E-
XM<75E;GIE;BP@=V%S(&UA;F-H;6%L('IU('-E;'1S86UE;@I:96EC:&5N("!IR
XM;2`@075S9')U8VL@9OQH<F5N(&MA;FXN("!5;2!D:65S92!397%U96YZ96X@^
XM86QS;R!Z=2!E;G1S8VCD<F9E;BP*<V5T>G0@:6AR(&5I;F9A8V@@9&EE(%IED
XM:6QE"@H)9F8@,#`@,#`@,#`@,#`@;F5G;&EN969E960*"G5N9"`@97)H86QT4
XM970@('-O("!K96EN92!S96QT<V%M96X@6F5I8VAE;BP@9&$@4')I;G0@86QSW
XM(&5R<W1E<R!:96EC:&5N(&1A<PI"969E:&QS96YD>F5I8VAE;B`@)&9F("!LP
XM:65S="`@=6YD("!D86YN('-O9F]R="!A8F)R:6-H="X@($5S(&ES="!A=68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B96QI96)I9R`@875F("!D96T@(%-C<F5E;B`@:&5R=6UZ97)R'
XM96X@:V%N;BX@(%5M(%!R:6YT('=I961E<B!N86-H('9O<FX@>G4*:&]L96XL2
XM("!G96[\9W0@(&5I;B`@1&]P<&5L:VQI8VL@875F(&1A<R!)8V]N("A$:64@6
XM:6-O;FEF>2@I+5)O=71I;F4@:7-T(%!$"G5N9"`@=F]N($QE;R!38VAW86(@U
XM9V5S8VAR:65B96X@*&1E;2!-96ES=&5R('!E<G/V;FQI8V@A*2DN("!*961EM
XM<B!K86YN('-I90II;B!S96EN96X@4')O9W)A;6UE;B!E:6YS971Z96XN"@I-:
XM86X@:V%N;B!D87,@4')I;G0M1F5N<W1E<B!A=6-H('9O;2!#3$D@875S(&5RK
XM<F5I8VAE;BP@:6YD96T@;6%N(&5I;F9A8V@*"0DQ/B!0<FEN=`IO:&YE(%!A^
XM<F%M971E<B!A=69R=69T+@H*.2!$244@4D5#2%1,24-(12!314E410H)4')I-
XM;G0@(&ES="`H8RD@2&]O=F5R4V]F="`Q.3DP+B`@06QL92!296-H=&4@86T@=
XM4')O9W)A;6T@=F5R8FQE:6)E;B!B96EM"D%U=&]R+"!5=V4@(DAO;W9E<B(@)
XM4V-H_')K86UP+B`@1&%S(%!R;V=R86UM(&1A<F8@;G5R('IU(&YI8VAT:V]M>
XM;65R>FEE;&QE;@I:=V5C:V5N("!U;F0@(&YU<B`@:6T@('5N=F5RY&YD97)T[
XM96X@(%IO;RU!<F-H:78@=V5I=&5R9V5G96)E;B!W97)D96XN("!$96X*1FERG
XM;65N("!35$5&04X@3U-33U=32TD@=6YD(%=/3$8@0T]-4%5415)414-(3DE+W
XM(&ES="!J96=L:6-H97(@5F5R=')I96(@=F]N"E!R:6YT("!O9&5R("!V;VX@'
XM(&UI="`@4')I;G0@(&%S<V]Z:6EE<G1E;B`@1&%T96EE;B!A=7-D<OQC:VQIO
XM8V@@54Y415)304=4+@I%<FQA=6)T("!I<W0@(&%U<V1R_&-K;&EC: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96QE9F5L9"YD92!\"GPM+2TM+2TM+2TM+2TM+2TM+2TMX
XM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TM+2TMI
XM+2TM+2TM+2TM+2U\"B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(BU
XM(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(B(BZ
X!"B(B.
X``
Xend
Xsize 13906
END_OF_FILE
if test 19514 -ne `wc -c <'deutsch.doc.uu'`; then
    echo shar: \"'deutsch.doc.uu'\" unpacked with wrong size!
fi
# end of 'deutsch.doc.uu'
fi
if test -f 'print.doc' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'print.doc'\"
else
echo shar: Extracting \"'print.doc'\" \(19622 characters\)
sed "s/^X//" >'print.doc' <<'END_OF_FILE'
X**************************************************************************
X                   P R I N T   D O C U M E N T A T I O N
X                          V E R S I O N    1 . 5A
X**************************************************************************
X
X1 WHY DID I WRITE PRINT?
X	Well,  this  might  be considered an intelligent question if you look at
Xthe  thousands of different printer drivers, handlers and the like that are
Xavailable in the public domain today.  Well, none of them could truly solve
Xhalf  of my printing problems, so I decided to write my own.  I didn't want
Xit  to  be  one  of  these fancy handler-style, deep-into-dos-an'-exec-like
Xprograms  (I'm  not  a  capacity  in this area anyway), it should just be a
Xrelatively small and easy to handle & comprehend CLI program.
X
X	What  also  kinda'  p..   me off was the fact that no program was really
Xinterested  in  what  I had set via preferences, nor did the printer behave
Xproperly  in  the  handling of German characters or braces and parenthesis.
XThere  stood  this  fantastic piece of hardware (a P6+ in my special case),
Xconnected  to  an even more fantastic computer, and I should not get what I
Xwanted?   So  I  sat down and coded this thinging of which you are just now
Xreading the docs.
X
X2 WHAT PRINT DOES
X	Print  lets  you  sort  of completely specify the output of your printer
Xwithout  having  to enter and change preferences every two minutes or so or
Xhaving  to  break  your fingers to get to the dip switches of your printer.
XPrint  will  handle  special German umlauts correctly and map them to their
Xproper  values as well as intercept the thousands of form feeds that mainly
Xutility programmers love to put into their text files :-)
X
X	In  addition  Print will allow you to change type size and print quality
Xof your printer and lots of other neat things.
X
X	As  far  as  I  know Print is the first program for the Amiga which gets
XGerman users both Umlauts AND brackets in one go without using the graphics
Xmode.  If I'm wrong, please tell me so I can shoot myself...
X
X3 RESTRICTIONS & KNOWN BUGS
X	Sorry   for   all   those   scientists   among  you  who  enjoy  reading
Xbroken-up-in-half  lines of text on ripped perforations.  I set the default
Xto skip this piece of paper...
X
X	Print  has never been tested on any other printer than my NEC.  It might
Xhappen that errors come up if the command set is loaded by scan_file().  If
Xthey do, please let me know.
X
X	When  using  different  printer fonts than the IBM (yuck!) one, problems
Xmight come up when characters are mapped.
X
X	In  addition,  Print does not currently map the whole IBM font correctly
Xto  the Amiga's keymap, but this should not really pose a problem if you're
Xnot trying to print ANSI files :-)
X
XPrint needs both the arp.library and the req.library.
X
X4 HOW TO USE PRINT
X	Print is called from the CLI with the command line
X
X		1> Print [options] {switches} file1 ... file20
X
Xyou  can  mix  up options, switches and file names to your heart's content.
XPrint  will  consider  everything  not beginning in a '-' (minus sign) as a
Xname  of  a  file to be processed.  VERY IMPORTANT:  You MUST leave a space
Xbetween  an  option  and  its argument.  If you fail to comply to this rule
XPrint  will  just  ignore  the  value  and  assume the default value of the
Xcertain  option.   'Print -p 45 myfile' would be a valid command line which
Xwould set the pagelength to 45 lines of text, for instance.
X
X	Another nice feature:  if you don't give a filename Print will just send
Xthe specified options and switches to the printer.  This means you are able
Xto  adjust  your  printer  without having to touch it.  Make sure that your
Xprinter is online when you use Print this way, otherwise Print won't return
Xuntil is is able to write the commands to the printer, e.g.  the printer is
Xonline.
X
X
X5 OPTIONS AND SWITCHES
X	Remember, online help is available at any time by typing
X
X			Print h
X
Xto  the  CLI  prompt.   Print will then give you a brief description of the
Xcommands and switches it knows about.
X
X6 LIST OF OPTIONS
X	Options  are  commands  which  require an argument to be supplied by the
Xuser.   In  order  not to have to type tons of numbers to the program, I've
Xtried  to  keep  the  numbers  of  options  small or at least set them to a
Xsensible  default  value.   Over  here  in Germany, most people use fanfold
Xpaper  for  example,  which will take 72 lines of output without a problem,
Xand  due  to  the fact that I initially wrote this program for ME :-) i set
Xmost  of  the  default values in such a manner that the result would please
Xme.  Should your wishes totally diverge from mine, go and write yourself an
Xalias which automatically inserts your favourite options and switches.
X
X	-f file	Read printer command sequences from file. See following sections
X			for more details.
X
X	-i		This number will determine the number of blanks that
X			Print puts in front of each line. The range of this
X			value is 1 to 30, the default is 8 spaces.
X
X	-l		The value given after this option sets the number of
X			lines on each page. Note that this value is not the 
X			amount of lines actually written out. Some space
X			is kept on top and at the bottom of a page for the
X			optional footline. The range is 2 to 100 lines per page,
X			the default value is 72.
X
X	-t		The argument given to this option will determine how
X			many spaces are written to the printer for each tab.
X			This is a very neat option which will make your 
X			printouts look really nice! The range is 1--16 spaces
X			per tab, the default being 3.
X
X	-u		This is for all you users who insist on using a different
X			national char set than the USA default setting. Print is
X			programmed in such a way that the mapping of chars will
X			only work properly if the printer is in USA mode. As there 
X			is no known means of getting the printer's default char set
X			you use, this is the place to put the char set number. When
X			printing of  the last file is finished, Print will tell the
X			printer to switch back to the specified char set.
X			The range of this value according to NEC specs is 0--14,
X			with Print's value defaulting to 2 (German char set). Omitting
X			this options might cause strange results when printing 
X			listings with lots of parenthesis and the like.
X			To find out which number your char set is just take a look
X			at the printer manual.
X	
X	-o		This option tells Print that the print head is not exactly
X			at the beginning of the paper (i.e., the perforation) but is 
X			offset by n millimeters. I chose this unit because it allows
X			the use of integer arithmetic, and I don't wanted Print to
X			get blown up by the floating point library. The option 
X			"-o 60" would tell Print that the paper is 60 mm further down
X			(or up, rather) the drain than normal. The range of this value
X			is from 0 to 300 millimeters. If Print fails to convert your
X			given parameter, the default value of 62 mm is used (in the
X			case of the P6+ the distance from the print ruler to the
X			rim of the back top plastic cover).
X			Note that Print bases it calculations on the 6 LPI setting!
X
X6.1 THE PRINTER COMMAND FILE
X	If you're not lucky enough to own a NEC, you can use the command file to
Xchange  the  programs command table.  Each line in this file (which you can
Xcreate  using  your  favourite  editor)  must  consist  of  five  hex bytes
Xseparated  by  spaces  or tabs and a string at the end denoting the printer
Xcommand to be set.  For example, the line
X
X	1c 48 ff 00 00 tencpi
X
Xwould  tell Print that your printers command for switching to 10 CPI is "1c
X48".   The  byte "ff" is used to indicate the end of the command.  Not that
Xeven  though  the  above  command is only two bytes long you MUST give five
Xbytes in the line.  This is due to the fact that the array is five bytes in
Xlength  to  provide storage for veeeryy long commands too.  Apart from that
Xthe  scanning  of  the  command  file  is  still done via fscanf() (yuck!!)
Xbecause I was once again too lazy to think of any other way, and especially
Xprogrammers  know that this routine behaves funnier than your mother in law
Xif it does not get what it expects :-)
X
XAnother example: The command file line 
X
X	1b 43 ff 00 00 lperpage
X
Xis  the  command  to  set  the  pagelengh  to  n  lines  according  to  the
Xmanufacturers specs.  Note that the two "00"'s are used as padding bytes to
Xmake total byte number add up to five.  When Print sends the command to set
Xa certain page length to the printer, it will scan the command table, write
Xthe  bytes it finds to "PAR:" until it encounters the "ff", telling it that
Xthis is the end of the command.  If the command requires an argument, Print
Xwill send the argument directly afterwards to the printer.
X
X	Here  is  list  of the commands the parser (hmm, well, a simple parser!)
Xunderstands:
X
X	"tencpi"					---	switch to 10 CPI
X	"twelvecpi"				--- 	"       " 12 CPI
X	"fiftcpi"				--- 	"       " 15 CPI
X	"setquality"			---	switch to NLQ
X	"setdraft"				---	switch to High Speed Draft
X	"neglinefeed"			---   perform a negative line feed
X	"loudness"				---	full speed printing
X	"quiet"					--- 	half speed printing
X	"resetprinter"			---	full printer reset
X	"changecharusa"		---   switch to USA char set
X	"changecharother"		---   switch to other than USA set
X	"set8lpi"				---   switch to 8LPI
X	"set6lpi"				---   switch to 6LPI
X	"underline"				---   set underline for file name & date
X
XIf you don't name all of these commands in the command file, Print will use
Xthe default NEC settings for the undefined ones.  This might result in some
Xfunny  characters appearing in your printout.  To get rid of these just set
Xthe  sequences  to harmless spaces (0x20) which end in the command end byte
X"ff"  or  don't use them via command line switches.  If your printer is not
Xcapable of, say, quiet printing, use the command file line
X
X	ff 00 00 00 00 quiet 
X
Xto prevent the appearance of funny escape characters.
X
X	The command file line
X
X	20 20 20 20 ff underline
X
Xwould convert the underline command to four harmless spaces.
X
X	Oh, I forgot: ALL COMMANDS MUST CONSIST OF LOWER CASE CHARACTERS.
X 
X7 LIST OF SWITCHES
X	Switches don't take an argument. Put them anywhere you like!
X
X	-B		Selects the "BIG" 10 cpi font.
X	-M		   "     "  "MEDIUM" 12cpi font (DEFAULT)
X	-S			"     "  "SMALL"  15cpi font.
X
X	-F		if given, the first line of the printout will be the
X			name of the file. The default is not to print the filenames.
X			Also prints the date.
X
X	-P		turns on the pagenumbering. The counter will be reset to 1
X			after each file printed. (Default is off)
X
X	-Q		this switch selects near letter quality mode of the PinWriter.
X			This is also the default print mode (we want our listings
X			to look nice, don't we?).
X
X	-D		selects the draft mode (fast, but ugly, yuck!). For those
X			among you who are always in a terrible hurry.
X
X	-N		selects quiet (half speed) print mode.
X
X	-R		Inhibits resetting the printer after last file. This is for
X			people who trust this program!
X
X	-T		If you do not want incoming characters to be mapped to their
X			IBM char set equivalents, use this option.
X
X	-8		Causes Print to use the 8LPI jammed print mode. 
X
XNote that the program discriminates between upper and lower case letters!
X
X7.1	CALLING PRINT FROM THE WORKBENCH
X	To  call Print from the Workbench double-click on its icon.  At the time
Xthis  is  written it's not clear wether I'll include the parameter passing.
XThe current version however will not accept passed parameters.
X
XUsing  Print  on  the  Workbench  is a pretty straight forward job:  If you
Xdoubleclick the icon or type
X
X	1> Print15a
X
Xto  the  CLI  prompt,  print will open up a window on the Workbench screen.
XThe  functions  of Print are then controlled via the various gadgets.  Note
Xthat  not all options and switches of Print are usable from this window.  I
Xintroduced  this  facility  to provide a shortcut invocation of Print for a
Xfast  print  job  where  you  don't have to set options like page length or
Xalternate national printer char set.
X
X	The  rest  is quite self-explanatory stuff, really.  If you click around
Xthe  gadgets a bit you'll notice which values you can use from this window.
XTo  print  a  file, enter your favourite settings and then click the "Print
XFile"  gadget.  This will bring up the famous ARP file requester which lets
Xyou  select  the  filename.   When done, click the requester's "OK" gadget.
XPrint  will  then start the print job and change the print gadget's text to
X"Please wait" until it is ready to take on the next job.
X
X	Print  also  lets you use the values that were set with Preferences, and
Xnow  you  can  even  be  sure that the values will actually be used for the
Xprintout  :-) Click on the "prefs" gadget to the right of the "info" gadget
Xto load the preferences settings.
X
X	Click  on  the  "info"  gadget  in  the  upper  right  hand corner to get
Xinformation on the legal stuff.
X
X	If  you don't need Print and want the clumsy window out of the way for a
Xwhile,  just  click  the  "Have a nap" gadget.  Print will then iconify its
Xwindow  and  reduce  the  priority of its task to -10 to avoid blocking the
Xsystem  (of course WaitPort is used to wait for messages!).  Doubleclicking
Xthe icon will reopen Print's window and restore priority to 0.
X
X   The "req" gadget will let you choose between arp's and the req.libraries
Xfile requester, the default being req.library.
X
X   To get information concering the time print needs to print a file, click
Xthe  "pre"  gadget  and choose the file you want to print.  The information
XPrint gives is of course only approximate and valid for the NEC P6+.
X
X8 THE LEGAL STUFF
X	Print  is  copyright  (c)  HooverSoft  1990.  All rights remain with the
Xauthor  of  this program, Uwe "Hoover" Schurkamp.  Permission is granted to
Xdistribute  this  program  freely provided no fee is charged and that it is
Xdistributed  in  its  unmodified zoo file together with this documentation.
XExplicit permission is granted to Fred Fish to include this program and all
Xits  files  in his library and for everyone who wants to put it on a BBS or
Xusenet-like facility.
X
X	If  you  feel this program comes in handy and if you use it on a regular
Xbasis  I  ask you to make a donation to your favourite charity (Cheers, Art
XSkiles,  for the idea!) like Greenpeace or whatever you like.  Please don't
Xforget to worry about this planet, the worlds that the AMIGA creates aren't
Xreal...
X
X9 DISCLAIMER
XHooverSoft  makes no warranty whatsoever to the fitness of this program for
Xuse and disclaims liability for any damage resulting from the use of Print.
XIn other words:  Use it if you dare!
X
X10 PRINT REVISIONS AND SMALL HISTORY
XVersion 0.01:
X	Wouldn't  dare  call  this  a  release.  Just coded something because of
Xboredom...  Introduced multiple file names and the like.
X
XVersion 1.00:
X	Coded  help,  user  settable  type  size, interception of Form feeds and
Xinclusion of file names.  Kicked the concept of using spool files as output
Xto  send  data  directly to PAR:  Also programmed settable perforation jump
X(with  VERY  strange  results).  Tooks lots of pains to make Print's banner
Xlook nice (the 'nec' stuff appears purple on my prefs, hmmm :-)
X
XVersion 1.01:
X		Once  again  kicked  concept  of  using  NEC's  auto jump.  Print now
X'simulates'  perforation  skip by printing lots of \n's.  Introduced option
Xto print out page numbers.  Things seem to go quite well!
X
XVersion 1.02:
X	Printing  quality  is now user settable via -Q and -D options.  Killed a
Xbug  in  the  interception  of  ff's  (Print  really  didn't  capture them,
Xwhooops...)
X
X	Also  did  some  optimization  on  the code like getting rid of obsolete
Xoptions and the like.
X
XVersion 1.03:
X	Fixed  a  bug  with  first  printed  line  that Print refused to indent.
XThoroughly tested Print's performance on a couple of really long files.
X
XVersion 1.04:
X	Print  should  now be a bit shorter (did some optimization on the code).
XRemoved  superfluous  cr after printing of last file.  The paper should end
Xup just right now after printout.  Added switches -N and -R.
X
XVersion 1.1:
XIntroduced  a  new option -u to take other national char sets into account.
XFixed a bug in the PutCommand()-routine.
X
XThere  might  have been a very big bug in earlier versions which could have
Xcaused  Print  to not perform as advertised:  I left out an init of an auto
Xvariable  which  could  have jammed up the command table.  Well, no one has
Xcomplained so far...
X
XThe  biggest  improvement  is  perhaps  the  ability to load other printers
Xcommand  sets.   As  I only have one printer, I really rely on you to point
Xout any error!
X
XVERSION 1.11:
XIntroduced offset option and killed a bug that would cause the NEC to print
XBACKWARDS  if  you  didn't  use  -R  switch.   Boy,  that's funny!  Maybe I
Xshouldn't  drink  so  much  wine  when programming...  Print now resets the
Xprinter by default.  Print now also maps the "1/2" char correctly.
X
XVERSION 1.2:
X8LPI  printing  introduced.   -T  switch  added.  couple of other minor bug
Xfixes.
X
XVERSION 1.5A:
XMAJOR  rewrite  of  Print  which  now  looks  a  totally different program!
XIncluded  Workbench  startup,  huge  requester and making use of ARP's file
Xrequester.   It's  been  a lot of work, but I think it has payed off in the
Xend,  don't  you think?  Changes are too many to mention them in detail, so
Xgo and find out yourselves.
X
X11 BUGS AND FLEAS
X	If  you  find any of these ugly creatures in my great code (hu hu) worth
Xmentioning drop me a line on bitnet to
X
X		hoover@math4.uni-bielefeld.de
X
Xor by SNAIL to
X
X		Uwe Schurkamp
X		Jollenbecker Weg 4
X		D-4900 Herford
X
X	Print  is  quite  a large program (for my standards anyway), and testing
Xall its features in combination with each other would probably use up about
Xhalf  a  rain  forest's  worth of paper.  Well, I wrote Print to get rid of
Xtons  of  unsatisfying  printouts,  and I DO rely on my users to report any
Xerrors.
X
X12 THE CREDITS
X	Cheers  to  JENS  MENSCHING  for many bug reports and the idea to put an
XInutition  interface  into  Print.   The Print icon is by courtesy of MAGIC
XMOUSE  Inc.   (alias  BERND  HEIDE, who has not yet decided to take on this
Xname  :-)  ...   I really like it!  Also LEO SCHWAB requires mentioning his
Xname  in  the docs if you use his iconify() routine...  Thanks, Leo!  (Note
Xfor  the  users:   If  Print gurus on you when iconifying, drop Leo a line!
X;-)  Leo's  routine  is  a MUST for any serious program (which doesn't mean
XPrint  is  a serious program!).  Cheers also to the guys who programmed the
Xfantastic req.library.
X
X	Last  but not least a big "thanks" to MY WIFE for allowing the time with
Xthis  great  piece  of  technology (she couldn't play MechForce while I was
Xhacking...)  and to MY unborn SON for delaying his arrival until I finished
Xthis program (if there is something like a "final release" of a program).
X
X
Xenjoy & be lucky
X
X		hoover
X
XP.S.: play NetHack!
X ___________________________________________________________________________
X|---------------------------------------------------------------------------|
X|  Weinberg's Law:                          ||            //// Only Amiga   |
X|  "If builders built buildings the way     ||           //// makes it      |
X|  programmers write programs, then the     ||     \\\\ //// possible!      |
X|  first  woodpecker  that  came  along     ||      \\\X/// hoover@math4.   |
X|  would destroy civilisation."             ||       \XXX/ uni-bielefeld.de |
X|---------------------------------------------------------------------------|
X"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
END_OF_FILE
if test 19622 -ne `wc -c <'print.doc'`; then
    echo shar: \"'print.doc'\" unpacked with wrong size!
fi
# end of 'print.doc'
fi
echo shar: End of archive 2 \(of 3\).
cp /dev/null ark2isdone
MISSING=""
for I in 1 2 3 ; do
    if test ! -f ark${I}isdone ; then
	MISSING="${MISSING} ${I}"
    fi
done
if test "${MISSING}" = "" ; then
    echo You have unpacked all 3 archives.
    rm -f ark[1-9]isdone
else
    echo You still need to unpack the following archives:
    echo "        " ${MISSING}
fi
##  End of shell archive.
exit 0
-- 
Mail submissions (sources or binaries) to <amiga@uunet.uu.net>.
Mail comments to the moderator at <amiga-request@uunet.uu.net>.
Post requests for sources, and general discussion to comp.sys.amiga.misc.