pjohns
31st May 2002, 17:31
Baan IVc4
HPUX 11
HP4050 printer
JetDirect card print server

We are sending print jobs from Baan, we can see the print request in SAM. But the print request does not get processed and just sits there. The printer is ONLINE, we can see the printer via the JetDirect web manager and the staus is shown as ready. We can ping the print server.

If we stop and restart the UNIX spooler the jobs are sometimes flushed through other times they are still sitting as requests visible in SAM.

We you see the print request in SAM the file thats trying to be printed is a called something like tmp006504960. Where should this file be? I've looked under $BSE/tmp but it cannot be found here. Should I expect to see anywhere or is it removed once the request is passed to UNIX?

Thanks

PJ

patvdv
31st May 2002, 17:49
PJ,

Here are some checks you can do:

1) If you have JetAdmin installed then check the printer's log file in /opt/hpnp/tmp. You can also use the /opt/hpnp/bin/hpnpadmin to query status information. See hpnpadmin -? for options.

2) Your request should be located in /var/spool/lp/request/<queue_name>. You can check LP scheduler log files in /var/adm/lp

Hope it helps a bit!

pjohns
31st May 2002, 18:02
Thnaks for the pointers on where to look. This problem has had many people scratching there heads this week. (We've all gone bald now!)

One thing I didn't mention is that the printers are at a remote site on our WAN. The problem is not consistent, sometimes it works sometimes it doesn't. Could this be some form of timeout issue? When pinging our response times are sub 100ms so I doubt this is the problem.

Regards

PJ

NPRao
31st May 2002, 20:15
Hi PJ,

If you are on the HP-Unix, try using the lpstat command -

lpstat(1) lpstat(1)

NAME
lpstat - report line printer status information

SYNOPSIS
lpstat [-drst] [-a[list]] [-c[list]] [-o[list]] [-p[list]] [-u[list]]
[-v[list]] [ID...]

DESCRIPTION
The lpstat utility writes to standard output information about the
current status of the line printer system.

If no arguments are given, lpstat writes the status of all requests
made to lp by the user that are still in the output queue.