From: Joana Peres <jperes () fe ! up ! pt>
To: tru64-unix-managers
Subject: SUMMARY:HP Laser4M PLUS on parallel port
Date: Thu, 23 Oct 1997 10:03:36 +0000 [thread overview]
Message-ID: <96078618110611.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------A53ED6BD12E78DECA5203172", Size: 6474 bytes --]
--------------A53ED6BD12E78DECA5203172
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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@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@groucho.la.asu.edu
> -------------------------------------------
>
Joana Peres
--------------A53ED6BD12E78DECA5203172
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Hello!
<P>Thanks to all who answered!
<P>My question was:
<BLOCKQUOTE TYPE=CITE>
<PRE>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</PRE>
</BLOCKQUOTE>
<BR>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.
<P>This solution I didn't try:
<BLOCKQUOTE TYPE=CITE>
<PRE>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@panther.adelphi.edu
Unix System Administrator, Adelphi University
<A HREF="http://www.adelphi.edu/~becker">http://www.adelphi.edu/~becker</A>
"The world is not as big as I today!" --Echolyn, "Uncle" (1995)</PRE>
</BLOCKQUOTE>
<P>The answer below solved my problem. But when I print from a PC I must
install the printer to not create
<BR>PCL code only Postscript:
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>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@groucho.la.asu.edu
-------------------------------------------</PRE>
</BLOCKQUOTE>
<BR>Joana Peres</HTML>
--------------A53ED6BD12E78DECA5203172--
reply other threads:[~1997-10-23 10:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox