[cups.development] [RFE] STR #3146: cups-lpd: PLP compatibility
H. Blischke
HedlgeBlischke at web.de
Sun Mar 29 09:33:26 PDT 2009
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Patrick Powell's PLP (Public Line Printer) does not fully conform to RFC
1179 in that it issues a single 0x00 byte as a filal EOF marker after the
complete bunch of control and data files that makes up one print job.
The attached patch account for this and additionaly implements a "-d"
command line switch to turn on diagnostic messages to the syslog service.
A sample of the diagnostic messages:
Mar 6 21:21:29 obelix cups-lpd[20107]: connect from clienthost
Mar 6 21:21:29 obelix cups-lpd[20107]: Connection from clienthost
Mar 6 21:21:29 obelix cups-lpd[20107]: Receive print job for printername
Mar 6 21:21:29 obelix cups-lpd[20107]: Receive print job for printername
Mar 6 21:21:29 obelix cups-lpd[20107]: [03] 254631 dfA589clienthost
Mar 6 21:21:29 obelix cups-lpd[20107]: [02] 137 cfZ589clienthost
Mar 6 21:21:29 obelix cups-lpd[20107]: [00] (* final EOD *)
Mar 6 21:21:29 obelix cups-lpd[20107]: Control file:
Mar 6 21:21:29 obelix cups-lpd[20107]: D1236370629
Mar 6 21:21:29 obelix cups-lpd[20107]: Hclienthost
Mar 6 21:21:29 obelix cups-lpd[20107]: Proot
Mar 6 21:21:29 obelix cups-lpd[20107]: N/tmp/temp.manu
Mar 6 21:21:29 obelix cups-lpd[20107]: J/tmp/temp.manu
Mar 6 21:21:29 obelix cups-lpd[20107]: CZ
Mar 6 21:21:29 obelix cups-lpd[20107]: fdfA589clienthost
Mar 6 21:21:29 obelix cups-lpd[20107]: UdfA589clienthost
Mar 6 21:21:30 obelix cups-lpd[20107]: Print file - job ID = 275915
Mar 6 21:21:30 obelix cups-lpd[20107]: Closing connection
Helge
Link: http://www.cups.org/str.php?L3146
Version: -feature
More information about the cups
mailing list