Welcome

TCP/IP Package For TSX-Plus 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] [-t n] -o opt [opt arguments] ? List the Help Text and Exit LLPQRM p filespec LPD configuration file t n TCPIP Task Number for LPD Delivery Agent 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 delivery task number must be specified. The task number must be that specified in the TCPIP.CFG for the LPRINT task. The LPRINT task is started by LLPQRM when a print job is queued by LPR option or the print queue is started by the LPC option. 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 a command file more indicative of its intended function. (The "" around the TSX-Plus parame- ters ^1 - ^6 are required to insure that the case of the argu- ments are not changed.) LLPC LLPC.COM is the local start printer daemon command file. run/single TCP:llpqrm -pto TCP:lpdqrm.cfg 2 lpc "^1" "^2" "^3" "^4" "^5" "^6" LLPQ LLPQ.COM is the local check printer queue status command file. run/single TCP:llpqrm -pto TCP:lpdqrm.cfg 2 lpq "^1" "^2" "^3" "^4" "^5" "^6" LLPR LLPR.COM is the local print command file. run/single TCP:llpqrm -pto TCP:lpdqrm.cfg 2 lpr "^1" "^2" "^3" "^4" "^5" "^6" LLPRM LLPRM.COM is the local remove queued print file command file. run/single TCP:llpqrm -pto TCP:lpdqrm.cfg 2 lprm "^1" "^2" "^3" "^4" "^5" "^6" 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 TSX-Plus system printer. The program startup options are: RLPD [?] [-p filespec] [-t n] [-aer] ? List the Help Text and Exit RLPD a Attach to Service e Enable Monitoring of RLPD Transactions p filespec Specify the Configuration Filespec r Restart RLPD after Disconnect t n TCPIP Task Number for RLPD Delivery Agent The LPRINT delivery task number must be specified. The task number must be that specified in the TCPIP.CFG for the LPRINT task. The LPRINT task is started by RLPD when a print job is received. The program may be started interactively (for diagnostic pur- poses) by the command file RLPD.COM: run/single TCP:rlpd -rpt TCP:lpdqrm.cfg 2 ^1 ^2 ^3 ^4 ^5 ^6 The program is normally invoked by the TCPIP network server pro- gram by the command file RLPD.SRV: deassign dismount ld0: dismount ld1: dismount ld2: dismount ld3: dismount ld4: dismount ld5: dismount ld6: dismount ld7: assign sy: wf: mount ld6: dl1:paswrd.dsk assign ld6: PAS: mount ld7: dl1:tsxtcp.dsk assign ld7: TCP: run/single TCP:rlpd -apt TCP:lpdqrm.cfg 2
=> Section Index

Printing Queue Manager Program The program LPRINT is the backend printing daemon servicing printing on the TSX-Plus 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 command file LPRINT.COM: run/single TCP:lprint -p TCP:lpdqrm.cfg ^1 ^2 ^3 ^4 ^5 ^6 The program is normally invoked by the TCPIP network server pro- gram by the command file LPRINT.SRV: deassign dismount ld0: dismount ld1: dismount ld2: dismount ld3: dismount ld4: dismount ld5: dismount ld6: dismount ld7: assign sy: wf: mount ld6: dl1:paswrd.dsk assign ld6: PAS: mount ld7: dl1:tsxtcp.dsk assign ld7: TCP: run/single TCP:lprint -p TCP:lpdqrm.cfg 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 Name / 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 "" around the TSX-Plus parame- ters ^1 - ^6 are required to insure that the case of the argu- ments are not changed.) LPC LPC.COM is the remote start printer daemon command file. run/single TCP:lpqrm -po TCP:lpdqrm.cfg lpc "^1" "^2" "^3" "^4" "^5" "^6" LPQ LPQ.COM is the remote check printer queue status command file. run/single TCP:lpqrm -po TCP:lpdqrm.cfg lpq "^1" "^2" "^3" "^4" "^5" "^6" LPR LPR.COM is the remote print command file. run/single TCP:lpqrm -po TCP:lpdqrm.cfg lpr "^1" "^2" "^3" "^4" "^5" "^6" LPRM LPRM.COM is the remote remove queued print file command file. run/single TCP:lpqrm -po TCP:lpdqrm.cfg lprm "^1" "^2" "^3" "^4" "^5" "^6"
=> Section Index

... Exit TCP/IP Documentation

... Home Page