Having trouble adding printers on my Solaris system

Mun Mun.Johl at Emulex.Com
Wed Apr 4 15:58:26 PDT 2007


Hi.  My apologies for the long post.

I need to add a printer to my SPARC/Solaris 8 workstation
and have run into trouble.  I first tried to use Solaris'
Printer Manager to add the printer.  Even though it appeared
as if the printer was added, I couldn't print to it.

I then decided to install CUPS.  I installed version 1.3svn
and proceeded to install one of my company's Canon iR C3220
printers, for which I have a PPD file.

The configuration is thus:
       Device:   AppSocket/HP JetDirect
   Device URI:   socket://color:Print

When I select "Print Test Page", the job gets queued but
never exits the "processing" state.

lpq shows the job in the queue, I don't see any errors, yet
that's as far as I get.  I eventually just have to cancel
the job.

I even tried adding my username to the Allowed Users list;
again, no difference.

If I try to use something like a2ps to send something to
color:Print, I get the following output:

===================================================
% a2ps grR.out
[grR.out (plain): 21 pages on 11 sheets]
lp: The printer or class was not found.
[Total: 21 pages on 11 sheets] sent to the printer `color:Print'
[446 lines wrapped]
===================================================

I saw the lp message, yet I didn't think specifying a class
was required.

I went ahead and created a class and put the installed
printer into the class.  However, everything seemed to break
at that point.  Access attempts to any link under
localhost:631 now result in browser errors.

Furthermore, a2ps now results in the following error:

===================================================
% a2ps grR.out
[grR.out (plain): 21 pages on 11 sheets]
lp: Connection refused
[Total: 21 pages on 11 sheets] sent to the printer `color:Print'
[446 lines wrapped]
===================================================

Perhaps now there is a permission error somewhere?  I tried
pulling up a browser as root, but that behaves the same way.

Any assistance would be very much appreciated.





More information about the cups mailing list