The following examples show how to use the remote queue printing
capabilities of TCP/IP Services.
1. This example sends local file PINS.LIS to the remote print
queue defined locally as FAC3_ANSI and requests notification
through SMTP when the job completes at the remote printer.
$ PRINT /PARAMETERS=MAIL /QUEUE=FAC3_ANSI PINS.LIS
2. This example shows how to send a local file to the remote
print queue defined locally as OUR_PS for printing at a remote
printer. The command specifies that text be printed on both
sides of each sheet. The file name is ROUGH.TXT.
$ PRINT /QUEUE=OUR_PS /PARAMETER=(SIDES=2) ROUGH.TXT
3. This command sends a print job to the remote queue defined
locally as YOUR_PS.
$ PRINT /QUEUE=YOUR_PS LET.LIS -
_$ /PARAMETERS=(DATA_TYPE=POST,PAGE_ORIENTATION=LANDSCAPE,SIDE=2)
4. This example sends a print job to Internet host PACE.SATRN.COM
to print on printer K1_PRINTER.
$ PRINT /QUEUE=LPD_OUTQ USER$4:[GRANT.FINAN.SALES]ANNUAL.TXT -
_$ /PARAMETERS=(HOST=PACE.SATRN.COM,PRINTER=K1_PRINTER)