1 .TH PAP 1 "6 May 2002" "netatalk 1.5"
3 pap, papstatus \- client interface to remote printers using Printer Access Protocol
38 is used to connect and send files to an AppleTalk connected printer using
39 the Apple Printer Access Protocol (PAP).
43 tries to open a session with the printer using PAP, and
50 are given on the command line,
52 begins reading from standard input.
54 If no printer is specified on the command line,
56 looks for a file called
58 in the current working directory and reads it to obtain the
62 Blank lines and lines that begin with a
70 and the zone of the local host, respectively.
74 is designed to be useful as a communication filter for sending
76 spooled print jobs to AppleTalk connected printers. See
78 for hints on how to use it this way.
84 Connect to the printer with Appletalk address
86 and do not consult the
88 file to find a printer name. See
94 Take cuts. The PAP protocol specified a simple queuing
95 procedure, such that the clients tell the printer how long
96 they have been waiting to print. This option causes
98 to lie about how long it has been waiting.
104 Send any message from the printer to stderr instead of stdout.
111 Don't wait for EOF from the printer. This option is useful
112 for printers which don't implement PAP correctly. In a correct
113 implementation, the client side should wait for the printer to
114 return EOF before closing the connection. Some clients don't
115 wait, and hence some printers have related bugs in their
121 Connect to the printer named
123 and do not consult the
125 file to find a printer name. See
133 Update the file called
135 to contain the most recent status message from the printer.
137 gets the status from the printer when it is waiting for the printer to
140 will contain a single line terminated with a newline. This is useful
150 Wait for the printer status to contain the word "waiting" before
151 sending the job. This is to defeat printer-side spool available
152 on HP IV and V printers.
155 Wait for the printer status to contain the word "idle" before
156 sending the job. This is to defeat printer-side spool available
157 on HP IV and V printers.
161 file read to obtain printer name if not specified on command line