*BSD News Article 36249


Return to BSD News archive

Xref: sserve comp.periphs.printers:14400 comp.os.ms-windows.networking.misc:1388 comp.os.ms-windows.misc:33029 comp.unix.bsd:14971 comp.unix.misc:14116 comp.os.os2.misc:105905
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!sgiblab!sgigate.sgi.com!olivea!charnel.ecst.csuchico.edu!yeshua.marcam.com!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!chpc.utexas.edu!arlut.utexas.edu!arlut.utexas.edu!not-for-mail
From: broccol@arlut.utexas.edu (Jonathan Abbey)
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: How to remove Ctrl-D from PostScript output (lpr)?
Date: 27 Sep 1994 16:17:21 -0500
Organization: Applied Research Labs - The University of Texas at Austin
Lines: 25
Distribution: inet
Message-ID: <36a251$kkj@csdsun2.arlut.utexas.edu>
NNTP-Posting-Host: csdsun2.arlut.utexas.edu
Keywords: ms-windows, OS/2, UNIX, lpr, bsd

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.

Right now I have the user locking his print spool queue, printing the
job, editing the file in the queue to remove the first character, then
releasing the queue.  This works but it is way ugly.

I seem to recall hearing folks discuss solutions to this sort of
problem in the past, but I can't find any obviously relevant FAQ.

I've got this post crossposted lots of places, most of which I don't
frequent.  Please e-mail me any suggestions and I'll summarize as
appropriate.

Thanks!

-- 
-------------------------------------------------------------------------------
Jonathan Abbey				              jonabbey@arlut.utexas.edu
Applied Research Laboratories                 The University of Texas at Austin
-------------------------------------------------------------------------------