Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
 |
04-05-2006, 09:58 PM
|
#1
|
Member
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135
Rep:
|
what is the different between lp, lpr, llpr, lpr.cups...
I got confused between many print command. On my system, i see lp, lpr, lpr.cups, after i install driver for my samsung printer, i have another one: llpr! Which one is the real executable file that prepare the print job and send to the printer?
Hope to have some explaination from experts 
Thai
|
|
|
04-06-2006, 06:09 PM
|
#2
|
Member
Registered: Sep 2005
Location: UK
Distribution: Ubuntu 12.04 LTS
Posts: 76
Rep:
|
you could see their manpages for differences "man lp", "man lpr" etc. etc..
|
|
|
04-06-2006, 10:41 PM
|
#3
|
Member
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135
Original Poster
Rep:
|
I did but i couldnt see the differences!!!
BTW, is there anyway to make all application especially firefox, gedit, openOffice use the print interface provided by the printer manufature (samsung)? The print interface is installed in /usr/local/linuxprinter/bin/llpr (this is the binary file).
|
|
|
04-07-2006, 10:45 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep: 
|
Some apps like xpdf allow you to specify your own printer command, but I'm not sure about firefox, openoffice etc
*edit: type about:config in firefox address bar and search for print. You will see a setting for print.command that uses lpr
One difference between lp and lpr is that you can specify options for lp that are saved and can be read back with lpoptions:
$ lpoptions media=A4
$ lpoptions
$ job-sheets=none,none media=A4 outputorder=reverse orientation-requested=3 portrait=true PageSize=A4
I'm not sure you can do the same with lpr, or if lpr also reads these settings
Last edited by dive; 04-07-2006 at 10:56 AM.
|
|
|
04-13-2006, 10:31 AM
|
#5
|
Member
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135
Original Poster
Rep:
|
Quote:
Originally Posted by dive
Some apps like xpdf allow you to specify your own printer command, but I'm not sure about firefox, openoffice etc
*edit: type about:config in firefox address bar and search for print. You will see a setting for print.command that uses lpr
|
I change the pint.command in firefox but it does not lauch the print interface but sending the document to the application interface directly thus, the result is nothing is printed out
|
|
|
04-13-2006, 05:09 PM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
On my CentOS server, the printing commands seem to be symlinks to alternative print servers in /etc/alternative/print*. I would assume that whichever command you choose will work because it is linked to the default print server. So if you are using cups, lp would point to lp.cups and lp to lp.cups etc.
Last edited by reddazz; 04-13-2006 at 05:13 PM.
|
|
|
All times are GMT -5. The time now is 05:52 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
|
|