printing problem on hpux 11.x

  • Follow


Hi all!

I'm trying to print to a remote printer on HP-UX through a remote print server.

I've added the remote printer with both SAM and the command line.

I can ping the remote printer (added it's IP address in the /etc/hosts
file) and I can see the printer in the lpstat:

printer queue for PRN_5000
 Queue   Dev   Status    Job     Name           From           To            
                         Submitted        Rnk Pri       Blks  Cp          PP %
 ------- ----- --------- ---------        --- ---      ----- ---        ---- --
 prn_5000 hp@pr READY    

hpuxstation1: prn_5000: ready and waiting

The hostname is hpuxstation1
the printer is prn_5000. This is aan HP laserjet 5000 printer. This
printer has always worked like a charm, but after a complete system
install where I did to my knowledge everything the same way as three times
before, the printer does not print.

To print I try the following:

lp -dprn_5000 /etc/protocols

I use -d because even it is the default queue I want to be sure. The
result of this command is:

request id is prn_5000-3 (1 file)

and it shows up in the /var/spool/log file of the printers:
***** LP LOG: Feb  7 13:40 *****
prn_5000-0       root    prn_5000 Feb  7 13:41
prn_5000-1       root    prn_5000 Feb  7 13:44
prn_5000-2       root    prn_5000 Feb  7 13:44
prn_5000-3       root    prn_5000 Feb  7 14:08
prn_5000-5       root    prn_5000 Feb  7 14:10


however when I look at the printer it is only waiting for input. No sleep
mode and certainly not printouts..

What is necessary to get this printer do what it is supposed to do? like
printing?
0
Reply NTDeaf 2/7/2006 8:36:11 PM

Hi

is it a Laserjet with builtin Jetdirect printserver? If yes, then you 
have to install the free product "hpnpl" (HP JetDirect Printer Installer 
for UNIX). This provides a tool hppi, which creates and manages 
Jetdirect print settings.

Florian

NTDeaf wrote:

> Hi all!
> 
> I'm trying to print to a remote printer on HP-UX through a remote print server.
> 
> I've added the remote printer with both SAM and the command line.
> 
> I can ping the remote printer (added it's IP address in the /etc/hosts
> file) and I can see the printer in the lpstat:
> 
> printer queue for PRN_5000
>  Queue   Dev   Status    Job     Name           From           To            
>                          Submitted        Rnk Pri       Blks  Cp          PP %
>  ------- ----- --------- ---------        --- ---      ----- ---        ---- --
>  prn_5000 hp@pr READY    
> 
> hpuxstation1: prn_5000: ready and waiting
> 
> The hostname is hpuxstation1
> the printer is prn_5000. This is aan HP laserjet 5000 printer. This
> printer has always worked like a charm, but after a complete system
> install where I did to my knowledge everything the same way as three times
> before, the printer does not print.
> 
> To print I try the following:
> 
> lp -dprn_5000 /etc/protocols
> 
> I use -d because even it is the default queue I want to be sure. The
> result of this command is:
> 
> request id is prn_5000-3 (1 file)
> 
> and it shows up in the /var/spool/log file of the printers:
> ***** LP LOG: Feb  7 13:40 *****
> prn_5000-0       root    prn_5000 Feb  7 13:41
> prn_5000-1       root    prn_5000 Feb  7 13:44
> prn_5000-2       root    prn_5000 Feb  7 13:44
> prn_5000-3       root    prn_5000 Feb  7 14:08
> prn_5000-5       root    prn_5000 Feb  7 14:10
> 
> 
> however when I look at the printer it is only waiting for input. No sleep
> mode and certainly not printouts..
> 
> What is necessary to get this printer do what it is supposed to do? like
> printing?

0
Reply Florian 2/8/2006 11:59:31 AM


NTDeaf <ntdeaf.news@gmail.com> wrote:

