SLP(1) — HP-UX
Series 200, 300, 800 Only
NAME
slp − set the options for a printer
SYNOPSIS
slp [−a] [−b] [−ccols] [−d] [−iindent] [−llines] [−n] [−Cpages] [−Opages]
DESCRIPTION
Slp sets printer status information such as the number of lines per page, the number of characters per line, and the indentation. These characteristics are controlled by the printer drive as described in lp(7). Slp acts on the current standard output.
The meanings of the options are:
−a Reports all of the option settings.
−b Indicates that this is a character printer; back spaces are to pass through the driver unchanged. The absence of this option indicates a line printer. The driver takes the necessary action to accommodate a backspace character.
−ccols Cols selects the number of columns to be printed. Characters beyond the last specified column will be truncated.
−d Resets options to the defaults for the device. (This action is not taken until the next open occurs on the device.)
−iindent Indent selects the number of columns to indent before the first printed column.
−llines Lines selects the number of lines per page. The last new-line character of each page will be changed to a form-feed.
−n Set the page size to infinity. (Since the last new-line of the page is never encountered, no new-line characters will be changed to form-feeds.)
−Cpages Zero or more pages may be ejected after the final close of the device.
−Opages Zero or more pages may be ejected as the device is opened.
EXAMPLE
A typical case is to set the printer to 80 columns, no indentation, and no form-feeds between pages:
slp -c80 -i0 -n >/dev/lp
HARDWARE DEPENDENCIES
Integral PC
This command is not available. Refer to the Integral Personal Computer Programmer’s Guide for more information about the lp implementation on the Integral PC.
Series 200, 300
The value of cols will be forced into the range of 1 to 227, the value of indent from 0 to 227, and the value of lines from 1 to MAXSHORT. The -b, -C, and -O options are not supported.
The uppercase-only flag, the no-overprint flag, the raw-mode flag, and no-page-eject-on-open-or-close flag can be selected (enabled) by appropriate use of the minor number in the mknod(1M) command. See the HP-UX System Administrator Manual for details.
Series 500
This command is not available. However the number of characters per line (80 or 132) and wrap-around can be selected (enabled) via the minor number in the mknod(1M) command. See the HP-UX System Administrator Manual for details.
AUTHOR
Slp was developed by the Hewlett-Packard Company.
SEE ALSO
Hewlett-Packard Company — Version B.1, May 11, 2021