Opened 13 years ago
Last modified 8 years ago
#8277 assigned bug
USB connected PCL5 printer never receives print jobs
Reported by: | Disreali | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Printing | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Occurring on hrev43550-2hn.
I installed an HP LaserJet 1150 printer as a PCL5 Compatible printer. This same printer works as a PCL5 printer on XP, Vista, Ubuntu 10.04LTS, PC-BSD 8.2 and Mac OSX 10.4. On all of those setups, once the printer driver has been install, as soon as a print job is sent the printer lights start to blink, the printer starts warming up and gets into action, even if the print job does not print. On Haiku, the the printer never starts to warn up, no blinking light, no action. I can only conclude that the printer never receives an actual print job.
You can see the Printers preflet working and 'prcesseing' a job, but the printer itself never warns up, even when clicking the "Print test page" button.
Attachments (1)
Change History (8)
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
follow-up: 3 comment:2 by , 13 years ago
It would be helpful if you could provide a syslog with TRACE_USB_PRINTER activated in src/add-ons/kernel/drivers/printer/usb/usb_printer.cpp.
follow-ups: 4 6 comment:3 by , 13 years ago
Replying to korli:
It would be helpful if you could provide a syslog with TRACE_USB_PRINTER activated in src/add-ons/kernel/drivers/printer/usb/usb_printer.cpp.
That won't help a lot, as the USB print transport add-on is no longer using /dev/printer/... kernel device. Instead it uses the userland USBKit directly. Unfortunatly, it doesn't provides some trace support.
What could be tried is to use the "Print to File" add-on and then try to send this file via the print_transport_loader test tool, which allow to send a file using whatever transport add-on.
This tool is located under src/tests/add-ons/print/transports. As it's not in Haiku image, it must be compiled by yourself, though.
comment:4 by , 13 years ago
Replying to phoudoin:
That won't help a lot, as the USB print transport add-on is no longer using /dev/printer/... kernel device. Instead it uses the userland USBKit directly. Unfortunatly, it doesn't provides some trace support.
Nice to hear. Then the fix I did last november on a very old install was done at the wrong place.
http://cgit.haiku-os.org/haiku/commit/?id=dea8f9c7666e897a50d904ab02ea3f37107f734b
by , 10 years ago
Attachment: | print_transport_loader-22389-debug-10-10-2014-13-21-46.report added |
---|
comment:6 by , 10 years ago
Replying to phoudoin:
Replying to korli:
What could be tried is to use the "Print to File" add-on and then try to send this file via the print_transport_loader test tool, which allow to send a file using whatever transport add-on.
This tool is located under src/tests/add-ons/print/transports. As it's not in Haiku image, it must be compiled by yourself, though.
In Printers preflet, a Driver:PS Compatible Transport: Print to File was created. "Print test page" was used to create the file. print_transport_loader USB\ Port ~/test
was the command used.
attachment:print_transport_loader-22389-debug-10-10-2014-13-21-46.report is from hrev47902.
comment:7 by , 8 years ago
There is a bug in the printing setup, where the printer will fail to print if no page range is specified (see ticket #12571). Follow the steps outlined there and report back if your printer is working or not.
Reassigned to 'nobody'. I am no longer developing for Haiku anymore.