Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lpset(1M) — Ultrix-11 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lpr(1)

lp(4)

lpd(8)

init(8)

LPSET(1M)

NAME

lpset − set line printer parameters

SYNOPSIS

/etc/lpset [-r]

/etc/lpset flag ind line col

DESCRIPTION

The lpset command with no arguments displays the current printer parameter values.  Only the superuser may execute lpset.  The printer must be quiescent when lpset is executed. 

The −r option resets the parameters to the default values (flag = 0, ind = 0, line = 66, col = 132). 

The parameters may be changed by specifying the new value of each parameter to lpset , as follows:

flag Flag bits are set by oring their value with the flag argument. 
 
The FFCLOSE (010) flag causes a page eject on LP close. This flag is normally reset, because the spooler lpr(1) ejects a page after each file is printed. 
 
The CAP (020) should be set for 64-character set printers, uppercase only.

ind Number of character spaces to indent from the left margin. 

line Number of lines to print per page. 

col The column width, i.e., number of characters per line. 

Parameter changes may be made automatically by including the lpset command in the /etc/rc file. 

FILES

/unix    - system namelist
/dev/lp  - printer special file

SEE ALSO

lpr(1), lp(4), lpd(8), init(8)

DIAGNOSTICS

Error messages will be printed if a parameter value is out of range, the printer file (/dev/lp) cannot be opened, or the printer is active. 

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