LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-20-2011, 10:50 AM   #1
sampappachan_nyc
Member
 
Registered: Jan 2009
Location: New York
Distribution: Red Hat, CentOS,Fedora, Ubuntu, SUSE, linux mint
Posts: 60

Rep: Reputation: 0
LPR command -# X (number of copies) option not working


Hi,

I am not able to print multiple files when using the -#X (number of copies) option using lpr command.

The below is the command that i use :


lpr -#2 -o landscape -o deliver-to=Location -Pmyprinter file-name.pdf

Is there any configuration files that i need to modify for this option to be available ?

The printer that i have is using Postscript driver.

Please advise


Thank You
Sam Pappachan
 
Old 06-20-2011, 12:29 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Which version of lpr? Cups? have you tried lp?
 
Old 06-20-2011, 07:25 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Re lp
Quote:
lp -n num-copies filename ENTER
http://www.cups.org/doc-1.1/sum.html#3_4

Worth a try...

Last edited by chrism01; 07-04-2011 at 07:54 PM.
 
Old 07-04-2011, 02:10 AM   #4
allahbaksh
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Hello Chris,

Even I am facing this issue. Both lp and lpr commands are not working for multiple copies. Always a single copy of the print is happening.

Please help me in this Regards,

Thanks in advance,
Allahbaksh.
 
Old 07-05-2011, 02:51 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
try to decide whose lp & lpr you have.There are different ones. They use different options.

Have you cups installed? What have you installed to print with?
 
Old 07-05-2011, 05:46 AM   #6
allahbaksh
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
We are using he AIX lp and lpr.
 
Old 07-06-2011, 02:35 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Well, I withderaw all comments. I haven't struggled with those.
 
  


Reply



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
[SOLVED] rsync still copies with ignore existing option digity Linux - Newbie 2 07-14-2010 01:12 PM
lpr job number -- where does lpr get the job number? conetic Linux - Software 1 02-28-2008 03:38 PM
about lpr command and source ip of lpr command Fond_of_Opensource Linux - Newbie 1 04-11-2007 07:35 AM
cups addoption with number of print copies jmgreen7 Linux - Software 0 04-27-2005 01:18 PM
lpr & lpr-cups commands not working with CUPS trinbellwoods Debian 2 01-08-2004 08:25 AM

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

All times are GMT -5. The time now is 01:04 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