> From [EMAIL PROTECTED] Fri Aug 18 14:50:48 2000
> Date: Fri, 18 Aug 2000 15:55:08 -0500
> From: Robert McCallum <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: problems with serial hp 4+
>
> hello,
> I am having some problems with an hp 4+ hooked to a Cylclades serial
> board on
> RedHat 6.1, lprng 3.6.22, ifhp 3.3.17.
> Here it is:
> I am using lpf for the hp 4+ printers on serial connections because ifhp
> does not seem to work with them. ( I am sure I am doing something wrong)
>
> The problem with using lpf is it does not do the pjl encapsulation.
>
> auto2|HP Laserjet 4+ on serial port
>     :sd=/var/spool/lpd/auto2
>     :sh
>     :fq
>     :if=/usr/local/libexec/filters/lpf
>     :lp=/dev/ttyC4
>
> I had to put the fq in to get the thing to print each job on a separate
> page...

You may need to put an ESC E (PCL EOJ) at the start and end of text jobs.
See the :ld and :tr options for LPRng:
  :ld=\033E
  :tr=\033E

> when I change the filter to ifhp I get NO response from the printer.
> The printer is actually an HP Laserjet 4 Plus which I seem to recall is
> what ifhp defaults to as far as the model goes.
> I have duplicate printer but with an ASP jet direct card in it that
> works PERFECTLY with the ifhp filter. This would lead me to belive I
> have missed something when it comes to serial printers with ifhp.
> Sorry to be so long winded.
> Any pointers to the right direction would be greatly appreciated.
> Robert

Try the current beta test version of IFHP and tell me if you
get the same problem.

ftp://ftp.astart.com/pub/LPRng/private/ifhp-3.3.??beta.tgz

Try the following:

 auto2|HP Laserjet 4+ on serial port
     :sd=/var/spool/lpd/auto2
     :sh
     :fq
     :lp=/dev/ttyC4
     :ifhp=status@
     :if=/usr/local/libexec/filters/ifhp

This should send a job to the printer correctly if the above printcap
worked...  Then try:


 auto2|HP Laserjet 4+ on serial port
     :sd=/var/spool/lpd/auto2
     :sh
     :fq
     :lp=/dev/ttyC4
     #:ifhp=status@
     :if=/usr/local/libexec/filters/ifhp


patrick

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to