LPDSEND(8MDQS) COMMAND REFERENCE LPDSEND(8MDQS) NAME lpdsend - queued print request to remote host running Berkeley LPD spooler using MDQS SYNOPSIS /usr/lib/mdqs/lpdsend host printer [ -f format ] DESCRIPTION The MDQS server lpdsend allows the spooling of files to a printer on a remote host which is running the Berkeley LPD spooling system over the network (See netsend(8MDQS)). The MDQS spooling system reserves the device name lpd for spooling to a remote host which is running the LPD spooling system on the network. OPTIONS -f format Selects the appropriate filter to be used by the remote Berkeley spooling daemon to print the data being sent by the lpdsend server. Unlike the MDQS spooling systems, files which are entered into an LPD printer queue must also contain a filter program type specification to be invoked for printing data. The format option has the following values: p The files are assumed to be text, use pr(1) to format the files (equivalent to print). p The files are assumed to be text with control strings; use a filter which allows printable control characters and suppresses page breaks. t The files are assumed to contain data from troff(1) (cat phototypesetter commands). n The files are assumed to contain data from ditroff (device independent troff). d The files are assumed to contain data from tex(l) (DVI format from Stanford). g The files are assumed to contain standard plot data as produced by the plot(3X) routines; see also plot(1G) for the filters used by the printer spooler. v The files are assumed to contain a raster image for devices like the Benson Varian. c The files are assumed to contain data produced by Printed 5/12/88 1
LPDSEND(8MDQS) COMMAND REFERENCE LPDSEND(8MDQS) cifplot(l). f Files are assumed to be formatted text usually generated by a Fortran program, a filter which interprets the first character of each line as a standard FORTRAN carriage control character. If the -f option is not specified, then this printer format is the default for the lpdsend server which conforms to the default conventions of the LPD spooling system. EXAMPLES The following example shows the /etc/qconf entries necessary to send text files to the printer lp on the remote host pogo which is running the Berkeley LPD spooler. The files will be formatted by the pr command before printing. The files to be printed will be queued to the MDQS queue pogolp by the MDQS lpr -q pogolp command. qconf Device Description entry: #<dname> <device> <forms> <status> lpd /dev/null Anyform skipmsg qconf Queue Description entry: #<qname> <status> pogolp qconf Queue/Device Mapping Description entry: # <qname> <dname> <server> pogolp lpd /usr/lib/mdqs/lpdsend pogo lp -f p DIAGNOSTICS Errors which are detected by the lpdsend server are passed back to the MDQS daemon and reported in the MDQS console log specified in the qconf file. Errors which are detected by the LPD spooler when the file is being printed will not be returned to the queueing host. The lpdsend server will not send binary files to be spooled to an LPD system. CAVEATS This server is NEVER called directly by the user and is specified in the file /etc/qconf; lpdsend is called by the MDQS daemon. This version of the lpdserver represents a prototype release of the server. Consequently there is currently no support for changing page width, or specifying font types. Printed 5/12/88 2
LPDSEND(8MDQS) COMMAND REFERENCE LPDSEND(8MDQS) SEE ALSO The following manual pages are available on the host which uses MDQS to spool the request using the lpdsend server: lpr(1mdqs), qconf(5mdqs), lpserver(8mdqs), netsend(8mdqs), mdqsd(8mdqs), sysadmin(8). The following manual pages might be available on the remote host running the LPD spooling system: lpr(1), lpq(1), lprm(1), pr(1), printcap(5), lpc(8), lpd(8). Printed 5/12/88 3
%%index%% na:408,142; sy:550,408; de:958,641; op:1599,1894;3973,692; ex:4665,1837; di:6502,656; ca:7158,512; se:8150,779; %%index%%000000000145