Operating System - HP-UX
1834046 Members
2317 Online
110063 Solutions
New Discussion

Forcing a FF in a remote printer

 
Jose Mosquera
Honored Contributor

Forcing a FF in a remote printer

Hi Pals,

I've configured a remote printer (vdb60p) by following command:
#lpadmin -pvdb60p -v/dev/null -mrmodel -ormvdb60p -orpaux

So the printer is wonking fine, but I need **force** a Form Feed after last page. I have cofigured in the past other kinds of interfase models inserting an echo "\014\c" in the appropriate place. So, with this class of printer definition (lpr) I'm not sure how I can force FF. Pls find attached /var/spool/lp/inteface/vdb60p file.

Rgds.
4 REPLIES 4
Frank Slootweg
Honored Contributor

Re: Forcing a FF in a remote printer

The printer on the *remote* system, i.e. printer "aux" on system "vdb60p" should issue the FF when the file has been printed.
Jose Mosquera
Honored Contributor

Re: Forcing a FF in a remote printer

Nop, the printer is not forcing FF after last page!

Let me explain our situation:

We have an Epson DFX-8500 with a Epson LAN card conected to a HP-UX 11.0 box, HP-JetAdmin software can't configure this LAN card type, Epson tech-doc show me this way to configure under HP-UX:

#lpadmin -pvdb60p -v/dev/null -mrmodel -ormvdb60p -orpaux

Where;
vdb60p: is the physical printer name defined in /etc/hosts with a specific IP address.
aux: looks like a logical device inside of vdb60p. SAM show it like a "remote" Type in a "aux on vdb60p" Location.



Rgds.
Jose Mosquera
Honored Contributor

Re: Forcing a FF in a remote printer

Hi Pals,

A lifeboat please!

Rgds.
Frank Slootweg
Honored Contributor

Re: Forcing a FF in a remote printer

Well, in that case you should append the FF just before the rlp command, i.e. something like:

cp $1 /tmp/rmodel$$
echo "\014\c" >>/tmp/rmodel$$
mv /tmp/rmodel$$ $1

Make this modification to a *copy* ("my_rmodel") of the rmodel script and then remove the printer and re-add it, using my_rmodel as the model script.