cancel
Showing results for 
Search instead for 
Did you mean: 

Printing issue

Printing issue

os : hpux11.11

We have created a print queue call DMS in our backend system. And when user run the batch file to generate policies (in huge volumn, sometime the batch up to 1000 jobs), the job will be directed to the DMS queue which point to the printserver (Example 200.8)
2 Questions:
1] This print queue always down.. Why?
2] Sometime all the job directed to DMS queue were not send to printserver but instead it print out in IT-HQ printer (accel6)
10 REPLIES
TTr
Honored Contributor

Re: Printing issue

> This print queue always down.. Why?

Do you have a special software (or homemade software) installed for print job management? Usually these print management systems keep all queues down and they release the spooled jobs to the queues as needed.

> job directed to DMS queue ...it print out in IT-HQ printer

A print management system would do that.

Re: Printing issue

how to check printer error log at hpux ?
Suraj K Sankari
Honored Contributor

Re: Printing issue

Hi,
You can check with.

lpstat -t

Suraj

Re: Printing issue

if we want to check system log , then we can check on syslog.log , then how about the printer ? what directory let me to check ?
Prasanth V Aravind
Trusted Contributor

Re: Printing issue

Hi,

>> This print queue always down.. Why?

As you have mentioned your print volumes are huge (1000 jobs).....
Lp supports maximum jobs of 10000. it seems this high volumes can be the cause. you can go for any print management softwares which support high volumes of jobs like OM Plus

/var/spool/lp/request is the place for print queues. This directory contains other subdirectories, each of which represents one print queue. The actual print requests are spooled in this directory.

/var/adm/lp directory contains log files for the print spooler system.

Re: Printing issue

hi please see below and advice

[lpc]/var/spool/lp/request #ll dm*

dms:
total 16
-rw-r--r-- 1 lp lp 0 May 24 2006 .remotesending
-rw-r--r-- 1 root lp 23 May 7 14:14 .sendingstatus

dms2:
total 16
-rw-r--r-- 1 lp lp 0 Jan 29 16:26 .remotesending
-rw-r--r-- 1 root lp 24 May 7 14:15 .sendingstatus
[lpc]/var/spool/lp/request #ll accel6
total 0
[lpc]/var/spool/lp/request #
Prasanth V Aravind
Trusted Contributor

Re: Printing issue

Hi,

Thanks for the outputs , But the information given is not sufficient to give some solution. still i will try to give you some check points...


1. start with your printer.... is this power on ??? is it functioning properly ? accepting print from any other machines ?? paper is loaded ?? restart printer & try again

2. if it is a network printer , can you able to ping to printer ip from server?

3. what is the printer queue status ?? chech with "lpstst -t dms " ?? is it a big queue ?? try to cancel jobs if not require

4. is there sny error you can see in /var/spool/lp/log

5. try to restart your print scheduler using commands:-
#lpshut
# rm /var/spool/lp/SCHEDLOCK
# lpsched

6.More over this... does the /var filesystem full ??? if it is full print queue won't work ...


let me know is these really help you .....

Gudluck
Prasanth

Re: Printing issue

1. start with your printer.... is this power on ??? is it functioning properly ? accepting print from any other machines ?? paper is loaded ?? restart printer & try again
ans : Yes, itâ s ON and functional.

2. if it is a network printer , can you able to ping to printer ip from server?
ans : Itâ s a remote printer pointing to the print server.
(example dms (print queue) point to prtsvr (print server)

3. what is the printer queue status ?? chech with "lpstst -t dms " ?? is it a big queue ?? try to cancel jobs if not require.
ans : Sometime the queue is down. But why ??

4. is there any error you can see in /var/spool/lp/log
ans : No.

5. try to restart your print scheduler using commands:-
#lpshut
# rm /var/spool/lp/SCHEDLOCK
# lpsched
ans : No, did not try that as it will shut all printer.

6.More over this... does the /var filesystem full ??? if it is full print queue won't work ...
ans : No..
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 5160960 4048960 1109168 78% /var
Prasanth V Aravind
Trusted Contributor

Re: Printing issue


>> Sometime the queue is down. But why ??

Can you check the print queue status on remote server, when its go down ??

Do you able to give printout from remote server, when its go down locally ?


Gudluck
Prasanth

Re: Printing issue

Our problem was just a particular print queue down (the print queue was point to external print server machine)
And when the queue down, we just re-enable it and not the lpsched spooler.