LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 11-03-2007, 12:42 PM   #1
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
CUPS printing problem


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?

TIA
 
Old 11-03-2007, 03:03 PM   #2
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Original Poster
Rep: Reputation: 15
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?

Thanks.

Last edited by coolster; 11-03-2007 at 03:04 PM.
 
Old 11-03-2007, 03:29 PM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I'm not sure but you can try "devfsadm -v"
 
Old 11-03-2007, 04:38 PM   #4
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
I'm not sure but you can try "devfsadm -v"
Tried that one before, but it didn't work.

Thanks.
 
Old 11-03-2007, 04:56 PM   #5
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
I'm not sure but you can try "devfsadm -v"
Tried that one before, but it didn't work.

Thanks.

P.S I found in the sun forums taht this is a registered bug since 2005.
There is some workaround.
I 'll report back tomorrow.
 
Old 11-04-2007, 06:33 PM   #6
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by coolster View Post
I 'll report back tomorrow.
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.

Regards.

Last edited by coolster; 11-04-2007 at 06:36 PM.
 
Old 11-05-2007, 02:27 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Thanks for the feed-back !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing problem with CUPS rangalo Slackware 2 12-14-2005 09:27 AM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS printing problem r3dhatter Linux - General 8 05-16-2004 11:14 AM
CUPS printing problem EnigmaX Linux - Newbie 1 05-13-2004 09:20 AM
CUPS Printing Problem lawrencegoodman Linux - Newbie 1 09-24-2003 08:55 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration