IPP printing problems in lion

Hi,

I'm having problems printing through IPP to my HP LaserJet 1010 connected to a print server router linux based. If I connect the HP printer directly to my Mac, no problems printing, if I configure it using IPP to print in my print server router, I have the following errors in cups error_log:


(...)

D [21/Dec/2011:00:23:08 +0000] [Job 94] cupsRowFeed: 0d

D [21/Dec/2011:00:23:08 +0000] [Job 94] cupsRowStep: 0d

D [21/Dec/2011:00:23:08 +0000] [Job 94] Clipping to: top=0.125000, left=0.125000, bottom=6815.875000, right=4760.875000

D [21/Dec/2011:00:23:08 +0000] [Job 94] Paddint to: top=0.000000, left=0.000000, bottom=0.000000, right=0.000000

D [21/Dec/2011:00:23:08 +0000] [Job 94] Print-Job: server-error-service-unavailable (Unknown)

D [21/Dec/2011:00:23:08 +0000] [Job 94] The printer is busy.

D [21/Dec/2011:00:23:08 +0000] [Job 94] Set job-printer-state-message to "The printer is busy.", current level=INFO

D [21/Dec/2011:00:23:08 +0000] [Job 94] idle

D [21/Dec/2011:00:23:08 +0000] [Job 94] Set job-printer-state-message to "idle", current level=INFO

D [21/Dec/2011:00:23:08 +0000] [Job 94] update_reasons(attr=1(none), s="(null)")

D [21/Dec/2011:00:23:08 +0000] [Job 94] op=' ', new_reasons=0, state_reasons=0

D [21/Dec/2011:00:23:08 +0000] [Job 94] Get-Printer-Attributes: successful-ok (successful-ok)

D [21/Dec/2011:00:23:08 +0000] [Job 94] Printing page 1, 0% complete...

D [21/Dec/2011:00:23:08 +0000] [Job 94] Set job-printer-state-message to "Printing page 1, 0% complete...", current level=INFO

D [21/Dec/2011:00:23:08 +0000] [Job 94] ATTR: job-media-progress=0

D [21/Dec/2011:00:23:08 +0000] [Job 94] cgpdftoraster: bytes written for sheet 1 = 32450976

D [21/Dec/2011:00:23:08 +0000] [Job 94] Intercepted signal: 20ld for PID: 1516

D [21/Dec/2011:00:23:08 +0000] [Job 94] PID: 1516 exited w/ no errors.

D [21/Dec/2011:00:23:08 +0000] [Job 94] idle

D [21/Dec/2011:00:23:08 +0000] [Job 94] Set job-printer-state-message to "idle", current level=INFO

D [21/Dec/2011:00:23:08 +0000] [Job 94] update_reasons(attr=1(none), s="(null)")

D [21/Dec/2011:00:23:08 +0000] [Job 94] op=' ', new_reasons=0, state_reasons=0

D [21/Dec/2011:00:23:08 +0000] [Job 94] Get-Printer-Attributes: successful-ok (successful-ok)

D [21/Dec/2011:00:23:08 +0000] [Job 94] idle

D [21/Dec/2011:00:23:08 +0000] [Job 94] update_reasons(attr=1(none), s="(null)")

D [21/Dec/2011:00:23:08 +0000] [Job 94] op=' ', new_reasons=0, state_reasons=0

D [21/Dec/2011:00:23:08 +0000] [Job 94] Get-Printer-Attributes: successful-ok (successful-ok)

D [21/Dec/2011:00:23:08 +0000] [Job 94] idle

D [21/Dec/2011:00:23:08 +0000] [Job 94] update_reasons(attr=1(none), s="(null)")

D [21/Dec/2011:00:23:08 +0000] [Job 94] op=' ', new_reasons=0, state_reasons=0

D [21/Dec/2011:00:23:08 +0000] [Job 94] Get-Printer-Attributes: successful-ok (successful-ok)

D [21/Dec/2011:00:23:08 +0000] [Job 94] idle

D [21/Dec/2011:00:23:08 +0000] [Job 94] update_reasons(attr=1(none), s="(null)")

D [21/Dec/2011:00:23:08 +0000] [Job 94] op=' ', new_reasons=0, state_reasons=0

D [21/Dec/2011:00:23:08 +0000] [Job 94] Get-Printer-Attributes: successful-ok (successful-ok)

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - com.hp.s.0-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - com.hp.s.42-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - com.hp.s.5-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - other-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: + com.hp.e.2-error

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: + other-error

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - com.hp.s.0-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - com.hp.s.42-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - com.hp.s.5-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] STATE: - other-report

D [21/Dec/2011:00:23:08 +0000] [Job 94] PID: 1512 terminated on signal 0!

D [21/Dec/2011:00:23:08 +0000] [Job 94] Backend returned status 7 (unknown)

D [21/Dec/2011:00:23:08 +0000] [Job 94] Retrying job on same printer.

D [21/Dec/2011:00:23:08 +0000] [Job 94] End of messages

D [21/Dec/2011:00:23:08 +0000] [Job 94] printer-state=3(idle)

D [21/Dec/2011:00:23:08 +0000] [Job 94] printer-state-message="/usr/libexec/cups/backend/ipp failed"

D [21/Dec/2011:00:23:08 +0000] [Job 94] printer-state-reasons=com.hp.e.2-error,other-error


It seems that it can get some printer attrs, but it isn't able to print the file.


It's important to point out that I configured a Windows Vista box to troubleshoot and printed a file without any problems.


I googled and searched in this community, for similar problems and I didn't find any success case. I've also tried out many workarrounds without success.


Best regards,

MacBook Pro, Mac OS X (10.7.2)

Posted on Dec 20, 2011 4:39 PM

Reply
2 replies

Dec 20, 2011 7:33 PM in response to caceres

Looking at the log, very early for the failed job is the message " Print-Job: server-error-service-unavailable (Unknown)". After this the printer status is then shown as busy. IPP configuration can sometimes require a specific queue name, such as ipp://ip_address/ipp.


But in testing to a printer that supports the IPP protocol, I did find that Lion IPP does not work the same as Snow Leopard IPP. For Lion, when I send a print job and with the printer proxy open, I see a message stating that the printer does not support IPP v2.0 and trying IPP v1.1. The job is then sent to the printer but the proxy then pauses the queue, while the job that is paused in the proxy is successfully printed. And resuming the queue prints the same document again while the queue returns to a paused state.


Checking the cups error log, there are multiple entries for the print job, but unlike the messages you are seeing, I simply have "The printer is busy."


In contrast, using IPP to the same printer on 10.6, the job leaves the printer proxy without error and prints.


So based on my testing I would say that your issue could be due to the IPP backend in Lion. I will do some more testing later today and get back to you. In the meantime, does the router also support Port 9100 printing or LPR? If it does, then you may have more success using HP Jetdirect-Socket (Apple's name for Port 9100) or LPD on the Lion Mac.

Dec 21, 2011 2:42 AM in response to PAHU

Thanks for your quick response.


Regarding queue name, in my case I think is correctly configured, because I can read it in the IPP request (Something like this - //ip_address:631/printers/PRINTERNAME) on log file, but I didn't paste all entries in this post due to its size.


I already suspected in backend ipp binary, because I found more people reporting similar issues with it and mostly because in Windows is working without any problem and in my cups error log I had this two entries that seems to me some kind a bug:


Backend returned status 7 (unknown)

printer-state-message="/usr/libexec/cups/backend/ipp failed"


Seems that ipp is returning an unknown value for some reason.


I have tried to downgrade ipp binary, but I didn't find a previous version that works correctly in my environment.


unfortunately, my router only supports ipp, In past I have tried with success LPR but with other router and other a HP printer through parallel port.


Best regards,

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

IPP printing problems in lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.