From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110611.tru64-unix-managers.marc@archive.invalid> From: Joana Peres Date: Thu, 23 Oct 1997 10:03:36 +0000 To: tru64-unix-managers Subject: SUMMARY:HP Laser4M PLUS on parallel port X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110611 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------A53ED6BD12E78DECA5203172" --------------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 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--