Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ splp(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lp

lp

splp

PURPOSE

     Changes or displays printer driver settings.

SYNOPSIS
     splp [ options ] [ device ]


DESCRIPTION

     The  splp  command changes  or  displays  settings for  a
     printer driver (device).  The default device is /dev/lp0.
     If you do not specify any flags, splp reports the current
     settings  for  the  specified device.   Select  flags  to
     change  the current  settings.   No  other processing  is
     done, and there is no other output.

     The changes  that splp makes  remain in effect  until the
     next time you restart the  system or rerun splp.  You can
     run splp from the /etc/rc  command file to configure your
     printer each time you start up the system.

     Note:  When  the print command  is used with  the backend
     piobe, splp is  set as +plot.  Any parameters  set by the
     user are ignored.  If a  file is redirected using the cat
     command instead  of the print command,  the splp settings
     are active.

FLAGS

     timer=num   Sets  the time  out  period  to num  seconds,
                 where num is an integer.
     indent=num  Indents num columns, where num is an integer.
     length=num  Prints num  lines per  page, where num  is an
                 integer.
     width=num   Prints num columns, where num is an integer
     +bs (-bs)   Sends  (does  not  send)  backspaces  to  the
                 printer.
     +cap (-cap) Converts  (does  not convert)  all  lowercase
                 characters to uppercase.
     +cr (-cr)   Sends  carriage returns  (translates carriage
                 returns to carriage return - line feeds).
     +cstopb (-cstopb)
                 Selects 2 (1) stop bits per character.

     cs5 cs6 cs7 cs8
                 Selects  character size.   See termio  in AIX
                 Operating  System   Technical  Reference  for
                 additional information on character size.
     +err (-err) Issues (does  not issue) a  signal (SIGIOINT)
                 upon receiving  a VRM  error and  attempts to
                 resume I/O.
     +ff (-ff)   Sends form feeds (simulates  a form feed with
                 line feeds or carriage returns).
     +fontinit (-fontinit)
                 Indicates  that fonts  are (are  not) loaded.
                 Use this  flag to control  the initialization
                 of fonts for the 3812 Pageprinter.
     +nl (-nl)   Sends  line-feeds (translates  line feeds  to
                 line feed - carriage returns).
     +parenb (-parenb)
                 Enables  (disables)   parity  generation  and
                 detection.
     +parodd (-parodd)
                 Selects odd (even) parity.
     +plot       Sends all  characters to the  printer unmodi-
                 fied.  This overrides other settings.
     -plot       Translates characters  according to  the set-
                 tings.
     +sync (-sync)
                 Does  not (does)  return immediately  without
                 waiting for all data to be sent out.
     +tb (-tb)   Expands (does not expand) tabs on eight posi-
                 tion boundaries.
     +wrap (-wrap)
                 Wraps (truncates) characters beyond the spec-
                 ified  width  to  the  next  line  and  (with
                 +wrap), prints " . . . "  before the new-line
                 character.
     50 75 110  134 150 300 600 1200 1800  2400 4800 9600 exta
                 extb
                 Sets  the speed  to the  specified number  of
                 bits per second (exta is 19200).

EXAMPLES

     1.  To display the current printer settings:

           splp

     2.  To change the printer settings:

           splp  width=80  +wrap  +cap

         This changes the settings  of the /dev/lp printer for
         80-column  paper (width="80").   It  wraps each  line
         that is more than 80  columns wide onto a second line
         (+wrap),  and  prints  all alphabetic  characters  in
         uppercase (+cap).

RELATED INFORMATION

     The following command:  "lp."

     The lp file in AIX Operating System Technical Reference.

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