×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Solaris network printer does not print after cluster patch

Solaris network printer does not print after cluster patch

Solaris network printer does not print after cluster patch

(OP)
I'm having problems getting our network printer back up and running after applying the Solaris 10 x86 Recommended Patch Cluster. The Solaris box was printing just fine before the patch. The problem resolves around the use of Solaris' lp command. If I use the lpr command, everything prints just about fine. So in essence, lp does not work but lpr 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 /etc/profile 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\://machine/printers/hpcolor:\
        :bsdaddr=machine,hpcolor,Solaris:\
        :description=HP Color:

_default:\
        :use=hpcolor:

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

Output of lpstat -p hpcolor -l:

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=ip:9100, protocol=tcp

Output of lpstat -t

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close