home *** CD-ROM | disk | FTP | other *** search
/ Phoenix CD 2.0 / Phoenix_CD.cdr / 01e / lq_235.zip / DOC.ARC / LQ.DOC < prev    next >
Text File  |  1988-06-09  |  83KB  |  2,000 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                               LQ (tm)
  16.  
  17.                           by Mark Harris
  18.  
  19.                Granny's Old-Fashioned Software (tm)
  20.                            Rt 4, Box 216
  21.                           Boone, NC 28607
  22.                           (704) 264-6906
  23.  
  24.                             June, 1988
  25.                             Version 2.3
  26.  
  27.                  (c) Copyright 1988 by Mark Harris
  28.                         All Rights Reserved
  29.  
  30. The unmodified LQ distribution diskette, containing a copy of this
  31. manual, may be freely copied and shared, but printed copies of
  32. this document may not be copied.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                    Table of Contents
  45.  
  46.  
  47. 1. Introduction                                       1
  48.  
  49. 2. LQ installation                                    2
  50.  
  51. 3. Using LQ in the resident mode                      6
  52.  
  53. 4. Using LQ in the file mode                          9
  54.  
  55. 5. Control sequences                                 11
  56.  
  57. 6. The LQ parameter line                             16
  58.  
  59. 7. Creating or modifying a configuration file        19
  60.  
  61. 8. Tips for better printouts                         24
  62.  
  63. 9. Character sets available in LQ                    25
  64.  
  65. 10. Editing character sets: the EDCHAR program       25
  66.  
  67. 11. Additional programs                              29
  68.  
  69. Appendix A. About 'Shareware'                        32
  70.  
  71. Appendix B. ASCII codes                              33
  72. Introduction                                                     1
  73.  
  74.  
  75.  
  76.                                 LQ
  77.               Letter quality for dot matrix printers.
  78.  
  79.                    (C) 1988 by Mark Harris
  80.                        All rights reserved.
  81.  
  82. 1. Introduction.
  83.  
  84.     LQ is a program for the IBM PC and compatible computers
  85. which will allow you to produce high-quality text on inexpensive
  86. dot matrix printers.  Most 9-pin printers are supported, but you
  87. may have to install or create a configuration file (see Section 5)
  88. if yours deviates significantly from an Epson.
  89.  
  90.     LQ offers these features:
  91.  
  92.   1. LQ can be 'locked' into memory to function inconspicuously
  93.      with your favorite word processor or other program, or it can
  94.      be used only as needed to process disk files.
  95.  
  96.   2. Most control sequences for turning on special modes
  97.      (boldface, underline, superscript, etc.) will produce the
  98.      corresponding results with LQ, so you may not have to modify
  99.      your word processor to accommodate LQ.
  100.  
  101.   3. LQ includes a print spooler which can be set to any length
  102.      from 1 - 400K characters.  The spooler has been customized to
  103.      work with LQ's long graphics sequences very efficiently
  104.      (using about 1/40 the space required by a conventional
  105.      spooler); you can continue using your computer for other
  106.      tasks while documents print in the background.  If you use
  107.      single sheet feed, LQ will interrupt your work to prompt you
  108.      to change paper then return to you to the point at which you
  109.      were interrupted.
  110.  
  111.   4. The spooler and several of LQ's options can be controlled
  112.      using a 'pop-up window' which is available at any time.  This
  113.      is particularly convenient for toggling letter-quality mode
  114.      on and off and for flushing the buffer to abort a printout.
  115.  
  116.   5. Special modes such as proportional spacing, extra-large and
  117.      graphics printing are available.  A letterhead editor is
  118.      included for making customized logos to be printed with LQ.
  119.  
  120.   6. Four fonts are available at any time, and others can be
  121.      swapped into memory when desired.  You can switch between
  122.      these fonts using codes in your text or by using the LQ
  123.      Control Window.
  124.  
  125.   7. You can modify an existing character set or edit your own
  126.      from scratch using the EDCHAR program included in the
  127.      package.
  128.  
  129. LQ installation                                                  2
  130.  
  131.     You will probably want to take a look at LQ's output before
  132. reading about all the details.  Following is a procedure to get
  133. some quick results if you have an Epson-compatible printer; if
  134. yours is different, skip this test and read on.
  135.  
  136.   1. Boot DOS.
  137.   2. Insert the LQ disk and type LQDEMO.
  138.   3. Turn on your printer and press a key when prompted.
  139.  
  140.     If you want to experiment a little with LQ now, try the
  141. following:  type 'LQ' at the DOS prompt to load the program into
  142. memory, then run any other program (such as a word processor)
  143. which generates printed output.  At any time you can bring up the
  144. LQ menu by pressing both shift keys simultaneously.  If your
  145. output is garbled, don't panic yet - read on!
  146.  
  147. Note:  The file READ.ME describes revisions to LQ and other
  148. important information.  To view this file on the screen enter GO;
  149. to obtain a printed copy enter COPY READ.ME PRN.
  150.  
  151.  
  152. 2. LQ installation.
  153.  
  154.     There is a good chance that LQ is already configured properly
  155. for your use; if you have an Epson-compatible printer we recommend
  156. that you skip this section on first reading of the manual and come
  157. back to it later.
  158.  
  159.     There are two levels of installation which may need to be
  160. performed in order to use LQ.  You should configure your word
  161. processor or other application for an Epson MX 80 (or IBM Graphics
  162. Printer) if it uses control codes to exploit a printer (to print
  163. italics, emphasized print, etc.), and you should run LQINST if you
  164. have a printer which is not Epson-compatible (or if you want to
  165. change the size of the buffer, assign a different key combination
  166. to bring up the LQ Control Window or change the default character
  167. sets used by LQ).
  168.  
  169.     LQ will make your printer appear to a word processor as an
  170. Epson MX 80 (or IBM Graphics Printer) when printing in the letter-
  171. quality mode.  Most word processors will let you choose a printer
  172. when a document is printed, so you can maintain one printer
  173. description file for draft mode (based on what your printer really
  174. is) and another one for LQ mode.  For example, PC-Write gives the
  175. prompt
  176.  
  177.     Print control file name (Esc:exit Enter:none):
  178.  
  179. and MultiMate lets you select a PAT (Printer Action Table) file
  180. when documents are printed.
  181.  
  182. LQINST.
  183.  
  184.     LQINST alters the LQ.COM program, so it is wise to make a copy
  185. of the LQ disk before starting the installation procedure.  Insert
  186. a working copy of the disk in your computer's default drive and
  187. LQ installation                                                  3
  188.  
  189. enter 'LQINST'.  You will be prompted to enter the disk containing
  190. the file LQ.COM; since this file is on the distribution disk, no
  191. disk exchange is necessary.  Throughout this installation
  192. procedure you can ignore messages to insert disks if you are
  193. working with a copy of the distribution disk; later on if you use
  194. eparate disks for different character sets or other LQ data you
  195. should swap disks as prompted. The screen should now show:
  196. _______________________________________________________
  197.  
  198.     LQ installation menu:
  199.  
  200.     1. Change default character sets.
  201.  
  202.     2. Change printer parameters.
  203.  
  204.     3. Change keys for LQ window.
  205.  
  206.     4. Change buffer size.
  207.  
  208.     5. Quit.
  209.  
  210.           Which? (1 - 5)
  211. _______________________________________________________
  212.  
  213. Each option will be described below, but if this is your first use
  214. of LQ you will probably be content to use only option 2 (and that
  215. only if your printer is not Epson-compatible).
  216.  
  217. Option 1:  Change default character sets.
  218.  
  219.     The LQ.COM program includes four character sets within its
  220. code; initially these are the sets COURIER, COURITAL, HELV and
  221. PALATINO.  (See Section 9 for a listing of these and other
  222. available sets.)  If your use of other sets is infrequent it is
  223. best to load them explicitly using the LQ parameter line (see
  224. Section 6) but if you would like different sets to be used by
  225. default then this installation option is in order.  Installation
  226. of a new set is a two-step process: first you indicate which set
  227. you want to install, then you assign it the number (1 - 4) used to
  228. turn on the set.
  229.  
  230.     After this option is selected you are shown a list of
  231. character sets and prompted to enter the number of the set to
  232. install:
  233. _______________________________________________________
  234. LQ installation                                                  4
  235.  
  236.  
  237.      1  COMPUTER     9  HELVITAL    17  ROMAN2
  238.      2  COURIER     10  HOLLOW      18  ROMANITA
  239.      3  COURIER2    11  IBM1        19  SANS2ITA
  240.      4  COURITAL    12  IBM2        20  SANSITAL
  241.      5  GOTHIC      13  MAIN        21  SANSSER
  242.      6  GREEK       14  MAINITAL    22  SANSSER2
  243.      7  HELV        15  PALATINO    23  SCRIPT
  244.      8  HELV2       16  ROMAN       24  SPIRAL
  245.  
  246.       Enter number of set to install:
  247.        (press <Enter> to quit)
  248. _______________________________________________________
  249.  
  250. After you enter the number of the set to install you are prompted
  251.  
  252.     Enter installed character set number (1-4):
  253.  
  254. This second number is used in control sequences, in the LQ
  255. parameter line, or in the LQ Control Window to switch to the
  256. corresponding set.  Any of the four sets can be used at any time,
  257. ut the first two sets have special roles of which you should be
  258. aware.  The first set is used by default, so it should be the one
  259. you use most often.  The second set can be turned on by the
  260. control sequence you normally use to switch to italics, so it is
  261. best (but by no means required) to make it the italicized version
  262. of the first set.  For example, you could make the first set
  263. SANSSER and the second SANSITAL.
  264.  
  265.     After you enter the 'installed character set number' the cycle
  266. is repeated:  you are again prompted to choose a set to install.
  267. You can continue until all four sets are changed, or you can
  268. retain previous sets for those you don't change.  When you are
  269. finished, press <Enter> without typing a number.
  270.  
  271.     The changes you make in this and other LQINST options are not
  272. made permanent until you exit the program, so don't worry about
  273. doing anything lethal.  Even if you do save a revised version of
  274. LQ.COM, you can always run LQINST again to restore it to the way
  275. it was.
  276.  
  277. Option 2:  Change printer parameters.
  278.  
  279.     The second option lets you change the default Epson printer
  280. parameters to those for another printer.  Printer parameters are
  281. contained in files with the suffix 'PAR' which you may edit or
  282. create yourself.  (See Section 7.)  If you are a registered LQ
  283. user and experience problems installing a non-Epson printer, we
  284. will try to create a parameter file for you on request.  See
  285. Section 7 for a description of the printer requirements for using
  286. LQ.
  287.  
  288. Note:  After you have performed this installation process, your
  289. LQ/printer combination will act like an Epson MX or IBM Graphics
  290. Printer regardless of what kind of printer you actually have.
  291. When using LQ you should make certain that your word processor or
  292. LQ installation                                                  5
  293.  
  294. other application 'thinks' you have one of these models.  Again,
  295. see Section 7.
  296.  
  297.     When you select this option you are prompted to insert the LQ
  298. disk, then you are shown a list of all parameter files on the
  299. disk.  Currently these are
  300.  
  301.      1  EPSON
  302.      2  IMAGE
  303.      3  PROPRINT
  304.      4  CITOH
  305.      5  STAR
  306.  
  307. A given file may work for more than one type of printer; for
  308. example the Epson parameters are appropriate for the IBM Graphics
  309. printer.  Enter the number of your choice.
  310.  
  311.     Some experimentation may be required to find or create the
  312. right file.  Rest assured that you won't do any harm by installing
  313. the wrong parameters; your printer may appear to run amuck, but
  314. the only cost is the paper.
  315.  
  316. Option 3:  Change keys for LQ window.
  317.  
  318.     There are four shift keys on the PC keyboard: Ctrl, Alt, Left
  319. Shift, Right Shift.  Many background utilities use combinations of
  320. these keys to spring into action; for example, 'Sidekick' normally
  321. requires that the Ctrl and Alt keys be depressed simultaneously.
  322. The LQ Control Window is normally brought up by pressing the left
  323. and right shift keys together, but you can change this to any pair
  324. of shift keys.  Use LQINST to make this change permanent or use
  325. the K option to pass the key combination (temporarily) on the LQ
  326. parameter line (see Section 6).
  327.  
  328.     When the third option is selected the following screen is
  329. displayed:
  330. _______________________________________________________
  331.  
  332.     Key installation.
  333.  
  334.     The pop-up window used to control LQ operation is normally
  335.     brought up by pressing the right and left shift keys
  336.     simultaneously.
  337.  
  338.     You can change this combination to any two of the following:
  339.  
  340.     Ctrl
  341.  
  342.     Lft Shift         Rt Shift
  343.  
  344.     Alt
  345.  
  346.  
  347.     Press the two keys you would like to use:
  348. _______________________________________________________
  349.  
  350. Using LQ in the resident mode                                    6
  351.  
  352. As soon as you press the desired key combination, you are returned
  353. to the main menu of LQINST.
  354.  
  355. Option 4:  Change buffer size.
  356.  
  357.     Printing in LQ mode is slow enough that you will not enjoy
  358. sitting idly by waiting for a printout to finish.  LQ includes a
  359. 'print spooler' for printing in the background while you use your
  360. computer for other tasks.  The default size of the buffer used by
  361. this spooler is 16K, which will accommodate about six pages of
  362. text.  You can change the buffer size to any value from 1K to
  363. 400K;  when you select option 4 you are prompted to enter this
  364. value.  For example, if you want a 20K buffer just enter the
  365. number 20.
  366.  
  367. Option 5:  Quit.
  368.  
  369.     The last option is used to exit from LQINST.  If you have made
  370. changes you are prompted
  371.  
  372.         Save modifications? (Y,N)
  373.  
  374. If you press 'N' then LQ.COM is unchanged, otherwise all changes
  375. you have made in this LQINST session are made permanent.  (You can
  376. always run LQINST again to make further changes.)
  377.  
  378.  
  379. 3. Using LQ in the resident mode.
  380.  
  381.     The preferred way to use LQ is in the 'resident' mode in which
  382. LQ stays in memory while other programs are run; this mode offers
  383. print spooling and the Control Window for changing LQ's
  384. parameters.  The disadvantage of the resident mode is the memory
  385. consumption:  with the default 16K buffer the program uses about
  386. 90K of RAM.  If you don't have enough memory to run other programs
  387. with LQ installed you should use the file mode described in the
  388. next section.  While the latter mode is less convenient you can
  389. still obtain exactly the same printouts.
  390.  
  391.     If you want to use LQ as a resident program for only part of
  392. your session on the computer you can enter
  393.     LQ R
  394. to remove LQ from memory.  This works only if no other resident
  395. programs have been loaded above LQ, so if you plan on using this
  396. technique load LQ last (after installing other programs such as
  397. Sidekick).
  398.  
  399.     To load LQ in the resident mode simply type 'LQ' at the DOS
  400. prompt.  A variety of options can be set by adding parameters to
  401. this entry; for example
  402.     LQ C1'SANSSER'
  403. loads LQ and replaces the first character set with SANSSER.SET.  A
  404. full description of command line parameters is given in Section 6.
  405.  
  406.     Once LQ is loaded you can generally use your accustomed
  407. software with no changes other than improved printouts.  (You may
  408. Using LQ in the resident mode                                    7
  409.  
  410. have to change your word processor's printer description table to
  411. accommodate an Epson MX 80 or IBM Graphics Printer; see Section
  412. 2.)
  413.  
  414.     Some interaction with LQ can increase its effectiveness.  This
  415. section describes how to use the Control Window and print spooler
  416. to really master your printer.
  417.  
  418. The spooler.
  419.  
  420.     A print spooler is a program which directs pending printouts
  421. to an area of memory (buffer) and sends characters from this
  422. intermediate storage to the printer only when the computer is
  423. relatively idle.  The process takes place in the background so
  424. that you can use your word processing program or other application
  425. without interruption.  A number of fine print spooling programs
  426. are available, some of them public domain.
  427.  
  428.     LQ obtains its high quality print by printing in the 'graphics
  429. mode', and this presents special difficulties for a conventional
  430. spooler.  Without LQ a character is sent to the printer as a
  431. single byte or unit of information, but LQ requires about 40 bytes
  432. to 'draw' a single character.  A single page of text can balloon
  433. to over 100K bytes, more than enough to fill the typical buffer.
  434. Once the buffer is full a spooler no longer yields any advantage -
  435. other activities must stop until the backlog subsides.
  436.  
  437.     LQ includes an integrated spooler with a default buffer of
  438. 16K.  Characters are spooled in the standard compact form and
  439. expanded to graphics in small increments.  The default buffer size
  440. will ccommodate about six pages of text and you can increase the
  441. size to as much as 400K (see Section 2).  The spooler also works
  442. in draft mode (LQ loaded but turned off), so it may be attractive
  443. to keep LQ in memory even if your demands for letter-quality print
  444. are infrequent.
  445.  
  446.     If you find that a pending printout contains an error (such as
  447. spelling or formatting) you will probably want to abort the
  448. printing and correct your document.  To do this you must 'flush
  449. the buffer':  you must tell LQ to stop printing and to ignore the
  450. presence of any remaining characters in its queue.  This entails a
  451. single keypress in the LQ Control Window described below.
  452.  
  453. The LQ Control Window.
  454.  
  455.     There are three ways to select options in LQ:
  456.  
  457. in the LQ command line (as when you enter
  458.     LQ C1'SANSSER'
  459. at the DOS prompt to load the character set SANSSER),
  460.  
  461. using control sequences embedded in your text (such as
  462.   <Esc> <Esc> '2'  to switch to character set 2),
  463.  
  464. using the LQ Control Window.
  465.  
  466. Using LQ in the resident mode                                    8
  467.  
  468. When LQ is in the resident mode you can bring up the Control
  469. Window by simultaneously pressing the right and left shift keys
  470. (or another pair of shift keys installed with LQINST - see Section
  471. 2).  You'll see the following menu:
  472.  
  473.     Buffer   0% full.  Flush?  Yes
  474.     Current character set:     1
  475.     Wait at form feeds?        No
  476.     Proportional print?        No
  477.     Lines per page:            66
  478.     LQ mode enabled:           Yes
  479.  
  480. The cursor is initially positioned at the 'Yes' on the first line.
  481. The keys you may use are:
  482.  
  483. down arrow:  move down a line,
  484. up arrow:    move up a line,
  485. space bar:   change this option,
  486. 'A':         advance the printer a little,
  487. <Esc>:       exit this menu.
  488.  
  489. The options you can change are:
  490.  
  491. Flush the buffer:  If you press the space bar on this line, any
  492.   pending printout is aborted.  Use this option to remove an errant
  493.   document from the buffer.
  494.  
  495. Change character set:  The character set number is rotated in the
  496.   set 1,2,3,4.  If character set number two is currently in use and
  497.   the space bar is pressed, then set number three will be used at
  498.   the next opportunity.
  499.  
  500. Wait at form feeds:  The space bar toggles the status of LQ's
  501.   response to a form feed character (ASCII code 12).  When this is
  502.   set to 'Yes', LQ will interrupt a program in progress after a
  503.   form feed is received and prompt you to change paper.  In
  504.   response to the prompt, <Enter> will continue printing and <Esc>
  505.   will abort printing.  In either case you are returned to the
  506.   program you were using without interference.
  507.  
  508. Proportional print:  You can set proportional print on or off.
  509.   Using proportional print the sequence 'iiii' will occupy less
  510.   space than 'MMMM'.  This makes text more attractive but disrupts
  511.   the spacing of tables and text separated by white space.  Try
  512.   this option to see if it is appropriate for your document style.
  513.   (Read the file LQPCWRIT.DOC for a description of using
  514.   proportional spacing with the PC-Write (Shareware) word
  515.   processor.
  516.  
  517. Lines per page:  The default line spacing, and the one normally
  518.   expected by other programs, is 66 lines per page.  If you want to
  519.   change this, press the space bar and then enter the new value.
  520.   Because of physical limitations of your printer, not all these
  521.   values are possible; for example, if you  enter the number 58 you
  522.   may see this rounded to 59 (the nearest acceptable value).
  523.  
  524. Using LQ in the resident mode                                    9
  525.  
  526. LQ enabled:  The LQ mode can be toggled on and off.  In the 'off'
  527.   setting your printer will operate as if LQ were not installed,
  528.   except that print spooling will still be functional.
  529.  
  530. Advance:  Pressing 'A' any time the Control Window is open will
  531.   result in a small (1/216") advance of the paper when the window
  532.   is closed.  With many printers the first line of a printout may
  533.   appear smudged; advancing the paper with this option will fix the
  534.   problem.  This is done automatically in the LQ file mode (see
  535.   Section 4) or when LQ is loaded in the resident mode (if the
  536.   printer is on).  You can also perform this action by embedding
  537.   the <Esc> <Esc> B control sequence in your text (see Section 5).
  538.  
  539. When you are finished using the Control Window, press <Esc> to
  540. return to your previous application.
  541. 4. Using LQ in the file mode.
  542.  
  543.     When LQ is invoked with the 'F' option a file is printed in
  544. letter quality but LQ does not remain resident.  An example of
  545. this use is
  546.     LQ F'MYFILE'
  547. which prints the file MYFILE.  The primary reason for using the
  548. file mode is to accommodate systems with insufficient memory for
  549. using LQ in the resident mode.  (Another use is for using LQ in
  550. batch files for printing letterheads and other designs; see
  551. Section 11.)  Since LQ is not resident in the file mode no
  552. spooling is performed and you must wait for a printout to finish
  553. before using your computer for other tasks, or you must use the
  554. DOS PRINT command as described below.  Also, the Control Window
  555. is not available in the file mode.
  556.  
  557.     You can use a variety of options in the LQ command line; for
  558. example
  559.     LQ F'MYFILE' W
  560. prints MYFILE and waits at form feeds for paper to be changed.
  561. See Section 6 for a complete description of avaiable options.
  562.  
  563.     When using the F(ile) option, you can stop printing at any
  564. time by pressing a key; you will be asked if you want to abort
  565. the printout or continue.
  566.  
  567.     The way you create files to be printed by LQ varies from one
  568. application to another.  Most word processors store documents in
  569. special formats which make sense only to the program itself;
  570. let's call these 'source' documents.  You want to print not these
  571. but rather the 'output' documents that correspond to the
  572. characters which would normally go to the printer.  For example
  573. when one asks WordStar to print a file the program prompts
  574.     Output to disk file?
  575. and gives the user a chance to channel output to a file which
  576. would otherwise go to the printer.  Such an output file is also
  577. called an ASCII file since it contains only standard ASCII
  578. character codes.  (See Appendix B.)
  579.  
  580.     PC-Write is another popular word processor which produces
  581. ASCII files easily.  The command
  582. Using LQ in the file mode                                       10
  583.  
  584.     PR MYFILE
  585. formats and prints the source document MYFILE, and the command
  586.     PR MYFILE YOURFILE
  587. sends the output to the second file YOURFILE instead of a
  588. printer.  PC-Write is an outstanding Shareware product; the
  589. distribution disks can be obtained for $16 from Quicksoft, 219
  590. First N. #224, Seattle, WA 98109, 206/282-0452.
  591.  
  592.     The vast majority of word processing, database and
  593. spreadsheet programs on the market can produce ASCII files;
  594. consult your program's manual for details.
  595.  
  596.     If you have a previously-created text file 'printout' you
  597. want to print in a letter quality mode you can take three
  598. different approaches.
  599.        LQ F'filename' [parameter list]
  600. will function as described above.  You can enter
  601.       COPY filename PRN
  602. if LQ is resident in memory.  The final alternative requires a
  603. lot of disk space (preferably a hard disk) but has the advantage
  604. of printing in the background without tying up memory as when LQ
  605. is resident.  If you enter
  606.        LQ F'filename','filename2'
  607. (no spaces after the F) then all the graphics characters which
  608. would have been printed go to the second file 'filename2'
  609. instead.  This file will be about 40 times as big as the first
  610. file, so make sure you have room on your disk before proceeding.
  611. Assuming that you have previously created the program BPRINT.COM
  612. you can now enter
  613.        BPRINT filename2
  614. without LQ being resident.  You can continue to use your computer
  615. as your file is printed, and you won't sacrifice the RAM that LQ
  616. would otherwise occupy.  (See Section 11 for a full description
  617. of creating and using BPRINT.)  If the file is short (as with a
  618. letterhead) you may want to type
  619.        COPY/B filename2 PRN
  620. (again without LQ being resident) rather than spooling the file
  621. with BPRINT.  (The '/B' option lets the graphics codes used by LQ
  622. go to the printer without interference from DOS.)
  623.  
  624.     In any of these three cases you may want to add additional
  625. control codes within the text before printing; Section 5 contains
  626. a list of control codes and their functions.  For example,
  627. suppose you have used your word processor to create an output
  628. file with the lines
  629.     This is a test.
  630.     This is only a test.
  631. The control sequence used to initiate a line of large characters
  632. is '<Esc> <Esc> L'; let's look a couple of ways to insert these
  633. codes before the first line.  If you have Sidekick on your
  634. system, you can enter a control code such as <Esc> by first
  635. pressing <Ctrl P>, so you would position the cursor at the start
  636. of the first line and type
  637.     <Ctrl P> <Esc> <Ctrl P> <Esc> L
  638. (The same technique works with WordStar.)  A more universal (but
  639. less convenient) method is to use EDLINE.COM, the line editor
  640. Using LQ in the file mode                                       11
  641.  
  642. which is included with your DOS system disk.  You can edit a
  643. given line in the same way you edit a line at the DOS prompt;
  644. here is a summary of line editing functions from the DOS User's
  645. Guide:
  646.  
  647.   DOS           Description
  648.   Editing Key
  649.   Ins           Allows you to insert characters within
  650.                 a line.
  651.   Del           Deletes one character in the input
  652.                 buffer.  The character in the buffer is
  653.                 not displayed and the cursor does not
  654.                 move.
  655.   Esc           Cancels the line currently being
  656.                 displayed.  The buffer remains
  657.                 unchanged.
  658.   F1 or ->      Displays one character from the buffer
  659.                 each time it is pressed.
  660.   F2            Displays all characters up to a
  661.                 specified character.
  662.   F3            Displays all characters in the buffer.
  663.   F4            Displays all characters after and
  664.                 including the specified character.  F4
  665.                 is the opposite of F2.
  666.   F5            Accepts the line you edited as the
  667.                 current buffer line.
  668.  
  669.     Assuming you had saved the previous file under the name
  670. MYFILE, you would begin your EDLIN session by entering
  671.     EDLIN MYFILE.
  672. Find the number of the line you want to edit by using the List or
  673. Search commands (see the DOS manual for details), then enter this
  674. number to edit the line.  In this case we know in advance that we
  675. want to edit the first line, so we would enter the number '1'.
  676. The screen should show
  677.     1:*This is a test.
  678.     1:*
  679. Control characters can be entered by using the <Ctrl V> prefix;
  680. for example, <Ctrl T> can be entered by typing <Ctrl V> T, and
  681. <Esc> can be entered by typing <Ctrl V> [.  Press Ins to enter
  682. the insert mode, then type <Ctrl V> [ <Ctrl V> [ L.  Press F3 to
  683. display the rest of the buffer ('This is a test.') and press
  684. return.  To save the modified file, enter 'E'.
  685.  
  686.     Many word processors (including PC-Write) allow the direct
  687. entry of control codes, so you may not need to go through such an
  688. extra step to use LQ's special features.  The READ.ME file gives
  689. a description for some programs; consult your word processor's
  690. manual for details.
  691.  
  692.  
  693. 5. Control sequences.
  694.  
  695.     A 'control sequence' in a document is a sequence of codes or
  696. characters which has a special meaning to your printer (or the
  697. program controling it), and which changes the way in which
  698. Control sequences                                               12
  699.  
  700. subsequent characters are printed.  You have probably used such
  701. codes for some time, perhaps without realizing it.  When you tell
  702. your word processor to print a book's title in boldface or to
  703. print a subscript, you are telling your software to insert the
  704. appropriate control characters for performing these functions.
  705.  
  706.     Regardless of what kind of printer you are using, LQ will
  707. make your printer appear to a word processor or other application
  708. as an Epson MX 80 (or IBM Graphics Printer).  Assuming that you
  709. have installed your application program for this printer you can
  710. get extensive use out of LQ without any direct involvement with
  711. control sequences.
  712.  
  713.     If your program does not support all the features of an Epson
  714. MX 80 (italics, underlining, emphasized print, superscript
  715. /subscript, etc.) or if you want to use some of the special
  716. features of LQ (large characters, proportional print, graphics),
  717. you will need to insert control codes on your own.  You can
  718. always use EDLIN.COM (a line editor included with your DOS system
  719. disk) to do this; you probably have an easier way at your
  720. disposal.  Read Section 4 for details on inserting control codes.
  721.  
  722.     If the LQ feature you want to use will not change during a
  723. printout, you can request it in the LQ command line rather than
  724. using control sequences.  For example, 'LQ C3' turns on character
  725. set number three (out of the four in memory) as an alternative to
  726. '<Esc> <Esc> 3'  within your document.  The LQ command line
  727. options are described in the following section.
  728.  
  729.     You can also use the Control Window to use some LQ features;
  730. see Section 3.
  731.  
  732.     In addition to inserting control codes or using the Control
  733. Window to switch character sets, one other technique is
  734. available.  Most word processors have a way of turning on
  735. italics; since the italic set is expected to be the second of
  736. LQ's four sets, you can change to any second set by turning on
  737. italics.  If you want to use this method, have LQ load the
  738. desired alternate character set with a command such as
  739.     LQ C2'SANSSER'
  740. (which loads SANSSER.SET as character set number 2, replacing
  741. italics).
  742.  
  743. Control functions available in LQ.
  744.  
  745.     Following is a list of LQ functions which may be used within
  746. a document using control sequences.  Most of these duplicate
  747. standard Epson control codes; functions which differ from the
  748. Epson standard (generally beginning with <Esc> <Esc>) are
  749. indicated with an asterisk.  Each control sequence is shown in
  750. two forms: the sequence of keys to press, then the corresponding
  751. sequence of (decimal) ASCII codes.  For example,
  752.   <Esc> 'E' = 27,69
  753. indicates that the sequence consists of the escape key code
  754. ollowed by the code for the capital E character.  The standard
  755. codes are usually inserted automatically by a word processor when
  756. Control sequences                                               13
  757.  
  758. the associated mode is requested, but the additional LQ modes
  759. must be added explicitly.
  760.  
  761.   Turn on double-wide print:
  762.   <Ctrl N> = 14
  763.  
  764.   Turn off double-wide print:
  765.   <Ctrl T> = 20
  766.  
  767.   Turn on underline:
  768.   <Esc> '-' N = 27,45,N    where N corresponds to any code except
  769.    0 or '0'.  For example, use
  770.    <Esc> '-' 1 = 27,45,1.
  771.  
  772.   Turn off underline:
  773.   <Esc> '-' N = 27,45,N    where N corresponds to either '0' or
  774.    0.  For example, use <Esc> '-' '0' = 27,45,48.
  775.  
  776.   Set line spacing to N/216":
  777.   <Esc> '3' N = 27,51,N    where 1 <= N <= 255
  778.  
  779.   Turn on italics (character set #2):
  780.   <Esc> '4' = 27,52
  781.  
  782.   Turn off italics (turn on set #1):
  783.   <Esc> '5' = 27,53
  784.  
  785.   Sets line spacing to N/72":
  786.   <Esc> 'A' N = 27,65,N    where 1 <= N <= 85
  787.  
  788.   Turn on boldface:
  789.   <Esc> 'E' = 27,69  or  <Esc> 'G' = 27,71
  790.  
  791.   Turn off boldface:
  792.   <Esc> 'F' = 27,70  or  <Esc> 'H' = 27,72
  793.  
  794.   Superscript:
  795.   <Esc> 'S' # = 27,83,#   where # corresponds to '0' or 0.  For
  796.    example, <Esc> 'S' '0' = 27,45,48.
  797.  
  798.   Subscript:
  799.   <Esc> 'S' # = 27,83,#   where # corresponds to any code except
  800.    0 or '0'.  For example, use <Esc> 'S' '1' = 27,45,49.
  801.  
  802.   Superscript/subscript off:
  803.   <Esc> 'T' = 27,84
  804.  
  805. * Switch to character set n (1 <= n <= 4):
  806.   <Esc> <Esc> 'n'.  For example, <Esc> <Esc> '3' =
  807.    27,27,51  turns on character set number 3.
  808.  
  809. * Advance paper a little to put tension on paper (recommended for
  810.    preceding first line of printout; this function is performed
  811.    automatically when the F(ile) option is used.):
  812.   <Esc> <Esc> 'B' = 27,27,66
  813.  
  814. Control sequences                                               14
  815.  
  816.  Turn on graphics mode:
  817.   <Esc> <Esc> 'C' = 27,27,67
  818.    The graphics mode suppresses the normal space between
  819.    characters and between lines so that you can produce
  820.    letterheads and other pictures.  See Section 11 for details.
  821.  
  822. * Turn off graphics mode:
  823.   <Esc> <Esc> 'D' = 27,27,68
  824.  
  825. * Turn on elite (12 cpi) printing:
  826.   <Esc> <Esc> 'E' = 27,27,69
  827.    The best character set for using elite is HELV (character set 3
  828.    in the default installation), so you may want to turn on elite
  829.    printing in this set with
  830.      LQ MN C3
  831.    (See Section 6.)  Other narrow sets are appropriate for elite,
  832.    but don't use the wider sets such as COURIER (default set 1).
  833.    Proportional spacing is not supported in elite - if such
  834.    spacing is desired, use the same set in pica mode.
  835.  
  836. * Turn off elite printing, restore pica (10 cpi):
  837.   <Esc> <Esc> 'F' = 27,27,70
  838.  
  839. * Turn on triple-high (large) characters in the current set:
  840.   <Esc> <Esc> 'L' = 27,27,76
  841.    The large mode stays on for all lines until <Esc> <Esc> 'M' is
  842.    received.  The line containing this second sequence
  843.    is printed in the normal size.
  844.  
  845. * Turn off triple-high characters:
  846.   <Esc> <Esc> 'M' = 27,27,77
  847.  
  848. * Turn on proportional spacing:
  849.   <Esc> <Esc> 'P' = 27,27,80
  850.  
  851. * Turn off proportional spacing:
  852.   <Esc> <Esc> 'Q' = 27,27,81
  853.  
  854. * Set line space to n units (where one unit is either 1/144" or
  855.    1/216" depending on the smallest line advance your printer
  856.    supports):
  857.   <Esc> <Esc> 'S' # = 27,27,83,#
  858.    where # is the number (from 1 to 255) of increments desired.
  859.    For example, the smallest Epson line advance is 1/216", so
  860.    <Esc> <Esc> 'S' '$' = 27,27,83,36 sets the line space to
  861.    36/216" = 1/6".  It is generally easier to use the L(ines per
  862.    page) parameter when activitating LQ or the lines per page
  863.    option in the Control Window to determine the number of lines
  864.    on an 11" page.
  865.  
  866. * Wait for key to be pressed at page breaks:
  867.   <Esc> <Esc> 'W' = 27,27,87
  868.  
  869. * Don't wait at page breaks (the default):
  870.   <Esc> <Esc> 'X' = 27,27,88
  871.  
  872. Control sequences                                               15
  873.  
  874. Other ASCII codes.
  875.  
  876.     LQ supports IBM graphics characters (ASCII codes above 127).
  877. Codes 128-159 correspond to the first 32 characters in set number
  878. 3 and codes 160-255 to all of set number 4.  To use graphics
  879. characters the sets IBM1 and IBM2 should be installed as sets 3
  880. and 4.  For consistency you may want to use the sets MAIN and
  881. MAINITAL for the first two sets as well (though this probably will
  882. not be important).  Hence you can load LQ with
  883.      LQ c3'IBM1' c4'IBM2'
  884. or   LQ c1'MAIN' c2'MAINITAL' c3'IBM1' c4'IBM2'.
  885. You can make these assignments permanent with the LQINST program.
  886. (If you are using PC-Write and want to use foreign characters, put
  887. a '$A' in your PR.DEF file.)
  888.  
  889. If you are using the graphics characters to create borders or other
  890. designs you may want to change your line spacing to avoid gaps in
  891. vertical patterns.  Your word processor may take care of this
  892. automatically; if it doesn't, use the control sequence
  893.   <Esc> 'A' 8 = 27,65,8
  894. to change the line spacing to 8/72".
  895.  
  896.     Three additional control codes besides those described above
  897. are recognized by LQ: 10 (line feed), 12 (form feed) and the 13 10
  898. (carriage return, line feed) sequence.  All other control codes
  899. (ASCII codes less than 32) besides those listed above (or the
  900. substitutes given in a parameter file) are ignored.  In
  901. particular, LQ does not support the backspace character, nor does
  902. it support the carriage return code by itself.  The most common
  903. situation in which this causes a problem is when a word processor
  904. tries to bold face or underline text by backspacing (or sending a
  905. carriage return) and retyping the text or the underline character.
  906. If your printout looks something
  907.   like this   like this
  908. or
  909.   like this   ________
  910. then your word processor is responsible - it thinks your printer
  911. is 'dumber' than it really is and is not fully exploiting it.  The
  912. solution is to convince your word processor to turn bold face or
  913. underlining on and off with the control sequences described above.
  914. Usually this can be done as part of the installation process for
  915. your word processor or by explicitly entering control sequences
  916. yourself (see below); if this process is not clear you may want to
  917. call the technical support department of the company that
  918. distributes your word processor.  Most programs won't have this
  919. problem to begin with, so don't worry unless your printouts appear
  920. to stutter as illustrated above.
  921.  
  922.     Entering control codes directly is a last resort; ideally your
  923. word processor should do this for you.  Here are some examples of
  924. control code entry:
  925.  
  926. In WordStar you can insert control characters by pressing <Ctrl P>
  927. first.  For example, the sequence to turn on emphasized printing
  928. is <Esc> 'E', so you would press
  929.  <Ctrl P> <Esc> E
  930. Control sequences                                               16
  931.  
  932. (a total of 3 keystrokes).  You will see
  933.  ^[E
  934. on your screen.  If you want to underline the last word in 'This
  935. is a test' you will see
  936.   This is a ^[Etest^[F
  937. (<Esc> 'F' turns off emphasized print.)
  938.  
  939. In PC-Write you can enter any code by using the <Alt> key along
  940. with the numeric keypad.  For example to enter <Esc> (which has an
  941. ASCII code of 27) press down on <Alt> and without releasing this
  942. key press '2' and '7' on the numeric keypad.  Now release <Alt>.
  943. (This should never be necessary - you can always modify PR.DEF to
  944. exploit LQ.  See LQPCWRIT.DOC for details.)
  945.  
  946. In WordPerfect you can insert control codes in your document by
  947. using angle brackets.  For example, to switch to font 3 you can
  948. insert <027><027><051>, which will send <Esc> <Esc> '3' to LQ.
  949.  
  950.  
  951. 6. The LQ parameter line.
  952.  
  953.     An easy way to set one-shot options LQ is in the command line
  954. typed when LQ is installed.  For example if you want proportional
  955. spacing for all your printing,
  956.     LQ MP
  957. will install LQ with the proportional mode turned on.  The 'LQ'
  958. file must be loaded each time an LQ command is given, so if LQ is
  959. not on the default drive, give the full path name for LQ, e.g.
  960. B:LQ MP (if LQ is on the disk in drive B).  You select as many
  961. options as you like in a single line by separating parameters with
  962. spaces.  For example,
  963.     LQ MPE F'MYFILE' W
  964. turns on proportional spacing, emphasized printing for the file
  965. MYFILE, pausing at form feeds.  This section lists all command
  966. line options.  Parameters are shown in upper case, but you can mix
  967. upper and lower case freely.
  968.  
  969. B
  970.   Set the buffer size (1 - 400) in K bytes.  For example LQ B64
  971.   dedicates 64K of RAM to the print spooler.  (The default is
  972.   16K.)  The command LQ BF flushes the buffer.  (It is easier to
  973.   flush the buffer using the Control Window.)
  974.  
  975.   The buffer can be installed only when LQ is first loaded.  To
  976.   change the buffer size, first remove LQ (see the R option below)
  977.   then load again.
  978.  
  979. C
  980.   Specifies a  character set in memory, or loads a new set.  Four
  981.   sets are embedded in LQ, and the first of these is normally used
  982.   as the default.  LQ C4 switches printing to the fourth set; when
  983.   used in this way, 'C' can be followed by one of the digits
  984.   1,2,3,4.  The standard sets installed in LQ are:
  985. LQ parameters                                                   17
  986.  
  987.     1 - COURIER.SET
  988.     2 - COURITAL.SET
  989.     3 - HELV.SET
  990.     4 - PALATINO.SET
  991.   These defaults can be changed with the LQINST program described
  992.   in Section 2.  You can see a list of all character sets on the
  993.   LQ disk by typing DIR *.SET at the DOS prompt '>'.  A printout
  994.   of current sets is given in Section 9.
  995.  
  996.  If the 'C' option is followed by a file name in quotes, the
  997.   character set having this name is loaded to the indicated set
  998.   number.  For example,
  999.             LQ C2'PRETTY'
  1000.   would load the character set PRETTY.SET as set number two
  1001.   (without switching to it).  The 'SET' suffix is the default; you
  1002.   should stick with this naming convention to maintain
  1003.   compatibility with the character editor EDCHAR.  You can
  1004.   simultaneously load a set and switch to it by using 'C' in both
  1005.   contexts; e.g.,
  1006.             LQ C2'PRETTY' C2.
  1007.   You can load all four sets in one line:
  1008.             LQ C1'FIRST' C2'SECOND' ...
  1009.   You can also use path names in the file specification:
  1010.             LQ C1'/MYDIR/FIRST'
  1011.  
  1012. D
  1013.   Loads LQ in draft mode.  This is useful if you want to use LQ's
  1014.   spooler without switching to the LQ mode.  You can always toggle
  1015.   the two modes with LQ's pop-up window.
  1016.  
  1017. F
  1018.   If you have a file named MYFILE, the command
  1019.             LQ F'MYFILE'
  1020.   will print MYFILE without locking LQ into memory.  This is an
  1021.   important option if your computer doesn't have enough memory to
  1022.   keep LQ resident, or if most of your printing is in draft mode.
  1023.   The file to be printed should be a standard text file, possibly
  1024.   containing some of the control sequences described in Section 3.
  1025.   You can send LQ's output to a file rather than to the printer by
  1026.   giving a second file name.  For example,
  1027.             LQ F'MYFILE','MYFILE2'
  1028.   will send the output to MYFILE2.  See Section 4 for details on
  1029.   the file mode.
  1030.  
  1031. K
  1032.   This lets you override the default key combination used to bring
  1033.   up the Control Window and assign a new pair of keys.  Use the
  1034.   following values:
  1035.  
  1036.      3 - Right Shift + Left Shift,
  1037.      5 - Right Shift + Ctrl,
  1038.      9 - Right Shift + Alt,
  1039.      6 - Left Shift + Ctrl,
  1040.     10 - Left Shift + Alt,
  1041.     12 - Ctrl + Alt,
  1042.      N - Disable window.
  1043. LQ parameters                                                   18
  1044.  
  1045.  
  1046.   For example, LQ K12 specifies the <Ctrl> <Alt> combination, and
  1047.   LQ KN disables the window.
  1048.  
  1049. L
  1050.   Sets the number of lines printed on a standard 11" page.  The
  1051.   default is 66; LQ L70 changes this to 70.  The number entered
  1052.   must be from 1 to 95.  Spacing between lines is micro-adjusted
  1053.   using the smallest line advance supported by your printer
  1054.   (1/216" or 1/144").
  1055.  
  1056. M
  1057.   Sets one or more of the following modes:
  1058.    E: emphasized printing,
  1059.    L: large (triple-high) printing,
  1060.    N: narrow (elite) printing,
  1061.    P: proportional spacing,
  1062.    W: double-wide printing.
  1063.   For example, LQ MEP could be used to turn on emphasized
  1064.   proportional printing.  Modes omitted default to the opposite
  1065.   state.
  1066.  
  1067. Q
  1068.   Suppresses the display of LQ's 'welcome' screen and begins
  1069.   execution immediately.  This is useful in batch files; for
  1070.   example, the commands
  1071.     LQ F'MYFILE' C1'SANSSER' Q
  1072.     LQ F'YOURFILE' C1'HELV' Q
  1073.   could be executed without the need for an operator to press a
  1074.   key to continue.
  1075.  
  1076. R
  1077.   The command
  1078.     LQ R
  1079.   removes LQ from RAM and returns the memory previously used to
  1080.   your system.  This option can be used only if LQ was the last
  1081.   'memory-resident' utility loaded.
  1082.  
  1083. S
  1084.   Sets the space per line in units of the smallest possible line
  1085.   advance.  For example, on an Epson (which advances in multiples
  1086.   of 1/216"), the command LQ S30 would set the distance between
  1087.   the tops of successive lines to 30/216".  The 'L' parameter
  1088.   generally offers an easier way of accomplishing the same
  1089.   objective.
  1090.  
  1091. W
  1092.   Wait at page breaks.  Use this for printing with single-sheet
  1093.   paper.  Each time the form feed character  (ASCII code 12) is
  1094.   encountered in a printout you will be prompted to
  1095.     Press <Enter> for next page:
  1096.   (In the file mode you can also press <Esc> to abort the
  1097.   printout.)
  1098.  
  1099. #
  1100.   Specify printer number (0,1 or 2) to be used by LQ.  If you have
  1101. LQ parameters                                                   19
  1102.  
  1103.   just one printer don't use this parameter; the proper value (0)
  1104.   is set by default.
  1105. 7. Creating or modifying a configuration file.
  1106.  
  1107.     If your printer is compatible with an Epson or another printer
  1108. for which a configuration file (with suffix PAR) exists on the LQ
  1109. disk, just follow the directions in Section 2 for letting LQ know
  1110. what you have.  If neither the built-in configuration nor any of
  1111. the PAR alternatives work, you will have to write your own
  1112. configuration file.  If you have problems, send us a copy of the
  1113. control code section of your printer manual and we will try to
  1114. write the file for you.  For LQ to work properly, your printer
  1115. must support
  1116.  
  1117.   1. a graphics mode in which 8 pins of the print head can be
  1118.      individually controlled, and
  1119.  
  1120.   2. a minimum line advance of either 1/216" or 1/144".
  1121.  
  1122. In addition, the graphics mode must be entered with a control
  1123. sequence telling the printer how much subsequent data will be in
  1124. graphics mode.  A prominent counterexample is the Okidata 92,
  1125. which
  1126.  
  1127.   1. controls only 7 pins in graphics mode, and
  1128.  
  1129.   2. uses one control sequence to turn graphics on and another to
  1130.      turn it off.
  1131.  
  1132. Later model Okidata printers and those equipped with the
  1133. Plug'N'Play ROM module do support LQ.
  1134.  
  1135.     A configuration file is a text file named with a suffix of PAR
  1136. which contains lines typically starting with a symbol indicating a
  1137. definition category, followed by a letter specifying the function
  1138. to be set, then the '=' character, then a word or sequence of
  1139. characters and numbers giving the definition itself.  For example,
  1140.     %A=27,'E'
  1141. indicates that emphasized print will be turned on with the <ESC>
  1142. 'E' sequence (that normally used by the Epson).  A control
  1143. sequence is a list of codes and/or characters separated by commas;
  1144. characters are put within quotes (one pair of single quotes per
  1145. character) and codes are given as decimal numbers.  The definition
  1146.     %A=27,69
  1147. is equivalent to that above since 69 is the ASCII code for 'E'.
  1148. (See Appendix B for a listing of ASCII codes.)  The leading symbol
  1149. indicates one of the following categories:
  1150.     % - a control sequence for a mode definition,
  1151.     & - a control sequence to ignore,
  1152.     $ - one of the words TRUE, FALSE,
  1153.     # - a decimal number.
  1154. A line starting with any other symbol is treated as a comment.
  1155.  
  1156. LQ parameters                                                   20
  1157.  
  1158.     While a complete listing of LQ parameters is given below,
  1159. there are only a few that you will need to change to create a
  1160. customized PAR file for a new printer.  These are:
  1161.   %N, %O, %P, %Q, %R
  1162.   $A, $B, $C
  1163.   #A, #B
  1164. To install LQ with your new printer XYZ we recommend the following
  1165. procedure:
  1166.  
  1167.   COPY EPSON.PAR XYZ.PAR
  1168.  
  1169.   Edit the XYZ.PAR file (using EDLIN or another editor which can
  1170.   handle standard ASCII files): modify the 10 parameters listed
  1171.   above to describe your printer's functions.
  1172.  
  1173.   Run LQINST as described in Section 2.
  1174.  
  1175. Remember that LQ will make your printer appear to a word processor
  1176. as an Epson MX 80 (or IBM Graphics Printer), so perform the
  1177. necessary installation on your word processor as well.
  1178.  
  1179.     Two values have special significance in a control sequence.
  1180. The number 0 will match 0 or '0' (the character whose ASCII code
  1181. is 48), and the number 255 will match anything else.  For an
  1182. illustration, see the description of the &A parameter in the
  1183. EPSON.PAR listing below.
  1184.  
  1185.     Here is the information LQ needs (any one of these omitted
  1186. defaults to the Epson value):
  1187.  
  1188.        % parameters.
  1189.  
  1190.   %A - control sequence for turning on emphasized print,
  1191.  
  1192.   %B - sequence for turning off emphasized print,
  1193.  
  1194.   %C - sequence for turning on double-strike print,
  1195.  
  1196.   %D - sequence for turning off double-strike print,
  1197.  
  1198.   %E - sequence for turning on italics,
  1199.  
  1200.   %F - sequence for turning off italics,
  1201.  
  1202.   %G - sequence for turning on double-wide print,
  1203.  
  1204.   %H - sequence for turning off double-wide,
  1205.  
  1206.   %I - sequence for turning on underline mode,
  1207.  
  1208.   %J - sequence for turning off underline mode,
  1209.  
  1210.   %K - sequence for turning on superscript,
  1211.  
  1212.   %L - sequence for turning on subscript,
  1213.  
  1214. LQ parameters                                                   21
  1215.  
  1216.   %M - sequence for turning off superscript/subscript,
  1217.  
  1218.   %N - prefix for turning on high-resolution graphics. For example,
  1219.        the Epson MX 80 manual describes its high-resolution mode
  1220.        as follows: <ESC> L  Sets dot graphics mode to 960 dots per
  1221.        8" line.
  1222.                 Format: <ESC> 'L' N1 N2, N1 and N2 determine
  1223.                 line length.  Line length = N1 + 256*N2,
  1224.                 1 <= N1 <= 255, 1 <= N2 <= 255
  1225.        Thus you would enter the prefix in your configuration file
  1226.        as %N=27,'L' or %N=27,76.  (You would also set the number
  1227.        of graphics bytes to 2 with #A=2, and non-ASCII (binary)
  1228.        number format with $B=FALSE.  See below.)  If you have
  1229.        several graphics densities to choose from, pick the one
  1230.        closest to 960 dots per 8" line (120 dots per inch).
  1231.  
  1232.   %O - In a similar fashion, %O gives the prefix used to set line
  1233.        feeds in units of the smallest possible increment.  Again,
  1234.        here is the appropriate material from the Epson manual:
  1235.        <ESC> 3  Sets line spacing to N/216".  Format:
  1236.                 <ESC> '3' N, 1 <= N <= 255
  1237.        You would enter %O=27,'3' (and set the number of line feed
  1238.        bytes with #B=1).
  1239.  
  1240.   %P - The control sequence used to put your printer in
  1241.        'unidirection' mode.  Most dot matrix printers print in
  1242.        both directions to speed up output, but the resulting
  1243.        characters are apt to vary in alignment.
  1244.  
  1245.   %Q - The sequence of characters you would like sent to your
  1246.        printer when LQ is disabled from the Control Window.  This
  1247.        should include an appropriate line feed setting and a
  1248.        return to bidirectional printing.  You can also reset your
  1249.        printer by turning its power off and on.
  1250.  
  1251.   %R - The sequence of characters you would like sent at the start
  1252.        of each line printed by LQ.  Epson-compatible printers
  1253.        don't need this parameter, but it can be very useful for
  1254.        other printer types.  For example, the C. Itoh doesn't have
  1255.        a separate 'high-resolution' graphics mode; graphics
  1256.        printing functions in the last character pitch (pica,
  1257.        elite, compressed,...) set.  The most appropriate pitch is
  1258.        compressed; %R=27,'Q' sets this at the start of each line.
  1259.  
  1260.        & parameters.
  1261.  
  1262.   &A - A sequence of characters to ignore (filter) from a
  1263.        printout.  Word processors often send initialization
  1264.        sequences which might appear as 'garbage' when printed by
  1265.        LQ.  The '&' parameters have been set to take care of any
  1266.        problems that could arise with the Epson MX / IBM Graphics
  1267.        Printer.
  1268.  
  1269.   &B, ... ,&L -
  1270.        Additional sequences to ignore.
  1271.  
  1272. LQ parameters                                                   22
  1273.  
  1274.        $ parameters.
  1275.  
  1276.   $A - You control 8 pins on the print head in graphics mode.  The
  1277.        pins correspond to the numbers 1,2,4,8,16,32,64,128; for
  1278.        example, to fire the two pins corresponding to the numbers
  1279.        2 and 16, the code 18 is sent to the printer.  If the
  1280.        highest pin corresponds to 1 and the lowest to 128, set
  1281.        $A=TRUE; if the order is reversed, set A$=FALSE.
  1282.  
  1283.   $B - There are two ways various printers accept numeric values:
  1284.        ASCII and binary.  To indicate to an Epson printer that 300
  1285.        graphics positions are about to be printed, the prefix
  1286.         <ESC>,'L',44,1
  1287.        is sent.  The numbers 44 and 1 are combined as 44 + 256*1
  1288.        to obtain the number 300; this is the binary format.  On
  1289.        many other brands of printers the number 300 would be sent
  1290.        as '3','0','0' or '0','3','0','0' in ASCII format.  Set
  1291.        $B=TRUE for ASCII or $B=FALSE for binary.
  1292.  
  1293.   $C - Set $C=TRUE if the minimum line space your printer will
  1294.        accept is 1/216"; if this value is 1/144", set $C=FALSE.
  1295.  
  1296.        # parameters.
  1297.  
  1298.   #A - The number of bytes after the graphics prefix (specified
  1299.        with %N) used to set the number of bytes expected by the
  1300.        printer.  For example, to print 300 bytes in high-
  1301.        resolution graphics you first send the Epson the sequence
  1302.        <ESC>,'L',44,1; since the prefix takes up two of these four
  1303.        bytes, the remaining two determine the setting #A=2.  The
  1304.        same task on a C. Itoh requires sending
  1305.        <ESC>,'S','0','3','0', '0', so you would set #A=4.
  1306.  
  1307.   #B - The number of bytes after the line feed prefix (specified
  1308.        with %O) to determine the space advanced by a line feed.
  1309.        (See #A.)
  1310.  
  1311.     Any setting omitted in a configuration file defaults to the
  1312. corresponding Epson value; see the EPSON.PAR listing below.
  1313.  
  1314. Creating the configuration file.
  1315.  
  1316.     Now that you know what to put in your configuration file, how
  1317. do you actually create one?  Any screen or line editor will do;
  1318. you will probably want to use your accustomed word processor.  If
  1319. you have no other alternative, you can always use the EDLINE line
  1320. editor which comes with DOS.  Just make sure that you create a
  1321. standard ASCII file, not a file in a special non-ASCII format used
  1322. internally by your program.  To see if you can make such a file,
  1323. try writing a 2-line test file and store it under the name
  1324. TESTFILE.  Then (at the DOS prompt '>') enter TYPE TESTFILE; if
  1325. the lines look right on your screen, you are probably in luck.
  1326. Check your word processor index under ASCII for details.
  1327.  
  1328.     If you have an unusual printer and succeed in creating a new
  1329. configuration file for it, please send us a listing of your file.
  1330. LQ parameters                                                   23
  1331.  
  1332. In return, if your configuration is significantly different from
  1333. those we already have on record we will send you a free LQ update.
  1334.  
  1335. The EPSON.PAR configuration file.
  1336.  
  1337.     If you are using an Epson printer or close compatible you
  1338. should never need a configuration file; all needed parameters are
  1339. already set by default.  However, if you are creating a new
  1340. configuration file for a different printer it is instructive to
  1341. look at the EPSON.PAR file which lists the Epson parameters; the
  1342. form f the file may be helpful, and you should know what the
  1343. defaults are in case you omit a parameter line.  Here are the
  1344. Epson values:
  1345.  
  1346.   {emphasized on:}
  1347.   %A=27,'E'
  1348.   {emphasized off:}
  1349.   %B=27,'F'
  1350.   {double-strike on:}
  1351.   %C=27,'G'
  1352.   {double-strike off:}
  1353.   %D=27,'H'
  1354.   {italics on:}
  1355.   %E=27,'4'
  1356.   {italics off:}
  1357.   %F=27,'5'
  1358.   {double wide on:}
  1359.   %G=14
  1360.   {double wide off:}
  1361.   %H=20
  1362.   {underline on:}
  1363.   %I=27,'-',255
  1364.     {the 255 code will match any 1-byte value except for 0 and
  1365.      '0'=48.  Likewise, 0 matches 0 or '0'=48.  This means you can
  1366.      turn off underlining in a document with the sequence
  1367.      <ESC> '-' '0', which is much easier to insert than
  1368.      <ESC> '-' 0.}
  1369.   {underline off:}
  1370.   %J=27,'-',0
  1371.   {superscript on:}
  1372.   %K=27,'S',0
  1373.   {subscript on:}
  1374.   %L=27,'S',255
  1375.   {superscript/subscript off:}
  1376.   %M=27,'T'
  1377.   {hi-res graphics prefix:}
  1378.   %N=27,'L'
  1379.   {set line feed:}
  1380.   %O=27,'3'
  1381.   {unidirection:}
  1382.   %P=27,'U',1
  1383.   {restore:}
  1384.   %Q=27,'U',0,27,'2'
  1385.   {start each line with:}
  1386.   %R=
  1387.   {no sequence needed for the Epson}
  1388. LQ parameters                                                   24
  1389.  
  1390.  
  1391.   {ignore:}
  1392.   &A=27,'C',0,255
  1393.   &B=27,'C',255
  1394.   &C=27,'N',255
  1395.   &D=27,'Q',255
  1396.   &E=27,'W',0
  1397.   &F=27,'x',0
  1398.  
  1399.   {true/false:}
  1400.   $A=FALSE
  1401.   {pin 128 on top}
  1402.   $B=FALSE
  1403.   {numbers in binary, not ASCII}
  1404.  $C=TRUE
  1405.   {min linefeed=1/216}
  1406.  
  1407.   {numbers:}
  1408.   #A=2
  1409.   {2 bytes allocated for number of graphics bytes}
  1410.   #B=1
  1411.   {1 byte for length of linefeed length}
  1412.  
  1413.  
  1414. 8. Tips for better printouts.
  1415.  
  1416.     LQ obtains its high quality print by making three passes over
  1417. each line, placing dots at very precise positions.  Any 'play' in
  1418. the paper can disrupt this precision and blur a line of print.  We
  1419. recommend that you keep the alignment precise by using friction
  1420. feed for single-sheet printing, or by making certain that there is
  1421. uniform tension on the paper when using pin-feed paper for longer
  1422. printouts.
  1423.  
  1424.     As previously mentioned, the first line of print is something
  1425. of a special case.  When your printer is first turned on there is
  1426. not apt to be sufficient tension on the paper to obtain the needed
  1427. precision on the first line.  This problem is solved by advancing
  1428. the paper a negligible distance; this is done automatically when
  1429. you use the F option for printing files or when LQ is loaded in
  1430. the resident mode (if the printer's power is on).  In other cases
  1431. you can use the Control Window to advance the paper by pressing
  1432. the 'A' key.  You can also begin a document with a blank line or
  1433. with <Esc> <Esc> B (see Section 5).
  1434.  
  1435.     Proportional spacing can improve the appearance of a document,
  1436. but this mode must be used with caution.  Since extra 'white
  1437. space' between characters is removed and since the amount of such
  1438. space varies considerably (e.g. compare the characters 'i' and
  1439. 'w'), tables of data can be distorted.  For example, if the two
  1440. lines
  1441.     iiii            xxxx
  1442.     wwww            yyyy
  1443. were printed with proportional spacing, the 'yyyy' would be
  1444. further left than 'xxxx'.  One way to avoid this problem is to
  1445. turn proportional spacing off (with <ESC> <ESC> 'Q') just before
  1446. Character sets                                                  25
  1447.  
  1448. the table and back on (<ESC> <ESC> 'P') at the end of the table.
  1449. With PC-Write you can use an 'align font' to preserve column
  1450. alignment with proportional spacing; see the file LQPCWRIT.DOC for
  1451. details.
  1452.  
  1453.     Most LQ modes are enhancements of familiar print styles, so
  1454. your word processor should not require special consideration.
  1455. However, triple-high characters will definitely come as a surprise
  1456. to any program which thinks it is counting 1/6" lines; you will
  1457. use up a sheet of paper three times faster than your word
  1458. processor expects.  To fix this, you can change the number of
  1459. lines per page in your word processor, or take charge yourself in
  1460. other ways.  One compromise has been made to keep margins
  1461. consistent:  if the string
  1462.    '       This is a test.'
  1463. (7 spaces preceding 'This') is printed in 'large character' mode,
  1464. the leading spaces are printed as normal characters.  This lets
  1465. you set the margin to a fixed value in your word processor rather
  1466. han worrying about whether the margin is in terms of large or
  1467. regular spaces.
  1468.  
  1469.  
  1470. 9. Character sets available in LQ.
  1471.  
  1472.      To see a list of all character sets on the LQ disk, type DIR
  1473. *.SET.  To obtain a printed copy of all character sets type
  1474. PRINSETS.
  1475.  
  1476.     The default sets installed in LQ are
  1477.  
  1478.     1 - COURIER.SET
  1479.     2 - COURITAL.SET
  1480.     3 - HELV.SET
  1481.     4 - PALATINO.SET
  1482.  
  1483. The second set is an italicized version of the first and will be
  1484. used automatically when you tell your word processor to use
  1485. italics.  The other such pairs of sets are
  1486.     HELV.SET            HELVITAL.SET
  1487.     MAIN.SET            MAINITAL.SET
  1488.     ROMAN.SET           ROMANITA.SET
  1489.     SANSSER.SET         SANSITAL.SET
  1490.     SANSSER2.SET        SANS2ITA.SET
  1491.  
  1492. Other sets currently included do not have italicized companions.
  1493.  
  1494.     You can change the fonts which are loaded automatically as
  1495. part of LQ with the LQINST program.  You can also create or change
  1496. fonts with the EDCHAR program.
  1497.  
  1498.  
  1499. 10. Editing character sets: the EDCHAR program.
  1500.  
  1501.     Sooner or later you will probably want to modify one of the
  1502. character sets provided with LQ, or make a new set from scratch.
  1503. For example, you may need a couple of special technical symbols
  1504. Editing character sets                                          26
  1505.  
  1506. occasionally, or you may fall in love with an altogether new font.
  1507. The EDCHAR program included on the LQ disk offers a convenient way
  1508. to edit characters in the format expected by LQ.  The basic
  1509. sequence is to run the program, specify the character set you want
  1510. to edit (which may be an existing set or a new one), edit one or
  1511. more characters corresponding to the ASCII codes 32-127, then save
  1512. the revised (or created) set.  EDCHAR also lets you move
  1513. characters from one set to another easily.
  1514.  
  1515.     To get started simply insert the LQ disk and type EDCHAR.  If
  1516. you want to edit an existing set, you will want to load it now; if
  1517. you are creating a new set, you can skip this step.  Press 'L' to
  1518. get the following L(oad) submenu:
  1519.  
  1520.   1. Load main character set.
  1521.   2. Load auxiliary character set.
  1522.   3. Return to Character Editor.
  1523.  
  1524. If you choose one of the first two options you are shown a list of
  1525. all character sets in the current directory, and you are given a
  1526. chance to select a set or to change the directory from which you
  1527. will select a set.  For example, if you enter '\MYDIR\', the path
  1528. will be changed to the indicated directory and all character sets
  1529. (files ending in '.SET') in this new directory will be listed.
  1530. Similarly, if the font you want is in the main directory of drive
  1531. B you would simply enter 'B:'.  You can browse through all your
  1532. directories in this fashion, and when you find the one containing
  1533. the set you want just type the set's name.  The set will be loaded
  1534. into memory as the main or auxiliary set depending on your
  1535. previous menu selection.  The main difference between these two
  1536. categories is that the main set can be altered but the auxiliary
  1537. set cannot.  The only reason to use an auxiliary set at all is to
  1538. transfer characters to the main set.
  1539.  
  1540.     Let's assume that you have loaded a main and/or auxiliary
  1541. character set if necessary and that you are ready to edit a
  1542. character.  Press 'G' to obtain the G(et) submenu:
  1543.  
  1544.   1. Get character from current set.
  1545.   2. Get character from auxiliary set.
  1546.   3. Edit new character.
  1547.   4. Return to Character Editor.
  1548.  
  1549. If you choose one of options 1 - 3, you will be prompted to enter
  1550. the ASCII code of the character or the character (preceded by a
  1551. single quote) itself.  For example, you can specify the letter 'A'
  1552. by entering the code 65 or by entering 'A.  If you selected option
  1553. 1 or 2, you will see the existing character from the appropriate
  1554. set ready for editing; if you choose option 3 you will see a clear
  1555. edit window.  (See Figure 1 for a typical display.)  A character
  1556. is edited as a 24 X 10 matrix of dots, each of which is turned on
  1557. or off.  You can use the arrow keys along with the Home, End, Pg
  1558. Up and Pg Dn keys to position the cursor.  Pressing the space bar
  1559. toggles the state of the dot under the cursor.  At any time you
  1560. can also select any of the menu options listed on the right of the
  1561. screen.
  1562. Editing character sets                                          27
  1563.  
  1564.  
  1565.   0   1   2   3   4   5   6   7   8   9      Edit character set:
  1566. A░░░░████████████████████████            A    C:\TB\LQ3\helv
  1567. B    ████                    ████        B
  1568. C    ████                        ████    C   Auxiliary set:
  1569. D    ████                        ████    D
  1570. E    ████                        ████    E
  1571. F    ████                        ████    F   Edit character B
  1572. G    ████                        ████    G        code =  66
  1573. H    ████                    ████        H
  1574. I    ████████████████████████            I
  1575. J    ████                    ████        J   Options:
  1576. K    ████                        ████    K
  1577. L    ████                        ████    L   B)ackup character
  1578. M    ████                        ████    M   C)lear character
  1579. N    ████                        ████    N   G)et character
  1580. O    ████                        ████    O   L)oad character set
  1581. P    ████                        ████    P   M)iddle (center character)
  1582. Q    ████                        ████    Q   P)ut character
  1583. R    ████                    ████        R   Q)uit
  1584. S    ████████████████████████            S   R)estore character
  1585. T                                        T   S)ave character set
  1586. U                                        U   T)able for PC-Write
  1587. V                                        V   W)rite character to printer
  1588. W                                        W
  1589. X                                        X
  1590.  
  1591.                         Figure 1
  1592.  
  1593.     When the character has been edited to your satisfaction, you
  1594. can put it into the main character set with the P(ut) option.  You
  1595. will be given a chance to change the code under which the
  1596. character will be stored, but more than likely you will use the
  1597. default: the code you used with the G(et) command.
  1598.  
  1599.     There are three levels of storage used in EDCHAR.  The
  1600. ultimate (and only safe) storage site is your disk, and only
  1601. complete sets, not individual characters, are saved as files on
  1602. disk.  There are also the main and/or auxiliary character sets in
  1603. your computer's volatile memory; since the power may flicker at
  1604. any time, you should backup a set you are editing on a regular
  1605. asis.  Finally, there is the individual character being edited:
  1606. modifying this character affects neither the set in memory nor the
  1607. set on disk.  Only when you P(ut) the character to a set is the
  1608. set in memory changed, and only when you S(ave) the set in memory
  1609. is the set on disk changed.
  1610.  
  1611.     When editing a character, you have at your disposal the
  1612. following options:
  1613.  
  1614.   B)ackup character - pressing 'B'makes a copy in memory of the
  1615.     character definition currently displayed.
  1616.  
  1617.   C)lear character - pressing 'C' blanks the character matrix, but
  1618.     doesn't affect the corresponding character in the set being
  1619.     edited.  (Remember, only the P(ut) command changes that.)
  1620. Editing character sets                                          28
  1621.  
  1622.  
  1623.   G)et character - the first step in editing a character.  You are
  1624.     shown the following menu:
  1625.     1. Get character from current set.
  1626.     2. Get character from auxiliary set. 3. Edit new character. 4.
  1627.     Return to Character Editor. In order to get a character from a
  1628.     set (options 1 and 2) you must first L)oad the set.
  1629.  
  1630.   M)iddle - lets you center a single character or an entire set.
  1631.     You are shown the following menu:
  1632.       1. Center character.
  1633.       2. Center entire set.
  1634.       3. Return to Character Editor.
  1635.     Selecting the first option centers the character definition on
  1636.     the screen, while choosing the second centers all of the
  1637.     character definitions in the main character set.  If
  1638.     characters are not centered then spacing within words can
  1639.     appear irregular; it is always a good idea to center the
  1640.     entire set when you are finished editing it.
  1641.  
  1642.   P)ut character - replaces corresponding character in the main
  1643.     set with that shown on the screen.  If you don't press 'P'
  1644.     your editing will not change the character set.  You are asked
  1645.     whether the character on the screen should be saved under the
  1646.     code under which it was loaded or under a different code.  For
  1647.     example, you could load a 'P', modify it a little, then save
  1648.     it as the character 'R'.
  1649.  
  1650.   Q)uit prompts you to make certain you're serious, then returns
  1651.     to DOS.
  1652.  
  1653.   R)estore character is the reverse of backup - the last character
  1654.     definition backed up with the 'B' option replaces that being
  1655.     displayed.
  1656.  
  1657.   Backup and restore let you experiment with a character
  1658.     definition without altering a set on disk.
  1659.  
  1660.   S)ave character set - pressing 'S' lets you save the set being
  1661.     edited under the name used for loading the set, or under any
  1662.     other name.  You are prompted to enter the name of the set or
  1663.     the path for saving.  You can overwrite the previous version
  1664.     simply by pressing return, or you can create a separate second
  1665.     version by changing the path or name.  You will want to use
  1666.     the S(ave) option often since it provides cheap insurance
  1667.     against power fluctuation and other perils to your data.
  1668.  
  1669.   T)able for PC-Write - this option allows you to create a width
  1670.     table for proportional spacing in PC-Write.  See the file
  1671.     LQPCWRIT.DOC for details.
  1672.  
  1673.   W)rite character lets you see how your character looks on paper
  1674.     if you have an Epson-compatible printer attached.  You will be
  1675.     prompted to turn on your printer, then the character being
  1676.     displayed will be printed in LQ mode.  (LQ should not be
  1677.     installed in memory if you use this option.)  Note that while
  1678. Additional programs                                             29
  1679.  
  1680.     LQ works with printers which are not Epson-compatible (through
  1681.     the use of PAR configuration files), EDCHAR does not.  This
  1682.     simply means that if you want to see your new characters on
  1683.     paper, you may have to wait until you exit EDCHAR and run LQ.
  1684.  
  1685. Tips on editing character sets.
  1686.  
  1687.     Make certain that you use the same 'base lines' for all the
  1688. characters in a given set, so that the characters will line up
  1689. properly when printed.  The following should be aligned:
  1690.   the base of characters without descenders,
  1691.   the top of lower case letters such as 'a' and 'c',
  1692.   the top of upper case letters.
  1693.  
  1694.     If you want to create a new font, you may want to work from an
  1695. existing font.  For example, you might reuse the punctuation
  1696. symbols but change the letters and numbers.  To do this, copy (at
  1697. the DOS prompt) the set to be edited to a new name:
  1698.  A> COPY OLD.SET NEW.SET.
  1699. Now you can run EDCHAR and edit the new set without risking your
  1700. old set.  The same thing can be accomplished from within EDCHAR by
  1701. loading a set, editing it, then saving it to a different name, but
  1702. you must be sure to enter the new name or your old set will be
  1703. lost.
  1704.  
  1705.  
  1706. 11. Additional programs.
  1707.  
  1708.     There are a few additional programs and files on the LQ disk
  1709. which can enhance your use of the package.  Included are
  1710. LETHEAD.COM, LETHEAD.DOC, BIGPRINT.COM, PRINTBIN.EXE and
  1711. LQPCWRIT.DOC.  Following is a description of each:
  1712.  
  1713. LETHEAD - the LQ letterhead editor.
  1714.  
  1715.      LETHEAD is a graphics editor which works in conjunction with
  1716. LQ to produce high-resolution letterheads consisting of 1" x 1"
  1717. pictures and up to four lines of accompanying text.  Each picture
  1718. (23040 dot positions) is stored in the format of an LQ character
  1719. set, although the picture segments don't look like characters.
  1720. LETHEAD lets you
  1721.   edit a picture
  1722.   save a picture
  1723.   load a picture
  1724.   create a data file to be printed with the picture serving as one
  1725.   of LQ's character sets (the letterhead).  The final product can
  1726.   be printed with a one-line batch file.
  1727.  
  1728.     The basic idea behind printing pictures is that all LQ
  1729. characters are arbitrary graphics shapes anyway, so a block of
  1730. them can be combined to make a larger image.  The only problem is
  1731. the space that is normally inserted between characters and between
  1732. lines.  By preceding a sequence of characters with the control
  1733. code '<Esc> <Esc> C', no space will be inserted; '<Esc> <Esc> D'
  1734. returns LQ to the usual mode.  If the graphics mode is active at
  1735. the end of a line then the next line will start exactly where the
  1736. Additional programs                                             30
  1737.  
  1738. last line left off regardless of the current line space setting.
  1739. LETHEAD automatically inserts the proper control sequences when
  1740. you use it to create a letterhead.  Typing LQDEMO will produce a
  1741. printout which includes a spiral pattern; look at the file
  1742. DEMODATA.1 to see the data which produces this picture.
  1743.  
  1744.     For complete instructions on using LETHEAD you will need to
  1745. print the file LETHEAD.DOC from the LQ disk by typing
  1746.   PRINTMAN LETHEAD.DOC.
  1747. To view the manual on the screen, enter
  1748.   PRINTMAN/S LETHEAD.DOC.
  1749.  
  1750.  
  1751. BIGPRINT: a banner printer.
  1752.  
  1753.     BIGPRINT.COM is a program which will let you print banners in
  1754. any LQ font.  After you type BIGPRINT you will be prompted:
  1755.  
  1756.   This program lets you print posters using any of the LQ
  1757.   character sets.
  1758.  
  1759.   Name of character set? (Default = ROMAN.SET)
  1760.  
  1761. Enter the name of the LQ font you wish to use, or just press
  1762. <Enter> to accept the default of Roman.  Next you are asked
  1763.  
  1764.   Is your printer Epson-compatible?
  1765.  
  1766. Type Y or N as appropriate, then press <Enter>.  Finally you are
  1767. asked to
  1768.  
  1769.   Enter string:
  1770.  
  1771. At this point enter the text you wish to print; the string will be
  1772. printed lengthwise on your paper with characters about 5" high
  1773. (centered on 8.5" wide paper).
  1774.  
  1775.  
  1776. Using the DOS PRINT utility to spool LQ files to disk.
  1777.  
  1778.     Print spoolers offer a natural way to relieve perhaps the most
  1779. prominent bottleneck in your computer system - the slow speed of
  1780. your printer.  By printing in the background while other
  1781. processing tasks continue you are free to continue using your
  1782. computer rather than sitting idly by.  LQ has a built-in spooler
  1783. which is customized for the graphics printing that LQ does, but it
  1784. does take up some of your valuable RAM.  An alternative is to make
  1785. use of the PRINT.COM utility which comes free with your DOS - this
  1786. program lets you keep the queue of characters waiting to be
  1787. printed on disk rather than in RAM.  If you have a hard disk you
  1788. may have millions of characters of free space, so this presents an
  1789. attractive alternative.  However a few qualifications are in
  1790. order.
  1791.  
  1792.     If you plan to print documents in LQ mode using PRINT.COM, LQ
  1793. must first process the file, and this involves a 40-fold expansion
  1794. Additional programs                                             31
  1795.  
  1796. in its size.  For example if MYFILE is 1000 characters long, then
  1797. the file MYFILE.OUT created by entering
  1798.   LQ F'MYFILE','MYFILE.OUT'
  1799. (see Section xx for a description of the F parameter) will be
  1800. about 40,000 characters long.  The new output file contains lots
  1801. of control characters which will prompt PRINT.COM to take some
  1802. inappropriate action (such as converting tab characters to
  1803. spaces); PRINT was designed for printing program listings and
  1804. such, not arbitrary binary files.  You must create a modified
  1805. version of PRINT to deal with the latter.  To this end the program
  1806. PRINTBIN.EXE has been included on the LQ disk.  You will need this
  1807. program and the DOS PRINT.COM program available at the same time;
  1808. after you enter PRINTBIN you will see the following screen (with
  1809. your entries indicated in boldface):
  1810.  
  1811.  
  1812.   PrintBin (c) Copyright 1988 by Mark Harris.
  1813.   All rights reserved.  6/1/88
  1814.  
  1815.   This program makes a copy of the DOS PRINT.COM utility (from
  1816.   your system disk) and modifies it to let it print binary files.
  1817.   It also suppresses the form feed which PRINT normally adds to
  1818.   the end of a file.  The new program will be called BPRINT.COM.
  1819.  
  1820.   Type location of PRINT.COM or press <Enter> if in default
  1821.   drive/directory: (e.g. A: or C:MYDIR1MYDIR2)
  1822.   \DOS
  1823.  
  1824.   Type location for BPRINT.COM or press <Enter> for default
  1825.   drive/directory:
  1826.   B:
  1827.  
  1828.     In this case the PRINT.COM program was in the subdirectory
  1829. \DOS on the default drive and the new program BPRINT.COM is to be
  1830. put on the disk in drive B.  Substitute your own paths and/or
  1831. drives.
  1832.  
  1833.     The original PRINT.COM is unchanged but now you have a new
  1834. program BPRINT.COM for printing binary files.  Consult your DOS
  1835. manual for instructions on its use.  (Treat it just as you would
  1836. PRINT.COM.)
  1837.  
  1838.     There are several steps in printing files in the manner
  1839. described above; here is a summary of the process:
  1840.  
  1841. 1. You enter text in your word processor to create FILE1.
  1842. 2. You output from word processor to file instead of printer to
  1843.    create FILE2.
  1844. 3. LQ F'FILE2','FILE3'
  1845. 4. BPRINT FILE3
  1846. 5. Now use your computer will printing continues in the
  1847.    background.  Delete FILE2 and FILE3 when printing is finished.
  1848.  
  1849.  
  1850. Additional programs                                             32
  1851.  
  1852. Using LQ with PC-Write.
  1853.  
  1854.     LQ works well with most word processors, but especially well
  1855. with PC-Write.  Any LQ feature can be exploited easily from PC-
  1856. Write; in particular, microjustification and proportional spacing
  1857. are fully supported.  To get an idea of what this can do for the
  1858. appearance of your documents type LQDEMO; the printout you'll get
  1859. was formatted with PC-Write.
  1860.  
  1861.     For details on the LQ/PC-Write combination, see the file
  1862. LQPCWRIT.DOC.  You can obtain a printout by entering
  1863.   PRINTMAN LQPCWRIT.DOC.
  1864. To view the manual on the screen, enter
  1865.   PRINTMAN/S LQPCWRIT.DOC.
  1866.  
  1867.  
  1868. Appendix A. About 'Shareware'.
  1869.  
  1870.     'Shareware' is a relatively new means of software distribution
  1871. with several advantages to you the consumer.  The complete package
  1872. including this instruction manual is contained on a single
  1873. diskette which may be freely copied and distributed.  Word of
  1874. mouth provides a more accurate and less expensive way of making a
  1875. product known than magazine advertisements, and the savings keep
  1876. LQ's cost down.
  1877.  
  1878.     Shareware does not mean 'public domain'.  Distribution is
  1879. permitted only if the package stays intact; all files should be
  1880. passed on in unmodified form.
  1881.  
  1882.     You can obtain the current LQ disk from Granny's Old-Fashioned
  1883. Software for $10 or a registered package for $35.  Registration
  1884. provides the following benefits:
  1885.  
  1886.   1. A current version of LQ including printed manual,
  1887.   2. a mail-in card for a future version of LQ,
  1888.   3. a $10 commission each time someone registers from one of
  1889.      your copies,
  1890.   4. telephone support for your technical questions.
  1891.  
  1892. To register, phone (with MC or VISA) (704) 264-6906 or
  1893. mail payment to:
  1894.  
  1895.           Granny's Old-Fashioned Software
  1896.           Rt 4, Box 216
  1897.           Boone, NC 28607
  1898.  
  1899. North Carolina residents please add 4.5%.  Foreign orders please
  1900. add $3.00 for shipping.
  1901.  
  1902. Please include the registration number from the upper right of
  1903. LQ's initial display so that we can reimburse the person from whom
  1904. your copy originated.
  1905. ASCII codes                                                     33
  1906.  
  1907. Appendix B. ASCII codes.
  1908.  
  1909.          0             43    +        86    V
  1910.          1   ^A        44    ,        87    W
  1911.          2   ^B        45    -        88    X
  1912.          3   ^C        46    .        89    Y
  1913.          4   ^D        47    /        90    Z
  1914.          5   ^E        48    0        91    [
  1915.          6   ^F        49    1        92    \
  1916.          7   ^G        50    2        93    ]
  1917.          8   ^H        51    3        94    ^
  1918.          9   ^I        52    4        95    _
  1919.         10   ^J        53    5        96    `
  1920.         11   ^K        54    6        97    a
  1921.         12   ^L        55    7        98    b
  1922.         13   ^M        56    8        99    c
  1923.         14   ^N        57    9       100    d
  1924.         15   ^O        58    :       101    e
  1925.         16   ^P        59    ;       102    f
  1926.         17   ^Q        60    <       103    g
  1927.         18   ^R        61    =       104    h
  1928.         19   ^S        62    >       105    i
  1929.         20   ^T        63    ?       106    j
  1930.         21   ^U        64    @       107    k
  1931.         22   ^V        65    A       108    l
  1932.         23   ^W        66    B       109    m
  1933.         24   ^X        67    C       110    n
  1934.         25   ^Y        68    D       111    o
  1935.         26   ^Z        69    E       112    p
  1936.         27  Esc        70    F       113    q
  1937.         28             71    G       114    r
  1938.         29             72    H       115    s
  1939.         30             73    I       116    t
  1940.         31             74    J       117    u
  1941.         32   SP        75    K       118    v
  1942.         33    !        76    L       119    w
  1943.         34    "        77    M       120    x
  1944.         35    #        78    N       121    y
  1945.         36    $        79    O       122    z
  1946.         37    %        80    P       123    {
  1947.         38    &        81    Q       124    |
  1948.         39    '        82    R       125    }
  1949.         40    (        83    S       126    ~
  1950.         41    )        84    T       127  Del
  1951.         42    *        85    U
  1952. ASCII codes                                                     34
  1953.  
  1954.  
  1955.  
  1956.        128    Ç       171    ½       214    ╓
  1957.        129    ü       172    ¼       215    ╫
  1958.        130    é       173    ¡       216    ╪
  1959.        131    â       174    «       217    ┘
  1960.        132    ä       175    »       218    ┌
  1961.        133    à       176    ░       219    █
  1962.        134    å       177    ▒       220    ▄
  1963.        135    ç       178    ▓       221    ▌
  1964.        136    ê       179    │       222    ▐
  1965.        137    ë       180    ┤       223    ▀
  1966.        138    è       181    ╡       224    α
  1967.        139    ï       182    ╢       225    ß
  1968.        140    î       183    ╖       226    Γ
  1969.        141    ì       184    ╕       227    π
  1970.        142    Ä       185    ╣       228    Σ
  1971.        143    Å       186    ║       229    σ
  1972.        144    É       187    ╗       230    µ
  1973.        145    æ       188    ╝       231    τ
  1974.        146    Æ       189    ╜       232    Φ
  1975.        147    ô       190    ╛       233    Θ
  1976.        148    ö       191    ┐       234    Ω
  1977.        149    ò       192    └       235    δ
  1978.        150    û       193    ┴       236    ∞
  1979.        151    ù       194    ┬       237    φ
  1980.        152    ÿ       195    ├       238    ε
  1981.        153    Ö       196    ─       239    ∩
  1982.        154    Ü       197    ┼       240    ≡
  1983.        155    ¢       198    ╞       241    ±
  1984.        156    £       199    ╟       242    ≥
  1985.        157    ¥       200    ╚       243    ≤
  1986.        158    ₧       201    ╔       244    ⌠
  1987.        159    ƒ       202    ╩       245    ⌡
  1988.        160    á       203    ╦       246    ÷
  1989.        161    í       204    ╠       247    ≈
  1990.        162    ó       205    ═       248    °
  1991.        163    ú       206    ╬       249    ∙
  1992.        164    ñ       207    ╧       250    ·
  1993.        165    Ñ       208    ╨       251    √
  1994.        166    ª       209    ╤       252    ⁿ
  1995.        167    º       210    ╥       253    ²
  1996.        168    ¿       211    ╙       254    ■
  1997.        169    ⌐       212    ╘       255     
  1998.        170    ¬       213    ╒       
  1999.  
  2000.