Operating System - HP-UX
1855635 Members
7732 Online
104112 Solutions
New Discussion

Re: Printer setup in HPUX11.11

 
Billy D
New Member

Printer setup in HPUX11.11

Hi,
I tried installing a local printer on our HP9000 K380 server running HPUX11.11 but can't get it to print. I did the same setup on a different server running HPUX11.00 and it works perfectly. Are there patches i need to install to get the printer running? The CentIf driver is already installed. Here's how i did it and the output. Thanks


# lpshut
scheduler stopped
# lpadmin -pPRN01 -mdumb -v/dev/c3t0d0_lp -g0
# lpadmin -dPRN01
# enable PRN01
printer "PRN01" now enabled
# accept PRN01
destination "PRN01" now accepting requests
# lpsched
scheduler is running
# lpstat -t
scheduler is running
system default destination: PRN01
device for PRN01: /dev/c3t0d0_lp
PRN01 accepting requests since Dec 2 08:06
printer PRN01 is idle. enabled since Dec 2 08:06
fence priority : 0
no entries
# lp -dPRN01 /etc/hosts
request id is PRN01-13 (1 file)
# lpstat -t
scheduler is running
system default destination: PRN01
device for PRN01: /dev/c3t0d0_lp
PRN01 accepting requests since Dec 2 08:06
printer PRN01 disabled since Dec 2 08:08 -
disabled by scheduler: can't open /dev/c3t0d0_lp
fence priority : 0
PRN01-13 root priority 0 Dec 2 08:08
hosts 585 bytes
#
11 REPLIES 11
Rajeev  Shukla
Honored Contributor

Re: Printer setup in HPUX11.11

Is this printer working on other systems. Check for the cable coz when you send a request it is disabling the queue. Also otherwise recreate the queue and see how it goes.

Cheers
Rajeev
Billy D
New Member

Re: Printer setup in HPUX11.11

Yup! The same printer is working fine in out HPUX11.00 system.
harry d brown jr
Honored Contributor

Re: Printer setup in HPUX11.11

Billy,

do this:

(1) lpshut

(2) ps -ef | grep lpsched

(3) if any more exist, use kill to get rid of them

(4) make sure you don't have full filesystems

(5) restart scheduler


live free or die
harry
Live Free or Die
Billy D
New Member

Re: Printer setup in HPUX11.11

Tried the above, i still get the same message.
The filesystems are not even close to being 50% full.

avsrini
Trusted Contributor

Re: Printer setup in HPUX11.11

Hi,
check the device file /dev/c3t0d0_lp exists.
also check with lssf and
it is pointing to correct
hardware address ( check with
ioscan). If this device is
corrupted, recreate the
device file and check again.

Srini.
Be on top.
Billy D
New Member

Re: Printer setup in HPUX11.11

checked with lssf and ioscan.
/dev/c3t0d0_lp has the correct HW address.

# ioscan -fnd CentIf
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
ext_bus 3 10/12/0 CentIf CLAIMED INTERFACE Built-in Parallel Interface
/dev/c3t0d0_lp
# lssf /dev/c3t0d0_lp
CentIf card instance 3 handshake mode 2 at address 10/12/0 /dev/c3t0d0_lp
#
Frank Slootweg
Honored Contributor

Re: Printer setup in HPUX11.11

First check if the path from the device file to the printer/paper works, i.e.

# cat some_text_file >/dev/c3t0d0_lp

If that works, you can have a look at the LP spooler part 'in front' of the device file.
Billy D
New Member

Re: Printer setup in HPUX11.11

woops! tried the above, it says:

# cat /etc/hosts > /dev/c3t0d0_lp
ksh: /dev/c3t0d0_lp: cannot create

i tried recreating the device files using insf but it's still not working...any ideas why?

tnx
Rajeev  Shukla
Honored Contributor

Re: Printer setup in HPUX11.11

I think there is something wrong with the port. The parallel port might be faulty which happens when you remove the printer cable from server side and the printer is on.
Get some hardware person to have a look at the parallel port.

1.Have you got any other parallel or serial port on which this printer can be connected.
2. Is the same printer working on other server to see if its printer port problem.
3. Configure this printer on a HP or Intel Jetdirect card and connect the printer through that. Its easy to manage.

Cheers
Rajeev
Rajeev  Shukla
Honored Contributor

Re: Printer setup in HPUX11.11

I think there is something wrong with the port. The parallel port might be faulty which happens when you remove the printer cable from server side and the printer is on.
Get some hardware person to have a look at the parallel port.

1.Have you got any other parallel or serial port on which this printer can be connected.
2. Is the same printer working on other server to see if its printer port problem.
3. Configure this printer on a HP or Intel Jetdirect and connect the printer through that. Its easy to manage.

Cheers
Rajeev
W.C. Epperson
Trusted Contributor

Re: Printer setup in HPUX11.11

Since the "cat" to the dev file as root doesn't work, I agree it's probably the port. But once that works with good hardware, it would have to work as user "lp", not just "root". Owner/perms should look like:
crw-rw-rw- 1 lp bin
"I have great faith in fools; self-confidence, my friends call it." --Poe