Operating System - HP-UX
1836648 Members
1941 Online
110102 Solutions
New Discussion

HPPI/HPNPL (JetDirect) - printer does not print data

 
Carsten Cimander_2
Occasional Advisor

HPPI/HPNPL (JetDirect) - printer does not print data

Hi all,

Problem:
The jetdirect printer NPIxxx does no print the data but only the first postscript info (banner) page ist printed.

Errormessage in /opt/hpnpl/tmp/pm_jd.log:
Mar 26 14:05:33%%[ status: Job: pm_jd; User: xyz123 ]%%
Mar 26 14:05:33%%[ status: making connection to 160.48.75.44; source: ethernet ]%%
Mar 26 14:05:33%%[ status: connected to 160.48.75.44; source: ethernet ]%%
Mar 26 14:05:33%%[ status: transmitting data ]%%
Mar 26 14:05:33%%[ status: finish sending print data ]%%
Mar 26 14:05:38%%[ Error: undefined; OffendingCommand: Auftrag ]%%
Mar 26 14:05:38%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

Config:
I have a laserprinter (HP LJ 5000) connected to the printserver proprinter.
The laserprinter has the following JetDirect parameters: IP: 160.48.xx.yy, hostname NPIxxx

The Print Jobs are initiated on the (HP-UX)server
dbxyz via the lp command.

I have installed
HPNPL E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix

and setup a new spooler pm_jd via /opt/hpnpl/bin/hppi
networkadress: 160.48.xx.yy
modelscript: net_ljx000
Default Printing Language: PS
PostScript Level: Level 2

Thanks for your tips in advance.
Regards
Carsten
1 REPLY 1
Carsten Cimander_2
Occasional Advisor

Re: HPPI/HPNPL (JetDirect) - printer does not print data

I found out that
model script net_ljx000 does not print the following filetypes:
shar file, executable, archive, library, object, and compressed.

net_ljx000(1) net_ljx000(1)

NAME
net_ljx000 - HP JetDirect Printer Installer Utility model script

... The model script net_ljx000 will not print the following files: shar
file, executable, archive, library, object, and compressed. Instead,
it prints out a single message page.
...

I will test
calling lp with the following options if atext file is to be printed:
lp -dpmu15113_jd -o pcl -o text nonsensefile.txt

The option text forces a CR to be added any line end if a LF occures.

alternativly I will test the following:
pr datei.txt | lp -o ps2 -o a

The file will bw piped into lp first and is printed as Postscript file/stream ;
the option "-o a" effects, that the text is printed as ASCII text, without being interpreted before.