SUMMARY:HP Laser4M PLUS on parallel port

From: Joana Peres <jperes_at_fe.up.pt>
Date: Thu, 23 Oct 1997 11:03:36 +0100

Hello!

Thanks to all who answered!

My question was:

> Hello!
>
> I've an AlphaServer 600 with DU 3.2G and a printer HP Laser4M PLUS
> connected to the parallel port.
>
> My printcap is like this:
>
> lp|lp0|0|Gutemberg:\
> :af=/usr/adm/lpacct:\
> :if=/usr/lbin/hplaser4psof:\
> :lf=/usr/adm/lperr:\
> :lp=/dev/lp0:\
> :mx#0:\
> :of=/usr/lbin/hplaser4psof:\
> :pl#66:\
> :pw#80:\
> :sd=/usr/spool/lpd:\
> :xf=/usr/lbin/xf:
>
> When I send postscript files it works fine but when I send text files it
> goes all wrong because it seems that the printer doesn't make the line
> feed.
>
> I've tried with other filters hplaser4m, ln03rof,ps_level2of but
> nothing. With ln03rof it prints text files well but the postscript
> doesn't.
>
> I've tried to implement two printers, one for text files and another one
> for postscript files. It doesn't like it.
>
> Can anybody help me?
>
> Joana Peres
>

I've received several answers suggesting to create two queues with
rp=text and rp=raw but my printer is not a network printer but connected
to the parallel port of my Alpha.

This solution I didn't try:

> We have a program here called pstext, that will convert text into postscript.
> Dunno if it shipped w/ DU or not, but it works fine on our HP4's.
>
> --Don
>
> --
> Don Becker becker_at_panther.adelphi.edu
> Unix System Administrator, Adelphi University
> http://www.adelphi.edu/~becker
> "The world is not as big as I today!" --Echolyn, "Uncle" (1995)
>
The answer below solved my problem. But when I print from a PC I must
install the printer to not create
PCL code only Postscript:


> I don't know exactly why yours doesn't work, but we have a HP4MP on our
> alpha (alphastations 255 - DU 4.0B) and it works fine, the only difference
> between your printcap and ours is the filter (we use ln03rof) and we have
> sh set. I've included printcap. Hopefully it'll help.
>
> hp4|lp1|lp:\
> :af=/usr/adm/lp1acct:\
> :if=/usr/lbin/ln03rof:\
> :lf=/usr/adm/lp1err:\
> :lp=/dev/lp0:\
> :mx#0:\
> :of=/usr/lbin/ln03rof:\
> :pl#66:\
> :pw#80:\
> :sd=/usr2/spool/lpd1:\
> :sh:\
> :xf=/usr/lbin/xf:
> #
>
> -------------------------------------------
> Jerry Ponder
> Department of Physics and Astronomy
> Arizona State University
> Tempe, Az, 85287-1504
> Email: ponder_at_groucho.la.asu.edu
> -------------------------------------------
>

Joana Peres
Received on Thu Oct 23 1997 - 12:57:06 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT