Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ laserjet(1) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpadmin(1M)

lpfilter(1M)

lp(1)



laserjet(1)                      DG/UX R4.11                     laserjet(1)


NAME
       laserjet - interface filter for an HP laserjet printer

SYNOPSIS
       /usr/lib/lp/bin/laserjet [-a int] [-b int] [-c num]
       [-d plex] [-f name] [-h int] [-i style] [-l int] [-o mode]
       [-p num] [-r int] [-s space] [-t type] [-w weight]
       [-B bin] [-E dest] [-F form] [-S char-set] [-T term]

   where:
       int     An integral number.
       name    A font name.
       plex    simplex or duplex printing.
       style   Font style upright, italic, condensed, etc.
       mode    l (landscape) or p (portrait) orientation.
       num     A real number.
       space   fixed or prop (proportional) spacing.
       type    Typeface courier, line-printer, etc.
       weight  Font weight light, medium, bold, etc.
       bin     Bin feeder or paper source.
       dest    Output bin or paper destination.
       form    Form type executive, letter, legal, etc.
       term    A terminal type (printer type).

DESCRIPTION
       The laserjet filter can be used to select advanced options on a
       laserjet compatible printer.  This filter takes command line options,
       converts these options into laserjet escape sequences, and sends
       these sequences to the standard output.  The standard input is also
       read and passed directly through to the standard output.

       Options are:

       -a int    Timeout after int seconds if the printer is offline or in
                 some error state.  A value of 0 (zero) will turn off the
                 timeout mechanism.

       -b int    Set bottom margin int lines from top margin.  Also referred
                 to as text length.

       -c int    Set character pitch to int characters per inch.

       -d plex   Select plex printing.  Supported values are:
                               simplex   duplex   duplex-short

       -f name   Select font name.  Font names depend on the HP laserjet
                 printer model (or emulation).  A list of the available
                 fonts can be printed from the control panel. Only internal
                 fonts are supported with this option.

       -h int    Set top margin at line int.  A caveat to this option is
                 that a formfeed is issued after the escape sequence.  This
                 formfeed results in a blank page, but assures the top
                 margin setting will take hold for the first page of text.

       -i style  Select font style style.  The styles supported are:
                      upright      italic       condensed   cond-italic
                      compressed   expanded     outline     inline
                      shadow       out-shadow

       -l int    Set left margin at column int.

       -o mode   Select orientation mode.  Orientation can be set to
                 portrait or landscape.  Only the first letter is
                 significant.

       -p num    Set font point size to num.

       -r int    Set right margin at column int.

       -s space  Select character spacing mode space.  Spacing mode can be
                 set to fixed, or prop (proportional).

       -t type   Select typeface type.  The typefaces available depend on
                 printer model (or emulation), and font cartridges
                 installed.  Selecting a typeface will automatically select
                 the spacing.  Typefaces supported are:

                   line-printer       pica               elite
                   courier            helvetica          cg-triumvirate
                   swiss-721          times-roman        cg-times
                   dutch-801          letter-gothic      script
                   prestige           calson             orator
                   presentation       helvetica-c        serifa
                   futura             palatino           itc-souvenir
                   optima             itc-garamond       cooper-black
                   coronet            broadway           bauer-bodoni-c
                   century-school     university-roman   helvetica-roman
                   futura-c           itc-korinna        naskh
                   cloister-black     itc-galliard       itc-avant-garde
                   brush              blippo             hobo
                   windsor            helvetica-c        helvetica-xc
                   peignot            baskerville        itc-garamond-c
                   trade-gothic       goudy-old-style    i-zapf-chancery
                   clarendon          i-zapf-dingbats    cooper
                   itc-bookman        stick              hp-gl-drafting
                   hp-gl-spline       gill-sans          univers
                   bodoni             rockwell           melior
                   itc-tiffany        itc-clearface      amelia
                   park-avenue        handel-gothic      dom-casual
                   itc-benguiat       itc-cheltenham     century-x
                   franklin-goth      franklin-goth-c    franklin-goth-xc
                   plantin            trump-mediaeval    futura-black
                   itc-amer-type      antique-olive      uncial
                   itc-bauhaus        century-old-s      itc-eras
                   friz-quadrata      i-lubalin-graph    eurostile
                   mincho             itc-serif-gothic   snell-roundhand
                   souvenir-gothic    stymie             univers-c
                   univers-x          bernhard-modern    itc-amer-type-c
                   excelsior          gando-ronde-scr    ondine
                   pt-barnum          kaufman            itc-bolt
                   antique-olive-c    helvetica-mono     revue
                   garamond           garth-graphic      itc-ronda
                   ocra               itc-century        englische-schreib
                   flash              gothic-num         stencil
                   ocrb               akzidenz-grotesk   td-logos
                   shannon            i-stone-informal   itc-stone-sans
                   itc-stone-serif    schneidler         itc-symbol
                   itc-weidemann      copperplate-goth   trajan
                   concorde           janson-text        linotype-cent
                   life               minister           new-cent-school
                   maru-gosikku       gosikku            socho
                   kyokasho           kaisho             tradition-arabic
                   arabic-news        post-antiqua       devanagari
                   krishna            ranjit             raj-raja
                   gyosh              hebrew             nork
                   ousbouh            koufi              i-franklin-goth
                   bem                aachen             americana
                   arnold-boecklin    copperplate-goth   belwe
                   itc-berkeley-old   frutiger           candida
                   folio              corona             itc-kabel
                   garamond-3         sabon              itc-novarese
                   weiss              hiroshige          french-script
                   meridien           mistral            aster
                   caledonia          nuptial-script     lucida
                   adobe-w-series-1   memphis            lucida-sans
                   syntax             utopia             berthold-walbaum
                   minion             marigold           itc-tiepolo
                   versailles         itc-leawood        itc-caslon
                   bar-codes          itc-quorum         engravers-old-eng
                   kennerly           albertus           aura
                   glypha             tempo              univers-news
                   thunderbird        shelley            univ-greek-math
                   itc-century        flyer              wedding-text
                   avenir             lucia              tekton
                   charme             kuenstler-script   i-n-baskerville
                   news-gothic        medici-script      carta
                   adobe-symbol       perpetua           raleigh
                   romic              bauer-bodoni       cascade-script
                   vag-rounded        russell-square     i-franklin-goth
                   typo-roman         neuzeit-s          parisian
                   impressum          reporter-2         freestyle-script
                   serpentine         lithos             simple-arabic
                   maximus            micr               charlemagne
                   present-script     engravers-roman    formal-script
                   sonata             doric              ornaments
                   garamond-sim       adobe-w-series-2   eccentric
                   adobe-garamond     comm-script        wilhelm-kling
                   tsi-caxton         fette-fraktur      banco
                   times-new          cg-omega           wingdings
                   arial

                 Typeface names that end with a -c are condensed or
                 compressed.  Those that end with a -xc are extra condensed,
                 and those with a -x are extended or expanded.

       -w weight Select stroke weight weight.  Font stroke weight can be set
                 to any of the following:
                           ultra-thin    extra-thin    thin
                           extra-light   light         demi-light
                           semi-light    medium        semi-bold
                           demi-bold     bold          extra-bold
                           black         extra-black   ultra-black

       -B bin    Select bin feeder bin.  The bin feeders available depend on
                 printer model (or emulation), and attached bin feeders.
                 Bin feeder can be any of the following:
                    standard       optional     upper-tray     lower-tray
                    low-cassette   mp-tray      opt-cassette   manual
                    manual-env     paper-deck   envelope

       -E dest   Select output bin dest.  The output bins available depend
                 on printer model (or emulation).
                                    upper-bin   rear-bin

       -F form   Select page size form.  Page size can be any of the
                 following:
                          executive   letter   legal   ledger   A4
                          monarch     com10    DL      C5

       -S char-set
                 Select character or symbol set char-set.  The symbol sets
                 available depend on printer model (or emulation).

       -T term   Use Printer type term.  The default type is laserjetII, but
                 can be set to one of the other HP laserjet types.


       Many of these options are printer dependent or may not work in
       combination, so it is important to check your printers manual.  If a
       printer does not support a particular feature and the option is
       given, then the option will usually be ignored when the file is
       printed.


