Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed CUPS from ESP Print Pro on Solaris 10 many hours ago, but I can't seem to get it working.
I have been setting up a lot of different printerqueues through the CUPS admin webinterface, but I always get the same results:
Description: inktjet
Location: localhost
Make and Model: HP DeskJet 960C, 2.7.1
Printer State: idle, accepting jobs, published.
Device URI: localhost:631/ipp (sorry, I can't post URL's here since this is my first post, so I stripped the http)
After sending a job this message keeps on bugging me:
HP_Deskjet_960C "Destination printer does not exist!"
From the commandline I get this:
>lpstat -d
no system default destination
error_log says:
I [03/Nov/2007:16:53:24 -0100] New printer "HP_DeskJet_960C" added by "root".
I [03/Nov/2007:16:53:29 -0100] commptr="?OP=set-printer-options&PRINTER_NAME=HP_DeskJet_960C"
I [03/Nov/2007:16:53:29 -0100] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=2199)
I [03/Nov/2007:16:53:50 -0100] commptr=""
I [03/Nov/2007:16:53:50 -0100] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2200)
I [03/Nov/2007:16:55:16 -0100] Adding start banner page "none" to job 29.
I [03/Nov/2007:16:55:16 -0100] Adding end banner page "none" to job 29.
I [03/Nov/2007:16:55:16 -0100] Job 29 queued on "HP_DeskJet_960C" by "xfried".
I [03/Nov/2007:16:55:16 -0100] Started filter /usr/lib/cups/filter/pstops (PID 2203) for job 29.
I [03/Nov/2007:16:55:16 -0100] Started filter /usr/lib/cups/filter/pstoraster (PID 2204) for job 29.
I [03/Nov/2007:16:55:16 -0100] Started filter /usr/lib/cups/filter/rastertohpijs (PID 2205) for job 29.
I [03/Nov/2007:16:55:16 -0100] Started backend /usr/lib/cups/backend/http (PID 2206) for job 29.
I [03/Nov/2007:16:55:20 -0100] commptr=""
I [03/Nov/2007:16:55:20 -0100] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=2207)
E [03/Nov/2007:16:55:25 -0100] PID 2206 (/usr/lib/cups/backend/http) stopped with status 4!
E [03/Nov/2007:16:55:25 -0100] [Job 29] Destination printer does not exist!
I [03/Nov/2007:16:55:25 -0100] [Job 29] Backend returned status 4 (stop printer)
More info: The printer is connected to the parallel port at my x86 PC.
I thinks it has something to do with the Device URI, but I am out of clues here.
Have you got any?
I am closing in on the problem: there seems something wrong at the hardware level.
I just discovered that /dev/lp1 softlink to /devices/isa/lp@1,378:eccp0 is broken. There *is* no lp@1,378:eccp0 in /devices/isa
Checked the BIOS settings for parallel port 378/IRQ7:
There is
- Normal
- ECP + EPP
- ECP
- EPP
- SPP
I relaoded the OS with the "normal" and the "ECP + EPP" setting. No difference.
How do I rebuild the device for lp1 in /devices to make a correct link?
It is more then tomorrow now, so I 'll hurry. :-) This bug was registered in early 2006. It is fixed in Solaris Nevada, but still not in Solaris 10 upgrade 4, which is a bit silly.
So what is happening?
In Solaris 10 there *is* an ecpp parallel port driver, but it doesn't load on boot. However, I could make it load with "modload".
"modinfo" did confirm this.
To get the driver attached I needed to get this module registered in /etc/driver_aliases: so I did "update_drv -a -i 'lp' ecpp".
The -i parameter takes care of calling "devfsadm" which reads the file driver_aliases and then builds the new devicetree, so that the broken link from lp in /dev to lp@1,378:eccp0 in /devices/isa got fixed.
I guess this problem is not a very big deal for modern solaris users, since most printers nowadays are connected through USB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.