Need FreeBSD UBS/Parallel help
In FreeBSD v6.2, I've been trying to set up a Samsung ML2510 printer with no luck. Using the parallel port, I have gotten the printer to whirr, but no output. Using the USB connection, not a sound, nothing.
I began to think it's a FreeBSD problem, and in the CUPS log I found: [Job 12] Unable to open USB device "usb:/dev/unlpt0": permission denied (*there is another line like this referring to ulpt0*) [Job 12] Backend returned status 1 (failed) CUPS - Set - Default: unauthorized When booting, the OS recognizes the printer by correct model number. When connected to the USB port, BASH knows when the printer is turned on or off and reports accordingly. However, when connected to parallel port, BASH doesn't respond to switching on or off. Any help is greatly appreciated. |
ezor,
You need to read /usr/ports/print/cups-base/pkg-message. This message displays upon port installation, but you may have missed it then. |
Hi
To work printer you must have read/write permisions to /dev/ulpt0 or /dev/lpt0. To do that for every user add in /etc/devfs.conf the following : perm lpt0 0666 perm ulpt0 0666 Good luck |
Thanks for the replies. I've been away for a few days and will get back to the problem tomorrow. I have a clean working BSD (no cups etc) on my slave drive and after moving it to the master, I'll start with a fresh CUPS install.
|
After a delay of a few days, I was finally able to get back to the problem.
anomie - Thanks, but no errors or problems with CUPS. Dan Angelescu - This time, while installing ghostscript-gnu, I noticed that it seems to contain the samsung gdi.ppd. In past attempts, I have manually put ppd files, that I had downloaded, in /usr/local/share/cups/model. Anyway, I thought I'd take a chance and not do it this time. Initially, localhost:631 installed the printer but no output as before. After doing the perm 0666 for lpt0 and ulpt0, I can print a test page and print a web page. Being new to FreeBSD, I assumed that since the printer was recognized on the USB port, that nothing more had to be done. I had all but given up hope of getting this printer to work with FreeBSD. Thank you very much for solving the problem. |
Apparently my advice wasn't clear enough. If you had read the file I pointed you to, you would have seen:
Code:
====================================================================== |
The file /etc/devfs.rules didn't exist, so I created it and added as per item #1. Then did items #2 and #3.
About printing with Gimp and to Windows clients - Sorry but I don't understand. However, I will never need to print to a windows client. Could you explain? |
To be more exact, the files in the last part of the instructions live under /usr/local/etc/cups.
i.e.
I believe the message is actually referring to printing from gimp or from a Windows client. If this doesn't apply to you, then you can skip that section. |
anomie,
Okay, I see it now. Thanks very much for your help. |
All times are GMT -5. The time now is 03:04 PM. |