Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing the correct number of copies

Status
Not open for further replies.

stebradshaw

Technical User
Jul 10, 2005
1
SG
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
 
we have written a script called "lp" and we get the number of copies,as a parameter in commandline

eg : lp -dPRINTER file.txt 3

In our script,we just loop the lp command 3 times then

changed the PATH for lp ( we placed it in /usr/lbin ), problem solved...


Regards,

R.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top