The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Printing Multiple Copies capeme UNIX for Dummies Questions & Answers 0 12-12-2007 06:19 AM
Script to print multiple copies of the same file Alpha7 Shell Programming and Scripting 1 11-10-2006 03:56 PM
Printing multiple copies via remote queue Luck AIX 6 05-25-2005 10:39 AM
lp not printing multiple copies hassan2 UNIX for Advanced & Expert Users 2 09-02-2003 02:41 PM
question about printing number of lines in a file a8111978 UNIX for Dummies Questions & Answers 5 09-17-2002 07:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-11-2005
Registered User
 

Join Date: Jul 2005
Posts: 4
Printing a number of copies of a txt file

Hi,

We have an application running on AIX5.3 that generates text files that are sent to be printed using the lp command.

The user can specify the number of copies they want printed, but only one copy ever gets printed.

I've checked the lp command that is used, and it correctly specifies the -n switch followed by the number of copies.

Is there something in the print queue definitions that prevents multiple copies being printed?

Any help or advice greatfully received.

Thanks, Steve
Reply With Quote
Forum Sponsor
  #2  
Old 07-12-2005
Registered User
 

Join Date: Jun 2005
Location: Charlotte, NC
Posts: 16
Are you using the AIX printing subsystem or the SystemV printing subsystem?

Jim Hirschauer

Last edited by RTM; 07-26-2005 at 11:00 AM.
Reply With Quote
  #3  
Old 07-12-2005
Registered User
 

Join Date: Jul 2005
Posts: 4
Hi,

I believe we're using the AIX print subsystem, but I'm not 100% certain - what would I check to confirm this?

Thanks, Steve
Reply With Quote
  #4  
Old 07-13-2005
Registered User
 

Join Date: Jun 2005
Location: Charlotte, NC
Posts: 16
switch.prt -d

Jim Hirschauer

Last edited by RTM; 07-26-2005 at 10:54 AM.
Reply With Quote
  #5  
Old 07-13-2005
Registered User
 

Join Date: Jul 2005
Posts: 4
Checked, we are using AIX print subsystem.
Reply With Quote
  #6  
Old 07-14-2005
Registered User
 

Join Date: Jun 2005
Location: Charlotte, NC
Posts: 16
I would try using the enq command instead of the lp command and see if that works properly.

Jim Hirschauer

Last edited by RTM; 07-26-2005 at 10:53 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0