SUMMARY: HPLJ 4M+ question

From: Alaric S. Haag - IMRlab System Manager and part-time Visigoth <system_at_imr00.me.lsu.edu>
Date: Mon, 06 Feb 1995 16:54:20 CST

Original question:
        Concerned problem getting text files to properly print on networked
        HPLJ 4M+ in which no carriage return appeared between text records.

This was a truly easy one (as I suspected...) and it is documented
(humble apologies!). I missed it because I was not using the provide
PC-based software, so I think I skimmed that part...Enough excuses!
The solution!

Thanks to:
From: MX%"SLOANE_at_KUHUB.CC.UKANS.EDU" 6-FEB-1995 13:20:53.88
From: MX%"ajs_at_csc.cxo.dec.com" 6-FEB-1995 13:47:14.29
From: MX%"DOUGM_at_delphi.com" 6-FEB-1995 14:36:51.44
From: MX%"jwright_at_phy.ucsf.edu" 6-FEB-1995 16:26:33.61
From: MX%"urban_at_mfr.dec.com" 6-FEB-1995 16:34:47.68

as well as anyone whose response temporally follows this summary.

As detailed below, my printcap needed to specify:

        :rp=text:\ instead of "rp=lp"

In fact, the rp symbol should be assigned "text" for a text file
queue and "raw" for a PostScript/HPGL/PCL queue. All works well now!

Note: One reply suggested a problem with the "xs" symbol. I had
succeeded with the "rp" change before it arrived, so I didn't
attempt to pursue it.

Thanks again to the members of a _great_ list!!

Ric
%^{)
----
[ Alaric S. Haag, Computer Manager                      haag_at_imr00.me.lsu.edu ]
[ Louisiana State University, Mech. Engr. Dept.         FAX:   (504) 388-5924 ]
[ Baton Rouge, LA 70803                            Opinions:   (504) 388-5897 ]
        "Waiting to die is no way to live" - from "Dreams" by Kurosawa
=======replies follow===========
From: Bob Sloane <SLOANE_at_KUHUB.CC.UKANS.EDU>
Subject: Re: HPLJ 4M+ question
In-reply-to: Your message dated "Mon, 06 Feb 1995 11:00:39 -0600 (CST)"
    <0098B939.5793D400.18318_at_imr00.me.lsu.edu>
To: "Alaric S. Haag - IMRlab System Manager and part-time Visigoth"
    <system_at_imr00.me.lsu.edu>
CC: SLOANE_at_KUHUB.CC.UKANS.EDU
Message-ID: <01HMQB0EOAJO94GRWB_at_KUHUB.CC.UKANS.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT
>         :rp=lp:\
Try changing this to:
	:rp=text:\
and see if that helps.  The HPLJ has several different queues built
in. The lp and raw queues just print things exactly as they arrive,
while the text queue adds carriage returns after every line feed, or
so I have been told.
-- 
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane_at_kuhub.cc.ukans.edu, Phone: (913) 864-0444, FAX: (913) 864-0485

From: Alan Sherlock <ajs_at_csc.cxo.dec.com>
>
>bqlptr1|lp0|lp:\
>        :ct=remote:\
>        :fc#0177777:\
>        :fs#040:\
>        :lf=/usr/adm/lperr:\
>        :lp=:\
>        :mc#20:\
>        :mx#1000:\
>        :if=/hplj/laser:\
>        :pl#66:\
>        :rm=bqlptr1:\
>        :rp=lp:\
>        :sd=/usr/spool/lpd:
>
Somewhere in the docs for the printer it lists the on board filters.
You should set rp=text to get the cr after every line.  
Al

From: "Doug McPherson (617) 441-4565" <DOUGM_at_delphi.com>
Subject: Re: HPLJ 4M+ question
To: system_at_imr00.me.lsu.edu
Message-ID: <01HMQF8DIP4U8XIYPF_at_delphi.com>
X-VMS-To: IN%"system_at_imr00.me.lsu.edu"
X-VMS-Cc: DOUGM
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Transfer-Encoding: 7BIT
I'm spooling to an HPLJ 4M+ with an Emulex card in it from my osf/1 v2.1
system.  No  problems.  Attached is my printcap file (it's been a while
since I set it up & I got it originally from a SunOS system, so please
don;t ask me to explain any of it, ok?  ;^))
/doug
lp|lp0|0|zap4_text|laser_4_text:\
        :af=/usr/adm/lpacct:\
        :ct=remote:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/lpf:\
        :lf=/usr/adm/lperr:\
        :lp=:rm=nja01e493:\
        :mx#4000:\
        :of=/usr/lbin/lpf:\
        :pl#66:\
        :pw#80:\
        :rp=TEXT:\
        :sd=/usr/spool/lpd:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:
ps|zap4_ps|laser_4_ps:\
        :af=/usr/adm/lpacct:\
        :ct=remote:\
        :fc#0177777:\
        :fs#023:\
        :if=/usr/lbin/lpf:\
        :lf=/usr/adm/lperr:\
        :lp=:rm=nja01e493:\
        :mx#4000:\
        :of=/usr/lbin/lpf:\
        :pl#66:\
        :pw#80:\
        :rp=PASSTHRU:\
        :sd=/usr/spool/lpd2:\
        :xc#0177777:\
        :xf=/usr/lbin/xf:\
        :xs#044000:

From: Jim Wright <jwright_at_phy.ucsf.edu>
To: "Alaric S. Haag - IMRlab System Manager and part-time Visigoth"
    <system_at_imr00.me.lsu.edu>
Subject: Re: HPLJ 4M+ question
In-Reply-To: <0098B939.5793D400.18318_at_imr00.me.lsu.edu>
Message-ID: <Pine.OSF.3.90.950206141945.1235I-100000_at_amadeus.ucsf.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
> print without performing
>                          a carriage return
>                                            at the end of each line.
> 
>         :rp=lp:\
this is the problem.  the net card has two "remote printers" in it.
one accepts and prints raw input; the other puts CR in after LF.
i'd tell you just what to use in addition to "lp" for a second
print queue, but i have a different card in my printers.
(they use rp=PASSTHRU and rp=TEXT.)
Jim Wright                   Keck Center for Integrative Neuroscience
jwright_at_keck.ucsf.edu        Department of Physiology, Box 0444
voice 415-502-4874           513 Parnassus Ave, Room HSE-811
fax   415-502-4848           UCSF, San Francisco, CA  94143-0444

From: urban_at_mfr.dec.com (Robert L. Urban)
Message-ID: <9502062225.AA03528_at_nasaxp.mfr.dec.com>
To: system_at_imr00.me.lsu.edu
Subject: re: HPLJ 4M+ question
Hi Alaric,
What you need to change is the "xs" entry in your printcap. It is probably
set to "xs#044000", and I suspect you need "xs#044002" which turns on
newline to carriage-return/newline mapping (ONLCR). This is documented
in /usr/include/termios.h.
-rob urban
Received on Mon Feb 06 1995 - 17:50:35 NZDT

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