Printer problem on Solaris 10 server

Hi everyone,

I am new here and I just want to ask for the expert advice from you guys about the problem/issue I am encountering with network printer defined on a Solaris 10 machine.

I have this printer named 'printerA' which I already added via printmgr utility. As an output, here is the configuration place on /etc/printers.conf

Legend:
Printer name = printerA
Server name = serverA

printerA:\
        :printer-uri-supported=ipp\://localhost/printers/printerA:\
        :bsdaddr=localhost,serverA,Solaris:\
        :description=Konica Minolta 750:

I am not that knowledgeable with Solris IPP protocol. Actually this is the first time I encounter such setup.

Upon trying to send a test print to the printer, it always shows errors and the print job always fails.

Here is the log shown on /var/lp/logs/requests:

= printerA-9050, uid 40123, gid 10016, size 10839, 27 April 2012  5:23:06 PM
x /usr/bin/cat
z printerA
C 1
D printerA
F /var/spool/lp/tmp/localhost/9050-1
O nobanner
P 20
T standard input
t postscript
U dly@serverA
s 0x0104

Upon checking the status codes legen on docs.oracle site. there is no equivalent description from the site.

I already removed and added the printer several times as well as restarting the following services:

svc:/application/print/server:default
svc:/application/print/rfc1179:default
svc:/application/print/ipp-listener:default

The /etc/hosts file already contains the IP address of the printer.

Another thing, the same printer is also configured on another server and it is working, the only difference is not configured on IPP protocol.

Does anyone know the meaning of the error code 0x0104 or anyone encountered similar problem?

Did I miss any step on adding the said printer?

Please advise, thank you very much

Please post the content of /etc/lp/printers/printerA/configuration

Also, your /etc/printers.conf may have an error in the bsdaddr value.
This should be bsdaddr=printserver,queuename,Solaris
e.g.

printerA:\
        :printer-uri-supported=ipp\://localhost/printers/printerA:\
        :bsdaddr=localhost,printerA,Solaris:\
        :description=Konica Minolta 750:

the contents of your /etc/lp/printers/printerA/configuration file should be something like this...

Banner: off
Content types: postscript
Device: /dev/null
Interface: /usr/lib/lp/model/netstandard
Printer type: PS
Modules:
Options: dest=serverA:9100,protocol=tcp

...assuming that "serverA" is the IP addr of "printerA".

Hi Yeabom,

Here are the contents of my /etc/lp/printers/printerA/configuration:

Banner: off
Content types: simple
Device: /dev/null
Interface: /usr/lib/lp/model/netstandard_foomatic
Printer type: unknown
Modules:
Options:
PPD: /usr/lib/lp/model/ppd/system/foomatic/KONICA_MINOLTA/KONICA_MINOLTA-bizhub_600-Postscript.ppd.gz

for the /etc/printers.conf

I already attempted to change the
bsdaddr:serverA,printerA,Solaris

ServerA is no the IP of the printer but the IP of the server itself.

Thanks.

---------- Post updated at 03:52 PM ---------- Previous update was at 07:54 AM ----------

I already fixed the issue with the printer.

I did an 'lpset' to indicate the protocol and destination of the printer.

BTW, anyone who knows how to create an alias name for the printer?

For example, I can send print jobs to both printerA and printeB but both print jobs will be sent to a single printer.

Thanks.

glad you got it working...

you can add "alias" printer names directly in your printers.conf file .. just add additional names separated with '|' to the printer-name field. See the printers.conf(4) manpage.

e.g.

printerA|printerB|foo|bar|baz|qux:\
        :printer-uri-supported=ipp\://localhost/printers/printerA:\
        :bsdaddr= ...etc...

Great, I will try it now, thanks Yeabom, I will update you if it works.

Thanks again!