Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Fred Tittaferrante <tittaff@gov.on.ca>
Subject: Re: [Q] Printing to a network printer
Date: 1995/12/20	[thread overview]
Message-ID: <4b9ush$3ap@govonca3.gov.on.ca> (raw)
In-Reply-To: 30D6E752.5E5E@comverse.com

Shlomo Hakim <Shlomo_Hakim@comverse.com> wrote:
>I have an HP LaserJet 4M Plus printer connected directly to the network and shared between 
>PC network (Novell), OpenVMS workstations and of course DEC UNIX workstations running v3.2C.
>
>When I'm printing a simple ASCII file from the UNIX WS the printer implements on the <LF> 
>characters and not the <CR> and the result look something like:
>
>This is 
>        NOT how I want
>                       to see the printout!!!!
>
>I would expect this kind of behaviore since UNIX end-of-line is <LF> character while in DOS 
>it is <CR><LF> and since most of the printing is done from PCs I cannot force the printer to 
>add the <CR> at all times. I've tried to add my own filter in the /etc/printcap file so it 
>will add to correct printer commands but... and this is my question, for some very 
>mysteriouse reasons the filter is totally ignored!
>
>I've tried contacting DEC support but they did not have any answer for me.
>
>Any ideas???
>
>Thanks
>Shlomo H.


Try taking a look at the 'fs' parameter in your printcap file.  I have mine set to 
23.  This is a bitmapped parameter.  The 2 portion of this parameter does the 
following (taken from lprsetup help screen):

CRMOD        0000020    Map CR into LF; echo LF or CR as CR-LF


Fred Tittaferrante
Systems Officer
Ontario Ministry of Natural Resources
Geraldton Area Office
tittaff@gov.on.ca 




  reply	other threads:[~1995-12-20  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-19  5:00 [Q] Printing to a network printer Shlomo Hakim
1995-12-20  5:00 ` Fred Tittaferrante [this message]
1995-12-21  5:00   ` Marek Pola
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