tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:HP Laser4M PLUS on parallel port
@ 1997-10-23 10:03 Joana Peres
  0 siblings, 0 replies; only message in thread
From: Joana Peres @ 1997-10-23 10:03 UTC (permalink / raw)
  To: tru64-unix-managers

[-- 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:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :af=/usr/adm/lpacct:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :if=/usr/lbin/hplaser4psof:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :lf=/usr/adm/lperr:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :lp=/dev/lp0:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :mx#0:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :of=/usr/lbin/hplaser4psof:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :pl#66:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :pw#80:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :sd=/usr/spool/lpd:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :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>
&nbsp;
<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&nbsp;

--
Don Becker&nbsp;&nbsp;&nbsp; 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&nbsp;
install the printer to not create
<BR>PCL code only Postscript:
<BR>&nbsp;
<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.&nbsp; I've included printcap.&nbsp; Hopefully it'll help.

hp4|lp1|lp:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :af=/usr/adm/lp1acct:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :if=/usr/lbin/ln03rof:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :lf=/usr/adm/lp1err:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :lp=/dev/lp0:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :mx#0:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :of=/usr/lbin/ln03rof:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :pl#66:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :pw#80:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :sd=/usr2/spool/lpd1:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :sh:\
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :xf=/usr/lbin/xf:
#

-------------------------------------------
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Jerry Ponder
&nbsp;&nbsp;&nbsp; Department of Physics and Astronomy
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arizona State University
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tempe, Az, 85287-1504
&nbsp;&nbsp;&nbsp;&nbsp; Email:&nbsp; ponder@groucho.la.asu.edu
-------------------------------------------</PRE>
</BLOCKQUOTE>
&nbsp;
<BR>Joana Peres</HTML>

--------------A53ED6BD12E78DECA5203172--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-23 10:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-23 10:03 SUMMARY:HP Laser4M PLUS on parallel port Joana Peres

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox