Operating System - HP-UX
1833875 Members
2879 Online
110063 Solutions
New Discussion

Re: model script question

 
SOLVED
Go to solution
Doug_3
Frequent Advisor

model script question

Hi all, I have a quick friday question. I am looking for a model script for a hp business INK jet 2280 tn. I have tried a few from the hppi interface and each time lp is printing unlimited pages until you cancel the job.

hp-ux 11.11

Anyone know which I can try or where I can download a model script for this device?

Thanks in advance,
Doug
5 REPLIES 5
Mark Ellzey
Valued Contributor

Re: model script question

Doug,

In hppi, enter the printer, then select 5) Additional printer configuration. Then, on the next menu, select 1) Model Script. Here you'll notice that there aren't any Inkjet model scripts, so just enter net_genericprinter. That should do for most average print jobs. Of course, if you want to do fancy stuff, you'll probably have to select net_genericpcl3printer.

Disclaimer: I haven't tried this myself, just a suggestion.

Regards,
Mark
Alan Turner
Regular Advisor

Re: model script question

I use the net_lj4x script for a 2280tn, and set Job Recovery to be "OFF".

About a year later, I had a problem with the print jobs just "stopping", and overcame that by modifying the script in /etc/lp/interface, changing
TEOJ="-w"
to
TEOJ=""
Bill Hassell
Honored Contributor
Solution

Re: model script question

HP-UX doesn't support DeskJets very well at all. I'm sure that the original printer box didn't mention anything about HP-UX, just Windows and occasionally MACs. There are a huge number of DeskJet (OfficeJets, etc) models, some of which can never be used on any computer except Windows (and specific versions) because they have no character generator and formatter. Most of the DeskJets do not implement PJL (Printer Job Language) and many of the two-way protocols such as end-of-job processing. TEOJ should only be used with HP LaserJets, and specifically only with LaserJet models 4Si and higher.

HP does not make any model scripts for modern (less than 10 years old) DeskJet printers, but the problem you're having is not with the model script but with the upper level protocol. This is handled in a generic LAN script stored in the /etc/lp/interface directory. The script is called a Network Printer Control Script and typically has only one customized item, the PERIPH= line. True EOJ and EOJ monitoring (job recovery) should be turned off for DeskJets.


Bill Hassell, sysadmin
Alan Turner
Regular Advisor

Re: model script question

Bill

HP were initially rather reluctant to support the 2280tn under HP-UX, and even claime dit wasn't supported under UNIX, but backed down and offered some advice when I pointed out to them
a) that the box did actually list HP-UX 10.20 (which I was using at the time - August 2002).
b) that HP themselves had recommended the 2280tn for our HP-UX system.

They suggested net_lj5x or net_ljx000, but by then I'd got it working with net_lj4x, and I found that I got repeated printouts with net_lj5x. (TEOJ ?)

I did have a further problem, but that was because the default paper size was set in the firmware to letter, and was fixed by changing the default paper size to A4
Bill Hassell
Honored Contributor

Re: model script question

Interesting (support for HP-UX 10.20 Aug 2002). Of course, at that time, HP-UX 10.20 had been obsolete since Dec 2001. And now 10.20 is completely unsupported. The reason that this is muddy is that the JetDirect/HPPI products are associated with the LaserJet division within HP, thus the lack of support for DeskJet and related inkjet style printers. Most likely the issue is with 2way communication rather than the specific model script. If you compare model scripts, about all you'll see are additional options for various models (things like duplex, output trays, etc), none of which have to do with the communication protocol. So the choice of model script for the printer is relatively unimportant as long as it is a PCL script (all ther net_XXXXX scripts are PCL). If you see PJL...123456... on line 1 of your printout, your 2280tn does not support PJL so you'll need to use net_lj3x which does not have any PJL commands. Since the 2280tn supports Postscript, it must support PJL in order to do language switching.


Bill Hassell, sysadmin