>Hi all!
>
>I'm trying to print to a remote printer on HP-UX through a remote print server.
>
>I've added the remote printer with both SAM and the command line.
>
>I can ping the remote printer (added it's IP address in the /etc/hosts
>file) and I can see the printer in the lpstat:
>
>printer queue for PRN_5000
> Queue   Dev   Status    Job     Name           From           To            
>                         Submitted        Rnk Pri       Blks  Cp          PP %
> ------- ----- --------- ---------        --- ---      ----- ---        ---- --
> prn_5000 hp@pr READY    
>
>hpuxstation1: prn_5000: ready and waiting
>
>The hostname is hpuxstation1
>the printer is prn_5000. This is aan HP laserjet 5000 printer. This
>printer has always worked like a charm, but after a complete system
>install where I did to my knowledge everything the same way as three times
>before, the printer does not print.
>
>To print I try the following:
>
>lp -dprn_5000 /etc/protocols
>
>I use -d because even it is the default queue I want to be sure. The
>result of this command is:
>
>request id is prn_5000-3 (1 file)
>
>and it shows up in the /var/spool/log file of the printers:
>***** LP LOG: Feb  7 13:40 *****
>prn_5000-0       root    prn_5000 Feb  7 13:41
>prn_5000-1       root    prn_5000 Feb  7 13:44
>prn_5000-2       root    prn_5000 Feb  7 13:44
>prn_5000-3       root    prn_5000 Feb  7 14:08
>prn_5000-5       root    prn_5000 Feb  7 14:10
>
>
>however when I look at the printer it is only waiting for input. No sleep
>mode and certainly not printouts..
>
>What is necessary to get this printer do what it is supposed to do? like
>printing?
When you set up queue did you select the BSD optionfor the remote
print server?

The HP remote print deamon (on the print server) is  BSD .

Ted.
==============================================================
| Ted Linnell                 <edlinnell@acslink.net.au>     |
|                                  |
| Nunawading, Victoria , Australia                           |
==============================================================
0
Reply Ted 2/8/2006 10:38:08 PM

On Thu, 09 Feb 2006 09:38:08 +1100, Ted Linnell wrote:

<snip>

>>What is necessary to get this printer do what it is supposed to do? like
>>printing?
> When you set up queue did you select the BSD optionfor the remote
> print server?
> 
> The HP remote print deamon (on the print server) is  BSD .
> 
> Ted.
> ==============================================================
> | Ted Linnell                 <edlinnell@acslink.net.au>     |
> |                                  |
> | Nunawading, Victoria , Australia                           |
> ==============================================================

Thanks for the reply Ted! I'm glad someone is trying to think with me ;-)

I'm not so sure about the BSD option, because what I didn't mention (and
probably should have) the printer-queue is controlled on an AIX server. I'm
not really sure if that counts as an BSD system. If I should take a  
I would say it is not, I think it is more likely to be System V because
this is the default on AIX. Although I administer these systems, I did not
install this print server..(yet!)

I'll enable the BSD printing option on the client and see if it makes a
difference. Could this explain why I'm not seeing anything in  the lpstat
output?
0
Reply NTDeaf 2/9/2006 10:07:15 AM

Hi! 

I'm not sure if this is the case, all I know it is just a HP5000 laserjet
printer with a LAN connection. It has always worked before and since the
real changes are with the HP workstation, I never really looked at the
printer closely. I will do that now and try and install the tool. For all
I know this is something that was deleted when the OS was reinstalled on
the client.

Thx for the advice, I'll submit the results here when I have them.

> have to install the free product "hpnpl" (HP JetDirect Printer Installer 
> for UNIX). This provides a tool hppi, which creates and manages 
> Jetdirect print settings.
> 
> Florian
> 
> NTDeaf wrote:
> 
>> Hi all!
>> 

<snip>

>> What is necessary to get this printer do what it is supposed to do? like
>> printing?
0
Reply NTDeaf 2/9/2006 10:21:16 AM

4 Replies
117 Views

(page loaded in 0.066 seconds)

4/26/2013 10:08:52 PM


Reply: