Extra page when printing hacked PS to HP LJ 4300

K

Karl Boyken

We have an HP LJ 4300, which we print to via WebJetAdmin running on
HP-UX 11.11. I have a PostScript document that I had to hack so I
could do some string substitutions into it via a script. When I print
the document, a second page prints out that contains only two lines,
for example:

@PJL RESET
@PJL EOJ NAME = "User: root; Job: p303a-5973"

It looks like these lines are generated by /opt/hpnpl/sh/net_lj4300.
I tried commenting them out, but the extra page still keeps printing,
so apparently when the queue is created, lpadmin must stash a copy of
this script somewhere. But the interface script for this printer is
not identical to net_lj4300, and I don't see that it sources in
net_lj4300 anywhere.

So, if anyone has any ideas about how I can eliminate this extra page,
I'd appreciate it. Thanks in advance.

--
Karl Boyken, system administrator
(e-mail address removed)
303A MLH, Dept. of Comp. Sci.
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA 52242 319-335-2730 (voice)
319-335-3668 (fax)
 
Z

Zermut

We have an HP LJ 4300, which we print to via WebJetAdmin running on
HP-UX 11.11. I have a PostScript document that I had to hack so I
could do some string substitutions into it via a script. When I print
the document, a second page prints out that contains only two lines,
for example:

@PJL RESET
@PJL EOJ NAME = "User: root; Job: p303a-5973"

It looks like these lines are generated by /opt/hpnpl/sh/net_lj4300.
I tried commenting them out, but the extra page still keeps printing,
so apparently when the queue is created, lpadmin must stash a copy of
this script somewhere. But the interface script for this printer is
not identical to net_lj4300, and I don't see that it sources in
net_lj4300 anywhere.

So, if anyone has any ideas about how I can eliminate this extra page,
I'd appreciate it. Thanks in advance.


You would get a better response if you posted this in the
comp.sys.hp.hardware newsgroup.
 
Top