home *** CD-ROM | disk | FTP | other *** search
/ BlastDOS / QuickLink.rar / QuickLink / DOSFILES.PAK / PRINTFAX.TXT < prev    next >
Text File  |  1996-02-12  |  6KB  |  126 lines

  1. <<< PRINTFAX.EXE Documentation >>>
  2.  
  3.     QuickLink II Fax  has  a  flexible   fax   printing   program   called
  4.     PRINTFAX.EXE.   It utilizes printer files with a .QLP extension.  These
  5.     printer files define how the  PRINTFAX  program  should  print  to  the
  6.     target printer.   Shipped on the QL II Fax  distribution  diskette  are
  7.     three printer files.
  8.  
  9.     9PIN.QLP will print on most 9 pin printers
  10.     24PIN.QLP is used for printing to 24 pin printers
  11.     LASER.QLP for printing to HP LaserJet printers
  12.  
  13.     This document will help the user who needs to modify  an  existing  QLP
  14.     file to work with their  printer,  or  create  a  new  QLP  file.   The
  15.     PRINTFAX program is used  from  within  the  QL II Fax  application  by
  16.     pulling down the File Menu Bar and selecting the  Print  Fax  function.
  17.     To choose which type of printer you are using, pull down the Setup Menu
  18.     and choose Hardware Setup.  Now Press the Type Button.   A Dialog  will
  19.     appear with a list of all the  printers  supported  by  the  above  QLP
  20.     files.  By picking a printer in the list,  you  are  telling  QL II Fax
  21.     which printer file PRINTFAX should use.
  22.  
  23.     To add support for an additional printer, you should copy the QLP  file
  24.     which is closest to your printer and name it something else.   Use  the
  25.     following command from the DOS command line:
  26.  
  27.     COPY 9PIN.QLP MYPRINT.QLP
  28.  
  29.     Now using the Edit Old File under the Edit Menu Bar, you will edit  the
  30.     new QLP file to work for your printer.  Once you QLP  file  is  on  the
  31.     screen, you will notice that it  is  a  text  file  with  some  special
  32.     commands in it.  The first few lines of the text  file  lists  all  the
  33.     printers that the QLP file will support.   Since we  are  modifying  an
  34.     existing QLP file, delete all the name in quotes, and add the  name  of
  35.     your printer on the first line  of  the  text  file.   It  should  look
  36.     something like this:
  37.  
  38.     "My Printer XYZ-100"
  39.     ; This line is a comment.  The entire line will be ignored
  40.     INIT=<ESC>3<24><CR><LF>
  41.     .
  42.     .
  43.     .
  44.  
  45.     Now you will need to modify each of the printer commands to  work  with
  46.     your printer.  Each printer command can have a  maximum  of  100  char-
  47.     acters in it.  The commands with an * next to them  are  mandatory  and
  48.     must be in the QLP file for it to print.   Here is a  compete  list  of
  49.     printer commands:
  50.  
  51.     INIT            String given to printer at the start of a print job
  52.     START_PAGE      Command given at the beginning of each fax page
  53.     END_PAGE        Given at the end of each fax page
  54.     EXIT            Command given to printer at the end of the job
  55.  
  56.     These three printer commands are use only when  printing  in  draft
  57.     mode.   The quality is selected in  Hardware  Setup,  next  to  the
  58.     printer list.
  59.        *LOW_RES_DPI     Gives resolution of printer, size of a page
  60.     LOW_RES_SET     Command given to printer after the INIT to set
  61.             low res printing.
  62.        *LOW_RES_PRINT   Command to print graphics in low res.
  63.  
  64.     These three printer commands are for normal printing only.
  65.        *NORM_RES_DPI    Gives resolution of printer, size of a page
  66.     NORM_RES_SET    Command given to printer after the INIT to set
  67.             normal res printing.
  68.        *NORM_RES_PRINT  Command to print graphics in normal res.
  69.  
  70.     These three printer commands are for high res printing only.
  71.        *HI_RES_DPI      Gives resolution of printer, size of a page
  72.     HI_RES_SET      Command given to printer after the INIT to set
  73.             high res printing.
  74.        *HI_RES_PRINT    Command to print graphics in hi res.
  75.  
  76.     To set one of these printer commands in the QLP file, type its name  on
  77.     the left most margin, type an equals sign, then type the  ASCII  values
  78.     to be sent to the printer.  Non-printable ASCII  values  (values  below
  79.     32)  need to be in the format that is shown in your QuickLink Manual.      
  80. <BS>    8           <DLE>   16          <CAN>   24
  81.     An example of setting the EXIT printer command would be:
  82.  
  83.     EXIT=<ESC>E
  84.  
  85.     This command will make PRINTFAX to send an ASCII 27, then an ASCII  69.
  86.     This is the command to reset a LaserJet.
  87.  
  88.     There are four other special commands that you will see in  QLP  files.
  89.     These commands are used  for  the  LOW_RES_PRINT,  NORM_RES_PRINT,  and
  90.     HI_RES_PRINT printer commands.  They are:
  91.  
  92.     <N1>    9pin and 24 pin graphics command
  93.     <N2>    9pin and 24 pin graphics command
  94.     <N3>    Selects width of graphics printing for the LaserJet
  95.     <DATA>  Replaced by the actual stream of graphics fax data being
  96.         sent to the printer (used by all printers)
  97.  
  98.     For example, the command to print  120 dpi printing on a 9 pin is:
  99.  
  100.     NORM_RES_PRINT=<ESC>L<N1><N2><DATA><CR><LF>
  101.  
  102.     The <N1> and the <N2> commands will be  replaced  by  number  which to-
  103.     gether represents the width of the  data  to  be  sent  by  the  <DATA>
  104.     command.  For further documentation of  <N1>  and  <N2>  refer  to  you
  105.     printer manual.
  106.  
  107.     There is a special format for the LOW_RES_DPI, NORM_RES_DPI, HI_RES_DPI
  108.     commands.  The format is:
  109.  
  110.     NORM_RES_DPI=H1xV1:H2xV2:V3
  111.  
  112.     H1 = printer horizontal dots per inch
  113.     V1 = printer vertical dots per inch
  114.     H2 = width of page in dots
  115.     V2 = length of page in dots (0 = continuous)
  116.     V3 = width of print head in dots
  117.  
  118.     example for LaserJet:  NORM_RES_DPI=150x150:1200x1540:1
  119.     example for 9pin:      NORM_RES_DPI=120x72:960x0:8
  120.  
  121.     To find out how your printer prints graphics,  refer  to  your  printer
  122.     manual.  Because of the wide variety of printers on the  market,  Smith
  123.     Micro Software, Inc.  does  not  guarantee  that  PRINTFAX  has  enough
  124.     flexibility to be able to print to every printer,  but  in  testing  it
  125.     did print to most.
  126.