Welcome

TCP/IP Package For RT-11 Documentation

-... Client / Server Program Options


Local Printing Client Program LLPQRM is the program which submits, controls and reports the status of the local LPRINT daemon. The program performs the functions of LPC, LPQ, LPR, and LPRM. The program startup op- tions are: LLPQRM [?] [-p filespec] -o opt [opt arguments] ? List the Help Text and Exit LLPQRM p filespec LPD configuration file o lpc [?] Start printer queue lpq [?] Get printer queue status lpr [?] Submit a job to a printer queue lprm [?] Remove a job from a printer queue The -o opt argument must preceed the opt specific op- tions. The LPRINT job must be running for LLPQRM to function properly and is usually started in TCPIP.RUN. Program sub options are: LPC [?] ? List the LPC Help Text and Exit LLPQRM LPQ [?] [-#P argument] ? List the LPQ Help Text and Exit LLPQRM # n Repeat query time in seconds P Queue Name Printer Queue LPR [?] [-#IPW argument] [-flr] [file to print] ? List the LPR Help Text and Exit LLPQRM # n # of copies to print (1-5) I n Indentation P Queue Name Printer Queue (default = lp) W n Page Width f Plain Text Printing (default) l No Control Character Processing r Fortran Carriage Control Printing LPRM [?] [-P argument] [file to remove from queue] ? List the LPRM Help Text and Exit LLPQRM P Queue Name Printer Queue Each of the options is invoked by an IND control file more indi- cative of its intended function. The IND control file QUOTE.COM places the arguments in quotes. DECUS C will convert everything to lower case without the quotes. LLPC LLPC.COM is the local start printer daemon IND control file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:llpqrm.sav .data -pto TCP:lpdqrm.cfg 2 lpc .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' LLPQ LLPQ.COM is the local check printer queue status IND control file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:llpqrm.sav .data -pto TCP:lpdqrm.cfg 2 lpq .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' LLPR LLPR.COM is the local print command file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:llpqrm.sav .data -bpto TCP:lpdqrm.cfg 2 lpr .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' LLPRM LLPRM.COM is the local remove queued print file command file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:llpqrm.sav .data -bpto TCP:lpdqrm.cfg 2 lprm .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' For a normal user: (1) if the printer queue is not specified then all of the queues are checked. (2) If a file name is not specified then all queued files for this user are checked and the user queried for each file to be deleted. For the special user 'system': (1) if the printer queue is not specified then all of the queues are checked. (2) If a file name is not specified then all queued files for all users are checked and the 'system' queried for each file to be deleted. (3) If a username is entered, then all files for this user are checked and 'system' queried for each file deletion. (4) If a filename is entered, then the specific file is checked and 'system' queried for file deletion.
=> Section Index

LPD Print Server Program RLPD is a server program providing remote printing on the RT-11 system printer. The program startup options are: RLPD [?] [-p filespec] [-erv] ? List the Help Text and Exit RLPD e Enable Monitoring of RLPD Transactions p filespec Specify the Configuration Filespec r Restart RLPD after Disconnect v Verbose Mode The LPRINT job must be running for LLPQRM to function properly and is usually started in TCPIP.RUN. The program may be started interactively (for diagnostic pur- poses) by the IND control file RLPD.COM: .sets cmdlin "-rp TCP:lpdqrm.cfg "+"'p1' 'p2' 'p3' 'p4'" .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:rlpd.sav .data 'cmdlin' .close $@sy:tcpfun The program is normally started as a system job by the TCPIP.RUN command file. When started as a foreground or system job the program gets the command line arguments from the file TCP:RLPD.CML: -r -p TCP:lpdqrm.cfg
=> Section Index

Printing Queue Manager Program The program LPRINT is the backend printing daemon servicing printing on the RT-11 system. Print jobs submitted by remote systems through the RLPD server and local print jobs submitted through LLPQRM are processed by the LPRINT task. RLPD and LLPQRM write two files (cfa.nnn and dfa.nnn) into a temporary file directory, cfa.nnn is the print control file and dfa.nnn is the print data file. At the completion of the printing job these files are deleted. The command options for LPRINT are: LPRINT [?] [-p filespec] [-t n] [-v] ? List the Help Text and Exit LPRINT p filespec Specify the Configuration Filespec t n (minutes) Continuous Scanning Time Interval v Verbose Mode The LLPQRM.CFG configuration file is of the following form: 001 ; three digit sequence sy2:\lpdtmp\ ; temporary directory sy0:\paswrd\paswrd.fil ; pass word file lp * name ls: ; line printer dspcgc * name hf: ; cgc graphics device dspqbs * name hg: ; qbs graphics device file * name sy3:\tmpwrk\ ; write to a file lp pdp * ls: ; line printer dspcgc pdp * hf: ; cgc graphics device dspqbs pdp * hg: ; qbs graphics device The first line is a sequence number maintained by RLPD, LLPQRM, and LPRINT. The second line is the directory used for holding the queued files until processed by LPRINT. The third line references the password file which may be used to check if the user exists. The fourth and succeeding lines contain printing queues and their access permissions. The four entries are: (1) queue name (2) machine name (* is any) (3) user name (* is any) (4) device The data is copied to the specified printing device or random access device using the name in the print control file (cfa.nnn). The program may be started interactively (for diagnostic pur- poses) by the IND control file LPRINT.COM: .sets cmdlin "-pt TCP:lpdqrm.cfg 15 " ... ... +"'p1' 'p2' 'p3' 'p4'" .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:lprint.sav .data 'cmdlin' .close $@sy:tcpfun The program is normally started as a system job by the TCPIP.RUN command file. When started as a foreground or system job the program gets the command line arguments from the file TCP:LPRINT.CML: -p TCP:lpdqrm.cfg -t 2 The specification of device wf: is required by LPRINT to tem- porarily store data files before writing the data to subdirec- tories. If wf: is undefined, inaccessable, or not initialized then data will not be copied.
=> Section Index

Remote Printing Client Program LPQRM is the program which submits, controls and reports the status of remote printer queues. The program performs the func- tions of LPC, LPQ, LPR, and LPRM. The program startup options are: LPQRM [?] [-ipq argument] [-e] -o opt [opt arguments] ? List the Help Text and Exit LPQRM e Enable Monitoring of LPQRM Transactions i IP Address Remote Server Name / IP Address n Port Number Remote Server Port Number q Queue Name Remote Server Printer Queue p filespec Configuration File o lpc [?] Start printer queue lpq [?] Get printer queue status lpr [?] Submit a job to a printer queue lprm [?] Remove a job from a printer queue The -o opt argument must preceed the opt specific op- tions. Program sub options are: LPC [?] [-SP argument] ? List the LPC Help Text and Exit LPQRM P Queue Name Remote Host Printer Queue S IP Address Remote Host IP Address LPQ [?] [-SP# argument] [-l] ? List the LPQ Help Text and Exit LPQRM # n Repeat query time in seconds l Long form of queue status P Queue Name Remote Host Printer Queue S IP Address Remote Host Name / IP Address LPR [?] [-SPIW# argument] [-flr] [filespec] ? List the LPR Help Text and Exit LPQRM # n # of copies to print (1-5) P Queue Name Remote Host Printer Queue S IP Address Remote Host Name / IP Address f ASCII Plain Text (default) l ASCII With Controls r Fortran Carriage Control I n Indentation (f option only) W n Page Width (flr options only) Other Options: 1234cdghnoptvz UNIX(tm) Options M Mail Option C Class J Job L Banner T Title LPRM [?] [-SP argument] job [job [...]] ? List the LPRM Help Text and Exit LPQRM P Queue Name Remote Host Printer Queue S IP Address Remote Host Name / IP Address Each of the options is invoked by a command file more indicative of its intended function. The IND control file QUOTE.COM places the arguments in quotes. DECUS C will convert everything to lower case without the quotes. LPC LPC.COM is the remote start printer daemon IND control file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:lpqrm.sav .data -po TCP:lpdqrm.cfg lpc .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' LPQ LPQ.COM is the remote check printer queue status IND control file. .open tcpfun.com .data r sy:vbgexe.sav .data TCP:lpqrm.sav .data -po TCP:lpdqrm.cfg lpq .close @TCP:quote 'P1' 'P2' 'P3' 'P4' 'P5' 'P6' LPR LPR.COM is the remote print IND control file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:lpqrm.sav .data -bpo TCP:lpdqrm.cfg lpr .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6' LPRM LPRM.COM is the remote remove queued print file IND control file. .open sy:tcpfun.com .data r sy:vbgexe.sav .data TCP:lpqrm.sav .data -bpo TCP:lpdqrm.cfg lprm .close @TCP:quote 'p1' 'p2' 'p3' 'p4' 'p5' 'p6'
=> Section Index

... Exit TCP/IP Documentation

... Home Page