*BSD News Article 36228


Return to BSD News archive

Xref: sserve comp.periphs.printers:14393 comp.os.ms-windows.networking.misc:1383 comp.os.ms-windows.misc:33011 comp.unix.bsd:14967 comp.unix.misc:14107 comp.os.os2.misc:105873
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!news.alpha.net!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!sunic!news.lth.se!ep
From: ep@trurl.df.lth.se (Erik Persson)
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: 27 Sep 1994 23:37:33 GMT
Organization: yacc - the Computer Society at Lund University and Lund Institute of Technology
Lines: 20
Distribution: inet
Message-ID: <36aabt$8el@nic.lth.se>
References: <36a251$kkj@csdsun2.arlut.utexas.edu>
NNTP-Posting-Host: trurl.df.lth.se
Keywords: ms-windows, OS/2, UNIX, lpr, bsd

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.

Load the file in a ordinary texteditor and remove the first character.
This worked for me, but I can't recall if 'ordinary texteditor' was an
unix editor or a DOS editor. Anyway try some editors and see if it's
possible to remove ctrl-d. If it is not try to use a hex editor of some
kind, that will do it.

>Thanks!

/Erik
ep@df.lth.se