From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506406.tru64-unix-managers.marc@archive.invalid> From: "Alaric S. Haag - IMRlab System Manager and part-time Visigoth" Date: Mon, 06 Feb 1995 16:54:20 +0000 To: tru64-unix-managers Subject: SUMMARY: HPLJ 4M+ question X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506406 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@KUHUB.CC.UKANS.EDU" 6-FEB-1995 13:20:53.88 From: MX%"ajs@csc.cxo.dec.com" 6-FEB-1995 13:47:14.29 From: MX%"DOUGM@delphi.com" 6-FEB-1995 14:36:51.44 From: MX%"jwright@phy.ucsf.edu" 6-FEB-1995 16:26:33.61 From: MX%"urban@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@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 Subject: Re: HPLJ 4M+ question In-reply-to: Your message dated "Mon, 06 Feb 1995 11:00:39 -0600 (CST)" <0098B939.5793D400.18318@imr00.me.lsu.edu> To: "Alaric S. Haag - IMRlab System Manager and part-time Visigoth" CC: SLOANE@KUHUB.CC.UKANS.EDU Message-ID: <01HMQB0EOAJO94GRWB@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@kuhub.cc.ukans.edu, Phone: (913) 864-0444, FAX: (913) 864-0485 From: Alan Sherlock > >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" Subject: Re: HPLJ 4M+ question To: system@imr00.me.lsu.edu Message-ID: <01HMQF8DIP4U8XIYPF@delphi.com> X-VMS-To: IN%"system@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 To: "Alaric S. Haag - IMRlab System Manager and part-time Visigoth" Subject: Re: HPLJ 4M+ question In-Reply-To: <0098B939.5793D400.18318@imr00.me.lsu.edu> Message-ID: 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@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@mfr.dec.com (Robert L. Urban) Message-ID: <9502062225.AA03528@nasaxp.mfr.dec.com> To: system@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