*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> slp (1)              


 slp(1)                                                               slp(1)

 NAME    [Toc]    [Back]
      slp - set printing options for a non-serial printer

 SYNOPSIS    [Toc]    [Back]
      slp [-a] [-b] [-c cols] [-d] [-i indent] [-k] [-l lines] [-n] [-o] [-r]
      [-C pages] [-O pages]

 DESCRIPTION    [Toc]    [Back]
      slp sets printer formatting options such as the number of lines per
      page, number of characters per line, and indentation.  These
      characteristics are controlled by the printer driver as described in
      lp(7).  slp acts on the current standard output.

    Options    [Toc]    [Back]
      slp recognizes the following options and arguments:

           -a             Report all option settings.

           -b             Specify a character printer where backspace
                          characters pass through the driver unchanged.  The
                          absence of this option indicates a line printer.
                          The driver takes the necessary action to
                          accommodate backspace characters.

           -o             Resets the printer back to line-printer mode.

           -ccols         Limit the number of columns to be printed to cols.
                          Characters beyond the specified limit are

           -d             Reset options to default for the device.  This
                          action is not taken until the next open occurs on
                          the device.

           -iindent       Indent indent columns before printing the first

           -k             Select cooked mode.  Cooked mode must be used with
                          a cooked device special file which is identified
                          by an lp mnemonic that is not preceded by the
                          character r.

           -llines        Specify the number of lines per page.  The last
                          new-line character of each page is changed to a

           -n             Set the page size to infinity.  Since the last
                          new-line of the page is never encountered, no
                          new-line characters are changed to form-feeds.

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 slp(1)                                                               slp(1)

           -r             Select a raw mode for graphics dumps.  All other
                          options are ignored except -a.  If the -r option
                          is not given, -k is assumed.

           -Cpages        Eject zero or more pages after the final close of
                          the device.

           -Opages        Eject zero or more pages when the device is

 EXAMPLES    [Toc]    [Back]
      In a typical case, the printer is set to 80 columns, no indentation,
      with no form-feeds between pages:

           slp -c80 -i0 -n >/dev/lp

 WARNINGS    [Toc]    [Back]
      Use of the slp command in conjunction with the lp spooler (see lp(1))
      might cause undesirable side effects.  The spooler model files make
      assumptions regarding the configuration and can get confused when the
      default values are altered.  Although most options can be altered
      without difficulty, special problems sometimes result from adjusting
      the number of lines and the number of columns per page.

 AUTHOR    [Toc]    [Back]
      slp was developed by HP.

 SEE ALSO    [Toc]    [Back]
      lp(1), ioctl(2), lp(7).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
mkbsdnetpr IRIX provide access to a remote printer using the BSD printing protocols
mkserialpr IRIX install a serial interface System V printer
lpenabled IRIX monitor printer output port and enable printer when port is writable.
print IRIX printing tools
glp IRIX graphical lp printing command
pr Linux convert text files for printing
i18n_printing Tru64 Introduction to internationalized printing support
lp Tru64 Sends or cancels a printing request
addclient IRIX allow remote printing clients to connect
cancel Tru64 Sends or cancels a printing request
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service