Odd multi page problem from iSeries
Simon Slaytor
sslaytor at iom.com
Mon Dec 31 04:04:09 PST 2007
Hi Folks,
I've been tearing my hair out trying to sort out a problem. Sorry this message might get a little long but bear with me.
We have just upgraded our CUPS print servers from a 1.1x release to 1.2.7. The servers are configured with roughly 30 printers, all configured as RAW and job queuing is handled via cups-lpd.
Client machines are 99% windoze machines with a couple of iSeries (AS/400) thrown in for good measure.
First off the Windoze machines work perfectly, including multiple copies! The problem I'm having is with jobs from the iSeries, all of which go via cups-lpd to the same queues as the Windoze boxes.
If I print a job from the iSeries and ask for 1 copy only everything works. If on the other hand I ask for more than 1 then the job arrives at the cups server and sits in the 'processing' state forever.
Looking in /var/spool/cups I can see the 'cXXXXXX' and 'dXXXXXX-00X' files (one D for every page requested). Example of both at the bottom of the file.
We start our cups-lpd via inetd specifying the -o option for 'raw' queues.
The iSeries output queue is configure to send LPD to the print server, formating the output as PCL, you can see the added PCL code in the example.
Prior to upgrading (full fresh install) to 1.2.7 i.e. a 1.1x server the iSeries jobs worked perfectly.
I have tried using the 'Octet-stream' -o for cups-lpd, the result is still the same.
Any help is much appreciated.
Regards
Simon
An example of the contents of the 'c' file is as follows:
^A^A^@^E^@^@^@^A^AG^@^Rattributes-charset^@^Eutf-8H^@^[attributes-natural-language^@^Een-us^BE^@^Kprinter-uri^@^\ipp://localhost/printers/P11B^@^Yjob-originating-use
r-name^@^EJEANLB^@^Hjob-name^@^@I^@^Odocument-format^@^Xapplication/vnd.cups-rawB^@^Yjob-originating-host-name^@^Wernie.xxxxxx.com!^@^Ljob-priority^@^D^@^@^@2
E^@^Hjob-uuid^@-urn:uuid:bbee1af4-24ec-3615-5dc9-0d3c5b58e577!^@^Ptime-at-creation^@^DGx?/!^@^Rtime-at-processing^@^DGx?O!^@^Qtime-at-completed^@^DGx?x!^@^Fjob-id^@^
D^@^@^@^F#^@ job-state^@^D^@^@^@^G!^@^Zjob-media-sheets-completed^@^D^@^@^@^AE^@^Ojob-printer-uri^@/ipp://TEST42.canadalifeint.com:631/printers/P11B^@^Hjob-name^@
^@!^@^Ljob-k-octets^@^D^@^@^@ D^@^Njob-hold-until^@^Gno-holdB^@
job-sheets^@^DnoneB^@^@^@^Dnone^C
and a 'D' file as follows:
^[E^[(10U^[(s0p10.00h012v0s0b003T^[(s0B^[&d@^[&l3O^[&l0S^[&l008C^[&l005C^[(s0p17.10h007v0s0b000T^[(10U^[(s0p17.10h007v0s0b000T^[(s0B^[&d@^[&l3O^[&l0S^[&l005C^[&l1T^[(s0p17.10h00
7v0s0b000T^[&l3O^[&l0S^[(s0p17.10h007v0s0b000T^[(s0p17.10h007v0s0b000T^[&l005C^[&l4H^[&l3O^[&l02A^[&l1C^[&l0008E^[&l008C^[&l0049F^[&a0R^[&l0G^[&l005C
^[&a+00010V^[&l005C^[&a+00216H Print Key Output Page 1^M
^[&a+00216H 5722SS1 V5R3M0 040528 ERNIE 03/07/07 09:53:58^M
^[&a+00216H^M
^[&a+00216H Display Device . . . . . : QPADEV001T^M
^[&a+00216H User . . . . . . . . . . : JEANL^M
^[&a+00216H^M
^[&a+00216H WRKINT Work with Intermediaries 3/07/07 JEANL^M
^[&a+00216H 09:53:48 ERNIE^M
^[&a+00216H Select option, press Enter, or ... Position to:^M
^[&a+00216H 2=Change 5=Display 6=Print 7=Plans 8=Ledger 9=New Business Credits^M
^[&a+00216H^M
^[&a+00216H Opt Number Name Pln Status^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) Y Active^M
^[&a+00216H BXXXXX XXXX Investment Services Plc (XXXXXX) N Active^M
^[&a+00216H^M
^[&a+00216H^M
^[&a+00216H^M
^[&a+00216H^M
^[&a+00216H^M
^[&a+00216H Bottom^M
^[&a+00216H F3=Exit F5=Refresh F6=Add F12=Cancel F17=Start F18=End F21=Print list^M
^[&a+00216H You are at the bottom of the list. +^M
^[&a+00216H^M^L^[E
More information about the cups
mailing list