Operating System - HP-UX
1847203 Members
3022 Online
110263 Solutions
New Discussion

Re: LP printing / model problem

 
Huib Freeke
Occasional Advisor

LP printing / model problem


Dear reader,

We have a CanonIr3300, some of our people needs to be print in a mail box. With the current model (net_ljx000) is it not possible
i do try with command
lp -d$printer -oprivate0012(must be 2 digits) $file.
Any body with more model experiance, who can help me with this problem

System: Hpux 11.i

The attachment is the model, the model is so big and don't know where 2 start.
/opt/hpnpl/sh ?, or just in /etc/lp/interface/model.orig.

Can somebody with script experience help me with this one ?

Below: the real code if i send this straight to the printer it works: cat file|hpnpf -x ipadres -p port, with the legal options no result


%-12345X@PJL JOB
@PJL COMMENT CANPJL SET DOCNAME="Test Doc"
@PJL COMMENT CANPJL SET USERNAME="Test User"
@PJL COMMENT CANPJL SET DEVICE=MAILBOX
@PJL COMMENT CANPJL SET MAILBOXNUMBER=00
@PJL ENTER LANGUAGE=PCL
This is a test page
%-12345X
4 REPLIES 4
Massimo Bianchi
Honored Contributor

Re: LP printing / model problem

Hi,
how is this printer attached, with a ethernet card ?

Are ou using jetdirect, hppi or something similar to administer it ?

HTH,
Massimo
Huib Freeke
Occasional Advisor

Re: LP printing / model problem

Hi,
how is this printer attached, with a ethernet card ?

Are ou using jetdirect, hppi or something similar to administer it ?



Hello,

I work with addqueue (hpnpl), this is the only way to keep the spooler running while we adding printers.
Huib Freeke
Occasional Advisor

Re: LP printing / model problem


Well i did fix the problem, for the mail box
Just modify the print model in /etc/lp/interface/model.orig, adjust some settings and code, also create a new option for it.

Only one problem left, if i use the banner option, it will printing the banner but the rest wil be lost, any body experience with it .
Huib Freeke
Occasional Advisor

Re: LP printing / model problem

See my last comments