*BSD News Article 36815


Return to BSD News archive

Xref: sserve comp.periphs.printers:14743 comp.os.ms-windows.networking.misc:1503 comp.os.ms-windows.misc:33840 comp.unix.bsd:15057 comp.unix.misc:14326 comp.os.os2.misc:107241
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uchinews!ncar!csn!news.sinet.slb.com!news.london.sinet.slb.com!scrdell5.scr.slb.com!barrett
From: barrett@scr.slb.com (Mike Barrett)
Newsgroups: comp.periphs.printers,comp.os.ms-windows.networking.misc,comp.os.ms-windows.misc,comp.unix.bsd,comp.unix.misc,comp.os.os2.misc
Subject: Re: How to remove Ctrl-D from PostScript output (lpr)?
Date: Mon, 10 Oct 1994 12:20:48 UNDEFINED
Organization: Schlumberger Cambridge Research
Lines: 47
Distribution: inet
Message-ID: <barrett.64.00D7C9AD@scr.slb.com>
References: <36a251$kkj@csdsun2.arlut.utexas.edu> <36aabt$8el@nic.lth.se> <Cx4Irw.34v@mv.mv.com> <barrett.62.0016792D@scr.slb.com> <941007092311.AA12249@msen>
NNTP-Posting-Host: scrdell5.scr.slb.com
X-Newsreader: Trumpet for Windows [Version 1.0 Rev B]

In article <941007092311.AA12249@msen> Mike O'Connor <mjo@msen.com> writes:
>Date: Fri, 7 Oct 1994 09:23:11 GMT
>From: Mike O'Connor <mjo@msen.com>
>Subject: Re: How to remove Ctrl-D from PostScript output (lpr)?

>In article <barrett.62.0016792D@scr.slb.com>,
>Mike Barrett <barrett@scr.slb.com> wrote:

>:>In win.ini, find the section for the printer and insert
>:
>:>CtrlD=0
>:
>:>No more CTRL-D's!
>:
>:I have a problem with cntrl D appearing at the end of a file! This causes 
>:problems with the print demon on our Sun system, I am printing using NFS form 
>:a PC wrunning Onenet (FTP software). If have CtrlD=0 already in my win.ini and 
>:that does remove them from the start but not the end!

>Check to be sure that you still have the CtrlD=0 line in your WIN.INI.
>If you click "Ok" in "Advanced Setup", that CtrlD=0 line goes away.

>What are the symptoms of your problem?

>                                                ...Mike

>--
> Mike O'Connor, mjo@msen.com
> http://www.msen.com/~mjo/

>"Mom would be a lot more fun if she were a little more gullible."  -Calvin

By having the CntrlD at the end of the file the print demon (on the Sun) sends 
a error message stating that the print job failed (when it has actually 
printed it).  I used to use the LPR to print to the Sun  printer but with 
Onenet this does not work properly (all used to work fine with V2.3) as it 
seems the file is being corrupted when sent from the PC tp the Sun. FTP are 
aware of my problems with this so I am using the NFS methdo as a work round!

Mike Barrett

----------------------+--------------------------------------
Mike Barrett	      | e-mail: barrett@cambridge.scr.slb.com
Schlumberger Cambridge| Phone : 0223 325200
Research, PO Box 153, | FAX   : 0223 327019
Cambridge, England.   |
----------------------+--------------------------------------