Operating System - HP-UX
1847776 Members
3972 Online
104021 Solutions
New Discussion

hpux11 hp printer filters

 
it_3
Advisor

hpux11 hp printer filters

Hi all,

I have an HP11 system running a special housing management package. They need to print to HP printers [4000 and 4050 plus 4/5] and use the codes in the HP filters to allow their own 'soft code' selection [like wingdings etc]. I have some old rlp scripts but need some up to date ones to enable these to be modified and then cloned for our range of printers. Can anyone point me in the right direction? I have HP5L and HP5P place din /usr/local/bin but need an update script to run these.

many thanks,

Bob Briggs
8 REPLIES 8
Steve Steel
Honored Contributor

Re: hpux11 hp printer filters

Hi

How are the printers connected an what software do you use to print.


I would get your printers on the network

Go to

ttp://www.hp.com/net_printing/ppss/ja_info.html

And have the network printer in staller which provides software to use the printers you have.

Then alter those scripts.


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
it_3
Advisor

Re: hpux11 hp printer filters

Hi Steve,

thanks for the response.

All the printers are network and have been installed using hppi jet direct software in th HPUX OS.

I have had a look at the web site but this seems more for the hardware installation software. I am look for specific up to date scripts that can replace the basic rlp script that comes with the OS This one doesnt appear to be able to include the hp5l and hp5p soft coding. If I understan things correctly the print job gets directed throught the soft code before being sent to the printer. Whta we currently have is the print job going through Unix default printer rlp scripts.

Thanks anyway for the pointer.

regards,

Bob Briggs
Steve Steel
Honored Contributor

Re: hpux11 hp printer filters

Hi


/opt/hpnpl/sh are all the scripts provided.

MANPATH=/opt/hpnpl/man:$MANPATH

And you will find a man per script

net_ljx000(1) net_ljx000(1)

NAME
net_ljx000 - HP JetAdmin model script

SYNOPSIS
lp [ -o option [ -o option ] ...]

DESCRIPTION
The model script net_ljx000 is one of the net_lj* model scripts
included in HP JetAdmin distribution. While most options are common
among the net_lj* model scripts, net_ljx000 contains expanded options
specifically for the HP LaserJet 4000, HP LaserJet 5000, HP LaserJet
8000, HP LaserJet 8100 and HP Mopier 320. For example, more values
for the dpi option, more media size options, and a fuser temperature
option.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steve Steel
Honored Contributor

Re: hpux11 hp printer filters

Hi

Also

man hpnpf

hpnpf(1) hpnpf(1)

NAME
hpnpf - network peripheral filter

SYNOPSIS
hpnpf -x peripheral [ -nNRvw ] [ -a type ] [ -b jobsize ] [ -j
jobid+userid ] [ -l logfile ] [ -p port ] [ -s status-file ] [ file
...]

DESCRIPTION
hpnpf is a specialized TCP driver for driving network printers. A
network printer is a printer attached to the local area network via
its JetDirect interface, JetDirect EX, or HP XStation.

hpnpf is capable of handling bi-directional communications. It
accepts input from either file(s) or standard input. If the file(s)
is supplied, it reads each file in sequence, sends it to an HP network.




Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Rich Wright
Trusted Contributor

Re: hpux11 hp printer filters

Bob,
Rich Wright
Trusted Contributor

Re: hpux11 hp printer filters

Bob,
Oops, hit the wrong key.
rlp refers to settup with printer on a remote server.
lpadmin -p${PRINTER} -v/dev/null -mrmodel -orm${IP} -orp${RP} -ocmrcmode
l -osmrsmodel
Normally no formatting is done by the local print queue. Just by local applications if needed.

Using jetdirect adds the printer as a local printer.
The local server attaches to the printer on port 9100 and sends the formated print job. The script that does the formatting will be /etc/lp/interface/model.orig/
The script that transmits the file (after filtering through above script) to the printer will be /etc/lp/interface/

Bill Hassell
Honored Contributor

Re: hpux11 hp printer filters

HP-UX does not supply any 'soft code' rlp scripts. The rlp scripts are designed to simply forward the original job (without reformatting) to the remote print server, and as such, none of the local printer scripts (such as JetDirect) are ever used. That's one of the basic limitations of a SysV lp spooling system. The HP5L and HP5P scripts must have been written by another person.

Note that all HP printers (starting with the LaserJet I in the mid 1980's) use the same basic PCL codes and each new model generally supports all of the previous codes. Thus, a new series 4000 printer will work fine with basic PCL codes for an earlier printer. Now if the soft code filters are hardcoded with internal font selection numbers (rather than the more descriptive and portable font characteristics) then simply modifying the scripts to match the internal fonts will get you going. Use the printer's selftest page to get the font codes.


Bill Hassell, sysadmin
it_3
Advisor

Re: hpux11 hp printer filters

Hi to all who responded,

The company we deal with created the HP scripts and your explanations tie in with what they appear to be doing. My task is to clear out all the older print scripts that have been setup. These have all been cloned from earlier scripts they put in place during the original installation. The fact that basic code can be used for characters will make it simpler to create a single generic script for lasers [and one for dmp]. Once I have this in place I will be able to name printers cloned off this.
Thanks again to you all for your comments and advice.

regards,

Bob Briggs