Operating System - HP-UX
1752782 Members
6122 Online
108789 Solutions
New Discussion

PRINTING ISSUE - Finding log where it says number of copies printed

 
SOLVED
Go to solution
Manuales
Super Advisor

PRINTING ISSUE - Finding log where it says number of copies printed

Hi ..
i am monitoring a job when some printing is sent to the printer TEST1022.
is there any log where this information is being kept? i mean, where the number of copies were sent.



♥$ while true
> do
> lpstat TEST1022
> sleep 1
> done
no entries
no entries
no entries

no entries
TEST1022-767 MEXDMA priority 0 Apr 6 15:15 from atlup11 on TEST1022
005xud4T.PR3 5 copies 34178 bytes
no entries
no entries
no entries
no entries

we want to know why sometimes the printer send to print several copies of the same when the program in abap indicates only 1 copy , do you know what the problem is?
thanks in advance.
4 REPLIES 4
Dennis Handly
Acclaimed Contributor
Solution

Re: PRINTING ISSUE - Finding log where it says number of copies printed

I don't see options nor input files in /var/adm/lp/log.
Bill Hassell
Honored Contributor

Re: PRINTING ISSUE - Finding log where it says number of copies printed

The number of copies only exists while the job prints. Once it is complete, the information is discarded. The printer script is responsible to repeat the print job so without modifying all the printer scripts to add a log, this information is not kept.

Are your printers connected to the network? Really bad network conditions can cause some scripts to restart a print job. For HP JetDirect print servers, you need to change the printers to disable true EOJ and Job Recovery:

modifyqueue -q myprinter -r off -t off

man modifyqueue


Bill Hassell, sysadmin
Manuales
Super Advisor

Re: PRINTING ISSUE - Finding log where it says number of copies printed

hi, thanks for your answer, let me study that command .
Manuales
Super Advisor

Re: PRINTING ISSUE - Finding log where it says number of copies printed

yes, the printers are connected in a network, they are remote printers .... :(
it is strange, it is happening only with some printers .... :(