Printing via hpnpf versus lp

Hi,

We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name an ip-adress.

This is the configuration file :

Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice: /dev/null
Interface: /usr/spool/lp/model/HPLaserJetPrinter
type: unknown
Number of banners: 0
root@sco1 #

Printing worked fine from the unix via the lp-command.
But now I had to change the IP-adres from the printer. I did this via scoadmin.

Printer won't print anymore.

In scoadmin/Printers/HP network printer manager/ Test printer activity
There I print a textfile (/usr/lib/hpnp/hpnpf -n -v -R -x pr50 textfile

This works.

But printing the same file with
lp -dpr50 textfile
doesn't work.
I see the job in the spooler, but there is no printing.

I do not understand this. The problem is now that the whole application doesn't print anymore. So it is quite problematic.

I didn't reboot the unix, but I retarted the spooler. But no luck.

Thanks;

Add the printer host name and ip address to /etc/hosts, and then use the host name in the printer configuration rather than the ip address.
I suspect that changing the printer configuration had changed the model file so that carriage return is not turned on. Add <esc>&k2G to the print file, or model file.

Hi,

The printer was already in etc/hosts with the correct Ip-address.
Also I defined the printer via its name pr50.

But this doens't work : still the same problem