1835927 Members
2603 Online
110088 Solutions
New Discussion

Re: LPSTAT

 
ARUN_19
Advisor

LPSTAT

Hello ..

We have a print server and file server running hp-ux 10.2. On the file server there is no local printer configured but uses remote printer on print server. Once the job is submitted on the file server , it will be moved to print server.

As long as the print que in the file server , lpstat -t command does not show time stamp. It just shows job id. How do we get time of submission and priority of the job submitted.

Where as on the print server lpstat -t command list timestamp and priority of the job.

KIndly advice if anything to be configured in the print spool setup.

Regards ..

Arun
6 REPLIES 6
S.K. Chan
Honored Contributor

Re: LPSTAT

The details that you wanted only get logged on the printer server side (ie in the file /var/adm/lp/log). You should see something like ..
-
......
Start: -
End: -
...
Is this what you wanted ?
ARUN_19
Advisor

Re: LPSTAT

No, actually i am just looking for the print spool status....
Bill Douglass
Esteemed Contributor

Re: LPSTAT

What S. K. is saying is that rmpte printer queues are different from local printer queues. The rempte printer model on HP-UX does not provide the same capability as local-queue models. Check out the APPLICATION NOTES section of the lpstat man page.
ARUN_19
Advisor

Re: LPSTAT

Thanks ,i have raed the application note...but
also observed that the print spool status appears with all the information including the time stamp randomly..i.e some time it appears some time not...it is hard to convince the customer as why it happens so!!!!
Jim Butler
Valued Contributor

Re: LPSTAT

You can edit the /etc/lp/interfaces file to write the info you need to a file. Then you can report on that file. Timestamps from a print server are typically current, i.e, if a job is holding the queue, the timestamp continuously updates, not giving you the "request time" (which I think is what you want).
Anyway, look in the print requests file in /usr/spool/lp for more info.

Man The Bilge Pumps!
ARUN_19
Advisor

Re: LPSTAT

closing old threads