Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-09-2004, 05:46 AM
|
#1
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Rep:
|
I can only print ps/txt files ?
Hi,
The following commands works for me:
lp -dep1 SmartDust.ps
lp -dep1 SmartDust.txt
but the equivallent:
lp -dep1 SmartDust.pdf
does not work.
I use the CUPS printing system.
How do I make lp/linux ready to print different types of documents ?
Especially pdf and jpeg would be nice.
THANKS!
|
|
|
09-09-2004, 10:27 AM
|
#2
|
Member
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507
Rep:
|
Hi,
As I understand it, lp is for text and postscript files so you would have to convert your pdf's and jpg's to postscript and pipe the output to lp. I don't know how to do that from the command line, but Adobe have a version of their acrobat reader for linux, and there's also a program xpdf. You should be able to print pdf's from either of these.
For jpg's, there are a ton of graphics programs that will let you print them.
John
|
|
|
09-10-2004, 02:13 AM
|
#3
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
The command "lpr -P dep1 filename.pdf" should work. (I assume dep1 is the name of the printer)
--Ian
|
|
|
09-12-2004, 01:15 PM
|
#4
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Original Poster
Rep:
|
Isn't lp and lpr the same thing but for the fact that lpr has offline functioning ?
|
|
|
All times are GMT -5. The time now is 10:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|