home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / WP / WP039.ZIP / FG2-5.EXE / DRV.DOC next >
Text File  |  1992-02-01  |  14KB  |  375 lines

  1.                              Printer Driver Editor
  2.  
  3.    If your printer is not directly supported by FormGen, you may set up a .DRV
  4.    file for your printer using a pair of utilities included on your FormGen
  5.    diskettes.
  6.  
  7.    The DRV program will load and allow you to edit the control sequences sent to
  8.    the printer during the printing process.
  9.  
  10.    The DRVPRINT program will print a complete list of the .DRV file contents to
  11.    allow you to check the sequences you've entered or as reference when you're
  12.    working on a file.
  13.  
  14. Using the DRV Editor
  15.  
  16.    The DRV Editor is started by typing:
  17.  
  18.           DRV filename
  19.  
  20.    where filename is the name of an existing .DRV file
  21.  
  22.    ie.
  23.  
  24.           DRV HP (to edit the driver file HP.DRV)
  25.  
  26.    The editor will load the .DRV file and present the printer contoll sequences
  27.    in format similiar to the one shown below:
  28.  
  29.                        >>> FormGen .DRV Editor <<<
  30. ------------------------------------------------------------------------------
  31. Printer description: Epson FX series                  Driver #  4
  32. ------------------------------------------------------------------------------
  33. Font Description         Sp Start Sequence            End Sequence
  34. Double Condensed Pica    50 ^O^[G                     ^R^[H
  35. Double Elite             50 ^[M^[G                    ^[P^[H
  36. Proportional Pica        50 ^[p1                      ^[p0
  37. Emphasized Pica          50 ^[E                       ^[F
  38. Double Enlarged Elite    50 ^[M^[^N^[G                ^[P^[T^[H
  39. Empasized Enlarged Pica  50 ^[E^[^N                   ^[F^[T
  40. ------------------------------------------------------------------------------
  41. Fillin text       ^[E                      |end       ^[F
  42. Line Graphics     ^@                       |end       ^@
  43. Floating Text     ^[S^@^[j^T               |end       ^[T^[3^T^J
  44. Printer setup     ^[@                      |Reset     ^[@
  45. Landscape seq     ^@                       |Portrait  ^@
  46. Form Feed         ^L                       |Transpare ^@
  47. Row Prefix        ^@                       |suffix    ^@
  48. Dot Col Prefix    ^@                       |suffix    ^@
  49. # Copies prefix   ^@                       |suffix    ^@
  50. Rel Dot Row Prefi ^@                       |suffix    ^@
  51. Foreign Translation Type  3                 Line Draw Type  1
  52. ------------------------------------------------------------------------------
  53.  
  54.    Each of the shown fields has a specific purpose and may be tailored to your
  55.    precise requirements.  You simply press [Enter] after reviewing (and
  56.    modifying, if necessary) each field to move to the next.  Once each field has
  57.    been reviewed, the editor saves the updated file and exits to DOS.
  58.  
  59.    When setting up ypur own printer driver, it is good idea to make a copy of
  60.    the closest possible driver and then make the modifications to the copy.
  61.  
  62. Printer Description
  63.  
  64.    This is the description of the printer that will be displayed on the printer
  65.    configuration list in the FormGen Configuration Module.  Make sure you
  66.    provide enough detail here to differentiate it from other drivers for the
  67.    user to properly select it.
  68.  
  69. Driver #
  70.  
  71.    This selectes the basic printer type and determines which of the internal
  72.    print driver subsystems FormGen will use to control the printer.  The driver
  73.    types are:
  74.  
  75.     1-300 dpi PCL laser printers
  76.         for 300 dpi laser which user the HP PCL command set and will be
  77.         using internal or cartridge-based fonts
  78.         use this option for HP LaseJet + and compatible printers (for
  79.         the original LaserJet, see option 13)
  80.  
  81.     2-300 dpi Xerox laser printers
  82.         for Xerox 4045 or Xerox 2700 type laser printers
  83.  
  84.     3-line printers with IBM extended set
  85.         for daisywheel or dotmatrix printers which can directly print
  86.         the IBM extended character set
  87.         use this option for printers like the IBM Proprinter or the
  88.         Diablo 630 ECS
  89.  
  90.     4-dot graphics and n/72" line spacing
  91.         for dot matrix printers that do not directly support the IBM
  92.         extended character set and set spacing in 72nds of an inch
  93.         this is for printers that recognize ESC L as the beginning of a
  94.         8 bit dot graphics command and on which ESC A directly sets
  95.         n/72" line spacing (ESC 2 is NOT required)
  96.         use this option for Epson MX/RX/FX compatibles
  97.  
  98.     5-dot graphics and n/180" line spacing
  99.         for dot matrix printers that do not directly support the IBM
  100.         extended character set and set spacing in 180ths of an inch
  101.         this is for printers that recognize ESC L as the beginning of a
  102.         8 bit dot graphics command and on which ESC 3 sets n/180" line
  103.         spacing
  104.         use this option for Epson LQ/SQ compatibles
  105.  
  106.     6-dot graphics and n/216" line spacing
  107.         for dot matrix printers that do not directly support the IBM
  108.         extended character set and set spacing in 216ths of an inch
  109.         this is for printers that recognize ESC L as the beginning of a
  110.         8 bit dot graphics command and on which ESC 3 sets n/216" line
  111.         spacing
  112.  
  113.     7-Tandy dot printers (native mode text)
  114.         this driver uses the IBM code ESC L to print lines and graphics
  115.         and the Tandy native mode for printing text, giving access to
  116.         such items as color printing
  117.         can be used only with Tandy printers that can switch between
  118.         Tandy and IBM modes using ESC !
  119.  
  120.     8-Tandy dot printers (IBM emulation mode)
  121.         this driver is used with Tandy printers that are set to IBM mode
  122.  
  123.     9-HP DeskJet
  124.         for the Hewlett-Packard DeskJet which doesn't accept the PCL
  125.         command for mutiple copies, but is compatible in other respects
  126.  
  127.     11-Dot Matrix (6 lpi)
  128.         for dot matrix printers which directly support the use of the
  129.         IBM character set and will print the characters at their full
  130.         height allowing the printer to use standard 6 lpi spacing
  131.  
  132.     13-Original HP LaserJet
  133.         for the original HP laser which has a limited command set and
  134.         MUST have a cartridge installed with a line draw character set
  135.  
  136. Font Description
  137.  
  138.    The description of the fonts which will be displayed at the time a text
  139.    window is opened.
  140.  
  141. Sp (line spacing)
  142.  
  143.    The distance between lines that should be used when printing window text (in
  144.    300th of an inch measured form baseline to baseline).  This is usually the
  145.    same as the height of the font.
  146.  
  147. Start Sequence
  148.  
  149.    The control sequence which will activate the font. (see section Control Codes
  150.    for more info)
  151.  
  152. End Sequence
  153.  
  154.    The control sequence which will deactivate any special attributes turned on
  155.    in the start sequence.  (not necessary for laser printers where complete
  156.    fonts are selected for each operation)
  157.  
  158. Fillin text
  159.  
  160.    Selects the font to use when printing data entered in FormFill.  This should
  161.    be set to a 10cpi font.
  162.  
  163. Line Graphics
  164.  
  165.    Selects the font to use when printing line characters.  This should be set to
  166.    a 10cpi font.
  167.  
  168. Floating Text
  169.  
  170.    These sequences are sent just before and just after floating text is printed.
  171.    Ith sequence should raise the text in superscript or reverse the page a
  172.    fraction of a line and then restore it.
  173.  
  174. Printer Setup
  175.  
  176.    This sequence is sent to the printer at the beginning of a print job and
  177.    should set it for 6lpi, 10cpi printing.
  178.  
  179. Reset
  180.  
  181.    This sequence is sent to the printer at the end of a print job and allows you
  182.    to leave the printer in a known state.
  183.  
  184. Landscape
  185.  
  186.    This sequence sets the printer to landscape mode. (laser printers only)
  187.  
  188. Portrait
  189.  
  190.    This sequence sets the printer to portrait mode. (laser printers only)
  191.  
  192. Form Feed
  193.  
  194.    Sequence to eject a page from the printer.
  195.  
  196. Transparent
  197.  
  198.    Sequence to inform the printer that the next character is a control-type
  199.    character, but its ASCII representation is to be printed.
  200.  
  201. Row Prefix/Suffix
  202.  
  203.    Start and end of sequence for direct row addressing.  FormGen inserts an
  204.    ASCII numeric value between these.  (laser printers only)
  205.  
  206. Dot Col Prefix
  207.  
  208.    Start and end of sequence for direct dot column addressing.  FormGen inserts
  209.    an ASCII numeric value between these.  (laser printers only)
  210.  
  211. # Copies prefix
  212.  
  213.    Start and end of sequence to set number of copies to print.  FormGen inserts
  214.    an ASCII numeric value between these.  (laser printers only)
  215.  
  216. Rel Dot Row Prefi
  217.  
  218.    Start and end of sequence for relative dot row addressing.  FormGen inserts
  219.    an ASCII numeric value between these.  (laser printers only)
  220.  
  221. Foreign Translation Type
  222.  
  223.    This parameter allows you to determine how foreign characters will be
  224.    produced on the printer.
  225.  
  226.     0-no foreign character support
  227.         for printers that do not support foreign characters
  228.  
  229.     1-no translation required
  230.         for printers that directly support foreign characters using the
  231.         IBM extended character set
  232.  
  233.     2-HP Roman 8 Extention
  234.         for printers using the HP Roman 8 symbol set mapping for foreign
  235.         characters
  236.  
  237.     3-Epson Foreign Sets
  238.         for Epson type printers that allow selective remapping of groups
  239.         of foreign characters into the regualar ASCII set
  240.  
  241.     4-Xerox ISO
  242.         for printers that allow the addition of accents to characters
  243.         using the Xerox ISO set
  244.  
  245.     5-use table in driver
  246.         activates the character remapping facility in FormGen
  247.  
  248.     6-overprint build
  249.         FormGen assembles representatyions of foreign characters by
  250.         adding accents to regular ASCII characters
  251.         ie.
  252.         (é) e accent acute is printed by printing e, backing up one
  253.         space and then printing '
  254.         for fixed fonts only - not likely to produce desirable results
  255.         with proportional fonts
  256.  
  257.     7-use transparent sequence for 128 - 159
  258.         for printers that have foriegn characters mapped into ASCII
  259.         locations 128 to 159 but usually interpret them as control codes
  260.  
  261. Line Draw Type
  262.  
  263.     0-directly supported
  264.         for printers that directly support the line drawing cahracters
  265.         in the IBM extended character set
  266.  
  267.     1-dot graphics
  268.         for printers that must use dot graphics to print lines
  269.  
  270.     2-HP Line Draw set
  271.         for older laser printers that do not support the line drawing
  272.         characters in the IBM extended character set and have no facilty
  273.         for FormGen to downloaded a line drawing font
  274.         this setting will allow the use of a font cartridge with the HP
  275.         line draw set
  276.  
  277.     3-daisy wheel
  278.         uses the | and - characters to draw lines on a daisywheel
  279.         printer
  280.  
  281.     4-Xerox forms font set
  282.         uses the line characters in the Xerox forms font
  283.  
  284.     5-direct addressing
  285.         sends specific row and column addresses ahead of each line
  286.         character in order to prevent line alignment problems on certain
  287.         printers
  288.  
  289.  
  290. Table Maintenance
  291.  
  292.    A number of data tables are contained in the .DRV file.  These may be
  293.    modified to suit the particular printer as required.
  294.  
  295. Foreign Character Translation Table
  296.  
  297.    The foreign character translation table allows you to remap the character set
  298.    in the PC to suit the character set in your printer.  Each entry from 128 to
  299.    175 is displayed on the screen.  You may enter the appropriate ASCII value
  300.    for the matching character in your printer.  This table must be activated by
  301.    setting the Foreign Translation Option to #5.
  302.  
  303. Font Width Tables
  304.  
  305.    There are a set of six font tables in each .DRV file - one for each font
  306.    supported.  These tables contain the width (in 300ths of an inch) for each
  307.    character in each font.
  308.  
  309.    If the corresponding font is not proportional, a single value (in 300ths of
  310.    an inch) may be entered here and it will be automatically replicated through
  311.    the entire table.  If the font is proportional, enter a zero.  The editor
  312.    will then prompt for the desired unit of measure.  If your manual describes
  313.    the character widths in 180ths of an inch enter 180 here and it will be used
  314.    as a factor to convert all your entries to 300ths.
  315.  
  316. Control Codes
  317.  
  318.    Control sequences are entered by typing them into the various field areas.
  319.    Control codes and the escape character are represented using a common
  320.    shorthand method.
  321.  
  322. null char (or ASCII 000) is entered as ^@
  323. control A (or ASCII 001) is entered as ^A
  324. control B (or ASCII 002) is entered as ^B
  325. .
  326. .
  327. .
  328. control Z (or ASCII 026) is entered as ^Z
  329. escape    (or ASCII 027) is entered as ^[
  330.  
  331.    ie.
  332.  
  333.    You want to set up font 6 for double wide, emphasized printing on your dot
  334.    matrix printer.  Your printer manual tells you that double width printing is
  335.    turned on using ESC W 1 and off with ESC W 0.  It also tells you that then
  336.    emphasized print mode is activated using ESC E and deactivated with ESC F.
  337.  
  338.    First, you type the description under the heading "Font Description":
  339.  
  340.           Empasized Double Width
  341.  
  342.    Second, you set the line spacing:
  343.  
  344.           50   (has no effect on a dot matrix printer)
  345.  
  346.    Third, you enter the codes to turn on the double width and the emphasized
  347.    print:
  348.  
  349.           ^[W1^[E  (escape, W, 1, escape, E)
  350.  
  351.    Finally, you enter the codes to turn off the emphasized and double print
  352.  
  353.           ^[F^[W0  (escape, F, escape, W, 0)
  354.  
  355.    The line in the editor will look like:
  356.  
  357. Font Description         Sp Start Sequence            End Sequence
  358. .
  359. .
  360. Empasized Double Width   50 ^[W1^[E                   ^[F^[W0
  361.  
  362.  
  363. Editing
  364.  
  365.    You may edit you entries using the [Ins], [Del], and [Ctrl][End] keys
  366.  
  367.    [Ins] - inserts a blank at the cursor position
  368.  
  369.    [Del] - deletes the character at the cursor position
  370.  
  371.    [Ctrl][End] - clears the current entry
  372.  
  373.    [Enter] - saves the definition and moves to the next field
  374.  
  375.    [Esc] - abandons any changes and move to the next field