EXAMPLES
       The laserjet filter may be access through the lp print service
       facility, or may be used directly on the command line.  When using
       this filter on the command line, you must redirect both the input and
       output of the filter.  The following are examples of using the
       laserjet filter on the command line.

       To print file1 using internal font I00, issue the following command:

              cat file1 | laserjet -f I00 | lp

       To print file1 using internal font I001 with the spanish symbol set:

              cat file1 | laserjet -f I001 -S spanish | lp

       To print file1 using a 12 cpi prestige font in a pointsize of 10
       (assuming an appropriate cartridge is installed):

              cat file1 | laserjet -t prestige -c 12 -p 10 | lp

       To print file1 on monarch envelopes from the envelope bin feeder:

              cat file1 | laserjet -F monarch -B envelope | lp


DIAGNOSTICS
       An exit status of 0 is returned if the filter succeeded.  If you are
       using the laserjet filter through the lp print service and a printer
       fault is detected during output (e.g. carrier drop), then an error
       message is sent to standard error.  This message is forwarded to the
       lp scheduler which in turn alerts the user of the fault.

FILES
       /usr/lib/lp/terminfo/laserjet
       /usr/lib/lp/bin/laserjet
       /etc/lp/filter.table

SEE ALSO
       lpadmin(1M), lpfilter(1M), lp(1)

NOTES
       The laserjet filter is automatically configured into the lp print
       service facility.  In order to establish this filter as the interface
       filter to your printer, you should set the printer input type to
       laserjet.  Additionally, the printer type should be set to the
       appropriate laserjet type or printer specific type.  See lpadmin(1M)
       for more details on setting up printers.

       When using the laserjet filter through the lp print service, you can
       specify the filter options with the lp -y "modes" option.  The lp
       options differ from those given to the filter.  See lp(1) for more
       information on the "-y modes" options.



Licensed material--property of copyright holder(s)

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