Registered Member
|
I just installed openSuse 13.1 (clean, new install, stock with initial updates only) on two machines in a network, one of which has an HP Laserjet printer attached. While I am able to print test pages and pages from LibreOffice, pages sent from Kate, Kwrite, FireFox, other applications fail to print on the machine attached to the printer (parallel:/dev/lpt1). The print window for the HP shows an grayed-out output file going to pdf. Printing works for all applications on the remote, networked machine through Samba.
I have re-installed the printer several times (and reinstalled the OS, also) and looked at logs, all to no avail. CUPS, the HP print manager, and other devices all indicate there is a connected printer. Curiously, even though the test page printed from the CUPS, the job states "unable to open print file: No such file or directory." Here is the printers.conf file for the local machine:
Previously, in 11.4, I was able to print from all applications through Samba. All advice welcome. Thanks. |
Administrator
|
Hmm - the greyed out PDF selection is used when printing to PDF or Postscript files, that behaviour is therefore normal.
Does CUPS indicate what happens to the jobs which aren't printing?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you. Yes, the typical error is "Unable to open print file: No such file or directory" (from CUPS jobs and /var/log/cups/error.log).
|
Administrator
|
Can you please try removing the printer (after noting the driver it is configured to use) and readding the printer again?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I'm happy to try uninstalling and reinstalling the printer, but please note I have done that a number of times using a variety of interfaces. The printer was first installed during automatic configuration when the OS was installed (after reboot), then CUPS, the HP tool, an applet called system-config-printer that apparently works with CUPS, and in Yast. Same results each time for KDE applications: Unable to open print file: No such file or directory (from /var/log/cups/error.log)
I am now using the following driver: HP LaserJet 4050 Series Postscript (recommended) -- see the printers.conf file in the first post. Please let me know if you would still like me to reinstall the printer. Thanks. |
Registered Member
|
Out of curiosity, I deleted and reinstalled the printer through CUPS [driver: HP LaserJet 4050 Series Postscript (recommended) ]. The default in CUPS places it on the wrong port (lp0 instead of lp1). I corrected the port designation, printed a test page and a page from LibreOffice, but cannot print from KATE:
hp4050-43 Unknown Withheld 1k 1 completed at Sat 26 Apr 2014 11:17:31 AM EDT "Unable to open print file: No such file or directory" |
Registered Member
|
Even though I have been using SuSE linux heavily for the past ten years and frequently tinker with settings and config files, I am no expert and have a superficial understanding of printing and CUPS. Moreover, my experience with printing and CUPS has been through a network, which apparently is less finicky that printing to a local printer. I have begun to look at materials on the cups.org and openprinting.org websites, but nothing I have seen appears to offer a solution.
Even though the two machines have essentially identical stock builds, somewhere a dependency may be missing or broken, or perhaps a configuration file requires modification. I have a thread going in SuSE forums on this subject and have searched extensively, but this remains a mystery. One issue may be the parallel port, but CUPS and the system recognize the printer, so the parallel port may not be an issue. I am still open to suggestions. |
Registered Member
|
Would a change of permissions in cupsd.conf provide a remedy? If so, how?
My current cupsd.conf:
|
Administrator
|
Please try increasing the LogLevel to Debug, then restart CUPS and tail the log while attempting to print from Kate, and then another application.
When posting the logs, please include separate ones for each application so the failures can be distinguished.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I can now print from Firefox! But not KATE or a terminal (bash Konsole).
Here is end of the log for an attempt to print from the terminal:
Here is the log from a print attempt from KATE:
These are obviously quite different. Please note that for a variety of reasons, I did a fresh, new install of Suse this morning. Thanks for your time and assistance. |
Administrator
|
As far as I can tell, the printing attempt with Kate was completely successful. I'm assuming it is still not working?
If the terminal lost some of the output, could you try setting the scrollback to unlimited in the Konsole settings - then reperforming the tail and print process?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I set the scrolling in Konsole to unlimited. I am still unable to print from KATE (log tail below).
Here is the tail with 100 lines from the Konsole print attempt:
Here it again with tail -f (Konsole):
From a print attempt on KATE:
|
Administrator
|
Instead of error_log can you try tailing page_log instead please?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for your continuing efforts.
Here are tails for both the page and error logs for KATE and Konsole:
Please let me know if this is not what you were seeking. Thanks. |
Administrator
|
Hmm - are you initiating the tail before, or immediately after you hit the print button?
Based on the posted logs, it seems that a whole portion is missing - Job 15 is completed a few lines into the log...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]