*BSD News Article 36485


Return to BSD News archive

Xref: sserve comp.periphs.printers:14598 comp.os.ms-windows.networking.misc:1445 comp.os.ms-windows.misc:33424 comp.unix.bsd:15021 comp.unix.misc:14215 comp.os.os2.misc:106544
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!uunet!hearst.acc.Virginia.EDU!emalpha2.em.doe.gov!news
From: thomas.eden@em.doe.gov (Thomas Eden)
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: 3 Oct 1994 14:38:40 GMT
Organization: Department of Energy
Lines: 29
Distribution: inet
Message-ID: <36p51g$gfm@emalpha2.em.doe.gov>
References: <36a251$kkj@csdsun2.arlut.utexas.edu> <36ftom$5ng@news.service.uci.edu>
NNTP-Posting-Host: 146.138.34.189
X-Newsreader: WinVN 0.92.1

In article <36ftom$5ng@news.service.uci.edu>, jrefling@rosslare.ece.uci.edu (John Refling) says:
>
>In article <36a251$kkj@csdsun2.arlut.utexas.edu>,
>Jonathan Abbey <broccol@arlut.utexas.edu> wrote:
>>Hi folks.  We've got a user who is trying to print from Microsoft Word
>>for Windows to an Apple LaserWriter II via a TCP/IP lpr client running
>>under OS/2 2.1.  Things printed using the standard PostScript driver
>>for Windows spits out a Ctrl-D as the first character of the generated
>>PostScript, which causes the Apple LaserWriter II to interpret the
>>datastream as literal text, and not as PostScript.

We ran into the same problem with our network, and the fix was simple:

Open you Win.Ini file, and go to the printer section for your
postscript printer ([printertype, LPT1]), and enter the following
line:

	CtrlD=0

This will instruct Windows to NOT send a Ctrl-D to the printer to
start the job.  As Unix uses the Ctrl-D to signify the end of the
input string (EOF) to the printer, this can really hose things up
for printing to an LPR controlled printer from Windows.

-------------------------------------------------------------------
//Thomas Eden
//Senior Network Engineer
//Coleman Research Corporation
//eden@crc.com