Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris network printer does not print after cluster patch

Status
Not open for further replies.

lordblood

Programmer
Nov 9, 2001
35
0
0
US
I'm having problems getting our network printer back up and running after applying the [tt]Solaris 10 x86 Recommended Patch Cluster[/tt]. The Solaris box was printing just fine before the patch. The problem resolves around the use of Solaris' [tt]lp[/tt] command. If I use the [tt]lpr[/tt] command, everything prints just about fine. So in essence, [tt]lp[/tt] does not work but [tt]lpr[/tt] works.

I tried to trouble shoot by creating a localq file as described by sun on thier developers.sun.com site.

Code:
# touch /var/tmp/localq
# chmod 666 /var/tmp/localq
# lpadmin -p localq -v /var/tmp/localq
# enable localq
# accept localq

The funny thing is when I submit a print job, I sometimes get just the banner page. Other times, I get the whole print job. For example, if I print the [tt]/etc/profile[/tt] file, I get a normal print (even to the printer). But, If I print a file with just "This is a Test", I receive only the banner page.

I have deleted and recreated the printer to see if anything was fishy ... no dice.

I'm not very familiar with troubleshooting Solaris printer problems as this is the only one I ever set up. Not sure what files would be needed to tell where the problem lies except I know its not with the printer. I believe the localq test would show that.

Here are some of the items I looked at to get a handle on the problem:

printers.conf
Code:
hpcolor:\
        :printer-uri-supported=ipp\://[i]machine[/i]/printers/hpcolor:\
        :bsdaddr=[i]machine[/i],hpcolor,Solaris:\
        :description=HP Color:

_default:\
        :use=hpcolor:

localq:\
        :printer-uri-supported=ipp\://[i]machine[/i]/printers/localq:\
        :bsdaddr=[i]machine[/i],localq,Solaris:

Output of [tt]lpstat -p hpcolor -l[/tt]:
Code:
printer hpcolor idle. enabled since Thu Oct 22 15:30:52 2009. available.
        Form mounted:
        Content types: application/postscript
        Description: HP Color
        Printer types: PS
        Connection: direct
        Interface: /usr/lib/lp/model/netstandard
        On fault: write root
        After fault: continue
        Users allowed:
                (all)
        Forms allowed:
                (none)
        Media supported:
                (none)
        Banner required
        Character sets:
                (none)
        Default pitch:
        Default page size:
        Default port setting:
        Options: dest=[i]ip[/i]:9100, protocol=tcp

Output of [tt]lpstat -t[/tt]
Code:
scheduler is running
system default printer: hpcolor
device for hpcolor: /dev/null
device for localq: /var/tmp/localq
hpcolor accepting requests since Thu Oct 22 15:30:57 2009
localq accepting requests since Fri Oct 23 17:24:42 2009
printer hpcolor idle. enabled since Thu Oct 22 15:30:52 2009. available.
printer localq idle. enabled since Fri Oct 23 17:24:37 2009. available.

Any thoughts or suggestions would be greatly appreciated.

Thanks,
LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top