LPSERVER(8MDQS) COMMAND REFERENCE LPSERVER(8MDQS)
NAME
lpserver, plpserver, rawlpserver - line printer servers for
MDQS
SYNOPSIS
lpserver [ -b baud ] [ -c ] [ -f flagging ] [ -h size ] [
-p parity ] [ -s ]
[ -C columns ] [ -H headers ] [ -T trailers ]
DESCRIPTION
Lpserver, plpserver and rawlpserver are all lineprinter
servers for MDQS.
Lpserver is the general lineprinter server. This server
optimizes for overstriking and converts all control
characters to their ^<letter> patterns. Since this server
chatches all control characters it cannot be used to control
printers with escape sequences.
Plpserver is designed to be used with Printronix
P150/P300/P600 printers. This server knows about these
printers special modes such as Plotmode.
Rawlpserver is used when one wants the data to go out the
port completely unaltered. This server is especially good
for outputting graphical data and escape sequences to
control printer modes.
OPTIONS
-bbaud Sets the baud rate for the tty port. The default
baud rate is 9600.
-c Sets the tty port in CRMOD which causes all LF
characters to be output as CR-LF. This option
implies a parity of ODD unless the parity is
explicitly set. If the parity is explicitly set to
NONE, ODD parity is still produced with the -c
option.
-fflagging
Sets the flagging method used by the tty driver.
The two values for flagging are HW and SW
representing hardware and software respectively.
Software flagging is the default.
-hsize Sets the amount of information presented on the
banner page of the printout. The values are LARGE,
SMALL and NONE. The default is LARGE.
-pparity
Sets the parity to be used by the tty driver. The
values are EVEN, ODD, SPACE and NONE. The value of
Printed 4/6/89 1
LPSERVER(8MDQS) COMMAND REFERENCE LPSERVER(8MDQS)
NONE allows 8-bit data transmission. NONE in
conjunction with rawlpserver is useful in outputting
graphical data or special control commands to
printers. The default setting for parity is NONE.
-s Supress form-feed characters that appear at the end
of each file and banner page.
-Ccolumns
Sets the maximum number of columns to be printed on
for the banner page. This is particularly useful
when the paper in the printer is only 80 columns
wide and you do not want filenames on the banner
page to print past the end of the paper. The
default is 132.
-Hheaders
Sets the number of banner pages to print at the
start of each file. The default is 1.
-Ttrailers
Sets the number of trailing banner pages to print at
the end of each request. The default is 0.
EXAMPLES
The following example is for a Printronix printer running at
2400 baud and one trailing banner page.
/usr/lib/mdqs/plpserver -b 2400 -T 1
The following example is for a Centronix printer using
hardware flagging.
/usr/lib/mdqs/lpserver -f HW
The following example is for a color hardcopy unit with a
small banner page.
/usr/lib/mdqs/rawlpserver -h SMALL
DIAGNOSTICS
Diagnostics are passed back to the MDQS daemon and reported
in the MDQS console log specified in the qconf file.
CAVEATS
These commands are NEVER called directly by the user. These
commands are specified in the file /etc/qconf and are called
by the MDQS daemon.
SEE ALSO
lpr(1mdqs), qconf(5mdqs), mdqsd(8mdqs), sysadmin(8), and
tty(4).
Printed 4/6/89 2
%%index%%
na:432,121;
sy:553,935;
de:1488,1361;
op:2849,1838;5191,1336;
ex:6527,508;
di:7035,376;
ca:7411,426;
se:7837,236;
%%index%%000000000147