Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gpsinterface(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lp(1)

lpadmin(1)

cancel(1)



GPSINTERFACE(1)                 Printing Tools                 GPSINTERFACE(1)



NAME
     gpsinterface - Generic PostScript model for System V spooling.

DESCRIPTION
     gpsinterface is a model file based on Sys V spooling for Serial
     PostScript printers. gpsinterface provides a mechanism for printing
     normal ASCII text, PostScript, and RGB image data to a PostScript
     printer.

     While adding a new printer using System Manager Tool , choose Generic
     PostScript Type for selecting gpsinterface. The gpsinterface processes
     the input data and  invokes the appropriate filters to convert the input
     data into printer language PostScript.

     The gpsinterface invokes lptops filter to convert normal ASCII text to
     PostScript. The lptops filter  supports  selection of  a variety of fonts
     at arbitrary point  sizes, margin specification, portrait and landscape
     page orientation, automatic page numbering, page outlining, and multi-
     column printing.  It can  also handle overstruck text used by many
     document formatters for underlining. The user can select the different
     options through -o option of System V lp command.

     In the option descriptions below, physical dimensions described as # may
     be specified as a single number with an optional fractional part, and  a
     required two-letter unit designator.  Letter case is ignored.    Possible
     forms are:

     #.##bp  big point (1in = 72bp)          [Courier: 120.000/Pbp cpi]
     #.##cc  cicero (1cc = 12dd)             [Courier:  9.381/Pcc cpi]
     #.##cm  centimeter                      [Courier:  4.233/Pcm cpi]
     #.##dd  didot point (1157dd = 1238pt)   [Courier: 112.569/Pdd cpi]
     #.##in  inch                            [Courier:  1.667/Pin cpi]
     #.##mm  millimeter (10mm = 1cm)         [Courier:  42.333/Pmm cpi]
     #.##pc  pica (1pc = 12pt)               [Courier:  10.038/Ppc cpi]
     #.##pt  point (72.27pt = 1in)           [Courier: 120.450/Ppt cpi]
     #.##sp  scaled point (65536sp = 1pt)    [Courier: 7.893/(Psp/1000000) cpi]

     The bracketed values give the number of characters per inch (cpi) for  a
     point size of P units with  the fixed-width Courier font.  For  example,
     with point size  8bp, there are  120/8 = 15  characters per inch.   With
     point size 1000000sp, there are 7.893 characters/inch.

     The letter case is ignored in the options, and the following options may
     appear in any order.

     -a   Turn Scribe-like bold and italic requests (@b[...] and @i[...]) into
          bold or italic text.

     -b#  Bottom margin of #.






                                                                        Page 1





GPSINTERFACE(1)                 Printing Tools                 GPSINTERFACE(1)



     -cn  Print n copies of each page.

     -ffontname
          PostScript fontname.   Possible values  with  acceptable short
          abbreviations (formed from the upper-case  letters in the font
          names) are  as follows.  The  first 13  are available on all
          PostScript printers; the remainder  are available only on enhanced
          printers, such as the  Apple LaserWriter Plus.
                    ====================            =====
                    full name                       short
                    ====================            =====
                    Courier                         C
                    Courier-Bold                    CB
                    Courier-BoldOblique             CBO
                    Courier-Oblique                 CO
                    Helvetica                       H
                    Helvetica-Bold                  HB
                    Helvetica-BoldOblique           HBO
                    Helvetica-Oblique               HO
                    Symbol                          S
                    Times-Bold                      TB
                    Times-BoldItalic                TBI
                    Times-Italic                    TI
                    Times-Roman                     T

                    AvantGarde-Book                 AGB
                    AvantGarde-BookOblique          AGBO
                    AvantGarde-Demi                 AGD
                    AvantGarde-DemiOblique          AGDO
                    Bookman-Demi                    BD
                    Bookman-DemiItalic              BDI
                    Bookman-Light                   BL
                    Bookman-LightItalic             BLI
                    Helvetica-Narrow                HN
                    Helvetica-Narrow-Bold           HNB
                    Helvetica-Narrow-BoldOblique    HNBO
                    Helvetica-Narrow-Oblique        HNO
                    NewCenturySchlbk-Bold           NCSB
                    NewCenturySchlbk-BoldItalic     NCSBI
                    NewCenturySchlbk-Italic         NCSI
                    NewCenturySchlbk-Roman          NCSR
                    Palatino-Bold                   PB
                    Palatino-BoldItalic             PBI
                    Palatino-Italic                 PI
                    Palatino-Roman                  PR
                    ZapfChancery-MediumItalic       ZCMI
                    ZapfDingbats                    ZD
                    ====================            =====

          Only the Courier fonts  are fixed-width like  typewriter and line
          printer fonts are.  The others are proportional spaced  for
          improved  readability,  and   consequently, tabular material will



                                                                        Page 2





GPSINTERFACE(1)                 Printing Tools                 GPSINTERFACE(1)



          not line up  properly with  them.  The Courier fonts  have a  width
          equal to  0.6 of  their point size, so to fill a line W inches wide
          with up to N characters, one must have  point size <=  (W/(0.6 * N
          * 72)) = (W*120)/N pt.  Equivalently, with a point size  P pt, the
          output spacing is 120/P char/inch.

     -h   Horizontal page orientation (landscape mode) instead  of vertical
          page (portrait mode).

     -i#  Top margin of # for  initial page (for letterheads);  if not
          specified, it  will default to  the value given  for the top margin
          by default or by the -T# command.

     -l#  Left margin of #.

     -mn  Multiple column output (n columns).  In multiple  column mode,
          formfeeds  cause  column breaks  instead  of  page breaks.

     -n[tb][lcr]n
          Number output pages.  The number is placed by default in the center
          of the  top margin,  but the  margin can  be selected explicitly by
          t (top) or  b (bottom), and  the position of the page number can be
          further specified  by l (left),  c (center),  or r  (right).  If  n
          is  given, start numbering with that  value, and otherwise with  1.
          If an initial  top margin  value is given  with the  -I# option,
          numbering will be omitted  on the first page  if it is at the top.
          Pages are unnumbered if this  option is not specified.

     -o[#]
          Outline pages  (and  columns) with  a  # units  wide.  A narrow line
          of 0.4pt width  is assumed if # is  omitted; this particular width
          is what TeX uses in typesetting.

     -p#  Font point  size  (default  10bp).   The  baseline  skip (spacing
          between  successive  character  baselines)  is conventionally chosen
          to be 6/5  of this value, so  that with 10bp  type,  we  have  12bp
          between  lines,  or  6 lines/inch, the same as standard printer
          output.

     -r#  Right margin of #.

     -t#  Top margin of #.

     -u   Output pages in unsorted  (first to last) order  instead of in
          sorted  (page reversed)  order;  some  PostScript printers have page
          handlers that stack the paper in this order.     The   default  is
          sorted  because   this   is appropriate for the most common
          PostScript printer,  the Apple LaserWriter.

     -v   Vertical page orientation (portrait mode) instead  of Horizontal
          page orientation (landscape mode).




                                                                        Page 3





GPSINTERFACE(1)                 Printing Tools                 GPSINTERFACE(1)



     Defaults are:

          lp -o"-B1.0in -C1 -FCourier -L1.0in -M1 -P10bp -R1.0in -T1.0in"
          <ascii_text_file>

FILES
     /usr/spool/lp/interface/gpsinterface
                           an interface file.

     /usr/lib/print/lptops filter to convert text to PostScript.

SEE ALSO
     lp(1), lpadmin(1), cancel(1)










































                                                                        Page 4



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026