Print Error With PDF In Linux


Just installed antiX linux and am impressed so far. It uses icewm or fluxbox as the window manager without excessive gnome or kde libraries installed. Maybe even without any?

So antiX is a fast, low footprint distro. But with these benefits comes one disadvantage. All of the hand-holding that a desktop manager like Gnome or KDE does behind the scenes is missing. The issue I had with not being able to print from any of the pdf viewers is one such instance. But if you have experience with these window managers or are willing to search the internet then it's not usually an issue.

So when I try and print with these viewers the print queue bombs out. I have my printer installed on the networked family windows pc so I access it using through SAMBA using the CUPS interface. Trying different print queue commands in acroread gives me no result.

/usr/bin/lpr

/usr/bin/lp

Nothing except an error about printer not found. The answer to this is to set the default printer using the commands below:

To see what the default printer is: $ lpstat -d

In my case no response so there isn't one!

To see what printers are available: $lpstat -a

Which returned psc750, success!

To set the default printer: lpoptions -d psc750

And checking again shows me that the psc750 is now my default printer. So back to acroread and setting the custom print command to /usr/bin/lp produces my pdf on my printer.

Sorted!

Reblog this post [with Zemanta]

0 comments:

Copyright © 2009 - Plans to Prosper - is proudly powered by Blogger
Smashing Magazine - Design Disease - Blog and Web - Dilectio Blogger Template