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
-b baud
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.
-f flagging
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.
-h size
Sets the amount of information presented on the banner
page of the printout. The values are LARGE, SMALL and
NONE. The default is LARGE.
-p parity
Sets the parity to be used by the tty driver. The
Printed 10/17/86 1
LPSERVER(8MDQS) COMMAND REFERENCE LPSERVER(8MDQS)
values are EVEN, ODD, SPACE and NONE. The value of 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.
-C columns
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.
-H headers
Sets the number of banner pages to print at the start of
each file. The default is 1.
-T trailers
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.
Printed 10/17/86 2
LPSERVER(8MDQS) COMMAND REFERENCE LPSERVER(8MDQS)
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), tty(4).
Printed 10/17/86 3
%%index%%
na:72,105;
sy:177,622;
de:799,1121;
op:1920,1406;3470,1390;
ex:4860,485;
di:5345,283;
ca:5772,322;
se:6094,244;
%%index%%000000000145