Printer problem on Solaris 10 server


 
Thread Tools Search this Thread
Operating Systems Solaris Printer problem on Solaris 10 server
# 1  
Old 04-27-2012
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

Code:
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:

Code:
= 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
# 2  
Old 04-27-2012
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.
Code:
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...

Code:
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".
# 3  
Old 04-30-2012
Hi Yeabom,

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

Code:
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.
# 4  
Old 04-30-2012
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.
Code:
printerA|printerB|foo|bar|baz|qux:\
        :printer-uri-supported=ipp\://localhost/printers/printerA:\
        :bsdaddr= ...etc...

# 5  
Old 04-30-2012
Quote:
Originally Posted by Yeaboem
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.
Code:
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

X-server problem on Solaris 10

Hi, On my Sun Ultra 45, display was flickering. After changing PCI slot of graphic card (XVR-300), display stablized, but, now X-server not starting. I am getting following messages The X-server can not be started on display : 0... See file/var/dt/Xerrors for details. the output of... (8 Replies)
Discussion started by: rakhsin
8 Replies

2. Shell Programming and Scripting

Problem renaming files on Solaris 10 server

Good day all. I'm trying to rename some files in my home directory with some bizarre results. Basically I need to change the IP address in the filename to the hostname which I ggrep from within the file: -rw-r--r-- 1 bh694n nrc 5095 May 2 20:03 alarms_999.189.161.146.log... (2 Replies)
Discussion started by: BRH
2 Replies

3. Solaris

Facing problem while doing FTp to solaris server

Hi All, I am facing problem while doing FTp to solaris server through Windows XP machine. showing msg as follows 220 matrix FTP server ready. User (*.*.*.*:(none)): Sun 331 Password required for Sun. Password: 530 Login incorrect. Login failed. ftp> bye also while doing vi or... (2 Replies)
Discussion started by: sunray
2 Replies

4. Solaris

problem in rebooting solaris server

Hi, While we rebooting solaris server ,the system going to Maintenance mode instead of login console. even we are not able to run fsck command . Thanks in advanced for help. log attached FYI Executing last command: boot Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Discussion started by: helplineinc
3 Replies

5. Solaris

CLOSE_WAIT problem in solaris server

Hi, Occasionally I am getting the port state in CLOSE_WAIT for long time in the solaris server. I am not sure is it application problem or not. Because we are using port 9009 for Tomcat process in our web application, some time when I start the application, the port 9009 is in CLOSE_WAIT... (2 Replies)
Discussion started by: mgmk.84
2 Replies

6. Solaris

Problem with network printer on Solaris.

Hi All, We have configured an hp network printer on a Solaris-sparc machine. We are unable to print any files from this machine. The following are the other details: lpstat -p hpnic -l printer hpnic waiting for auto-retry. available. exec exit fault Form mounted: ... (0 Replies)
Discussion started by: shahshilpa
0 Replies

7. AIX

Check printer queue on Windows printer server

Hello Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running. I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Discussion started by: NielsV
0 Replies

8. Solaris

Problem in generating codes in solaris server!!

I have a solaris server having oracle and oracle apps running ! When some one attempts to generate a code, they click a link on the web interface which runs an rsh script from a computer called Helpdesk onto my solaris server and what happens is the web interface show an error message saying... (4 Replies)
Discussion started by: SmartestVEGA
4 Replies

9. Solaris

Problem with NFS server (Solaris 10)

Hello Guys, I have just joined this forum & hope that I will find a solution to my question. I have configured NFS shares on my machine solaris 10 (5.10). Shares have rw access for everyone. Tried starting NFS server daemon with following command. svcadm -v enable -t network/nfs/server... (3 Replies)
Discussion started by: say_hi_ravi
3 Replies

10. Solaris

Problem with webmin server in Solaris OS

Hi all, This is the first time i am using this forum to clear my doubt. I am using Sun solaris 9 Operating System, I am stuck up with a problem regarding webmin server.I logged in to webmin as system administrator (root)and then clicked change passwords module. It shows the list of... (1 Reply)
Discussion started by: Kundu
1 Replies
Login or Register to Ask a Question