LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-05-2006, 09:58 PM   #1
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Rep: Reputation: 15
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
 
Old 04-06-2006, 06:09 PM   #2
wanderingmind
Member
 
Registered: Sep 2005
Location: UK
Distribution: Ubuntu 12.04 LTS
Posts: 76

Rep: Reputation: 16
you could see their manpages for differences "man lp", "man lpr" etc. etc..
 
Old 04-06-2006, 10:41 PM   #3
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
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).
 
Old 04-07-2006, 10:45 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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.
 
Old 04-13-2006, 10:31 AM   #5
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Original Poster
Rep: Reputation: 15
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
 
Old 04-13-2006, 05:09 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a LPR driver under CUPS koyi Debian 1 06-03-2005 01:05 AM
Slack 10 CUPS problem , lpr sethgeekx86 Slackware 5 06-28-2004 04:03 PM
confused... lpr/ lpr-cups shadow.blue Linux - Software 1 04-06-2004 06:15 PM
CUPS and LPR printing carlmarshall Linux - Newbie 2 01-23-2004 02:17 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration