Cups Unable To Open Device File /dev/lp0
Preston Adv Reply September 25th, 2008 #2 jhodges View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jan 2008 Beans 10 Re: Printer Error "Unable to In my case, the problem could be solved setting the group of usr/lib/cups/backend/parallel to 'lp' and setting the GID-Bit (chmod 2755 parallel): -rwxr-sr-x 2 root lp 13K 2007-12-24 22:50 parallel Thus Re-traced my steps through the driver install / printer definition in cups. If I plug in my usb->parallel cable I get this in dmesg:Code: Select allkernel: usb 2-1: new full speed USB device using uhci_hcd and address 2
kernel: usb 2-1: configuration #1 his comment is here
For these exception rules need to get implemented in the USB backend of CUPS. Information forwarded to [email protected], Debian CUPS Maintainers
Acknowledgement sent to Wolf-Dieter Groll
This test does not cause anyThis is because cupsd is dropping his root permissions.Cupsd can only access files with group owner "lp".Check your Photosmart printer dev node to be sure.For a vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. Make sure your printer is connected via USB again. Click "OK" in the dialog window and "Exit" in the main window.
It is easiest to capture the job data from the application so that it can be analyzed to see whether it is already broken or not. If you have a PostScript or PDF printer and it does not print correctly from Ubuntu, please report a bug and proceed as follows, telling all your results in your bug Undo this change via $lpadmin-p
In older versions of all flavors, where there is not yet a "cupsctl" command, edit the file /etc/cups/cupsd.conf, find the line LogLevel ... the scanner still works. If you reach the test page step, you can either click the button to print the test page or you can print a job to the selected printer from any application Note that if the alternative you choose makes a network printer out of your printer that system-config-printer should find it as a network printer (wait for the scan to finish when
I got a workaround, but I'm interested if anyone knows a way to get the driver working again. https://wiki.ubuntu.com/DebuggingPrintingProblems Simply do the same steps but instead of cupsd.conf move away the offending configuration file. The printer shows unavailable. After that save the file and attach it to the bug report.
I also went ahead and setup my deskjet on usb:/dev/ulpt0. this content I [22/May/2006:14:53:31 +0200] Loading job cache file "/var/cache/cups/job.cache"... What I ended up doing was resetting my cupsd.conf to default and redid my settings. I don't have a lot of experience with that, so I am not sure how to check that udev is mis-handling the port such that cupsd can't work with it.No, I
Message #15 received at [email protected] (full text, mbox, reply): From: Luk Claes
Report a bug to the package cups, so that we can correct the default configuration of AppArmor. I am determined to find a small, light, fast Linux, and I like the general look of Slitaz. Updated cups and also used a .ppd.gz file from something HP provided.
stuaz Linux 0 07-16-2008 05:41 AM Installation of CUPS in HP-UX meeraramanathan HP-UX 6 06-10-2008 05:41 AM NIM server setup on etherchannel setup environment pdtak AIX 1 05-28-2008 05:54 PM selective
The workaround for me is changing "cnijusb:/dev/usblp0" to "file:///dev/usblp0" in /etc/cups/printers.conf, and then adding "FileDevice Yes" to /etc/cups/cupsd.conf. These show which components are accessed by the printing system for which there is no explicit permission given in /etc/apparmor.d/usr.sbin.cupsd. To access this web interface, enter the IP address of the printer into the address or URL line of a web browser. This is what I find in the /var/log/cups/error_log file : >=================================================== I [22/May/2006:14:53:31 +0200] Saving remote.cache...
Does printing work correctly now? Unable to open device file "/dev/lpt0": Permission denied David Reedy Jr davidrjr at comcast.net Tue Apr 22 15:09:21 UTC 2008 Previous message: Unable to open device file "/dev/lpt0": Permission denied Next USB printer Make sure that the printer is connected to your system and powered on. check over here Verify parallel port modules are loaded lsmod | grep par No modules are loaded so lets go to: Menu/System Tools/Control Box/Initialization tab Add the following to Load Modules: lp parport parport_pc
to it. I had some troubles getting going due to non-working cups drivers. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) [signature.asc (application/pgp-signature, inline)] Bug archived. On some HP printers there is WLAN connection but no ethernet connection.