Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!helios.ee.lbl.gov!nosc!logicon.com!trantor.harris-atd.com!trantor!dsampson From: dsampson@x102a.harris-atd.com (sampson david 58163) Newsgroups: comp.windows.ms Subject: Re: Printing WinWord remotely? /// Win3.0 Genoa VGA driver? Message-ID: Date: 16 Jul 90 15:15:25 GMT References: <4995@milton.u.washington.edu> Sender: news@trantor.harris-atd.com Organization: Harris Gov't Aerospace Systems Division Lines: 50 X-Local-Date: 16 Jul 90 08:15:25 PDT In-reply-to: markad@blake.u.washington.edu's message of 12 Jul 90 17:32:34 GMT In article <4995@milton.u.washington.edu> markad@blake.u.washington.edu (Mark Donnell) writes: >1) I am trying to print the output from WinWord on a remote NeXT >printer. I print to a file, with the output comfigured for a Apple >Laser Writer Plus. I save the printer initialization text to a file. >I zmodem them up to the lab. I cat them together. I look at it and it >looks generally like postscript. >I try printing it with 'lpr text.eps' - it spools, then dissapears >without any noticable effect on the printer. The printer is working >and will print other files. Mark -- The next time you print to a file with the windows postscript driver, take a look at the result. The first line in the file will have something like this (without the quotes) "^D%! Adobe 2.0". The problem is that ^D as the 1st character. The Apple printers want to see the %! as the 1st two characters in a postscript file, otherwise it will look like something is printing, but you get no output. If you manually edit your file, you only need to replace the first line with %!. Everything else in the first line is just extra text. The %! tells the printer "Postscript commin' at ya". The ^D in front of that signal confuses the printer. It doesn't properly parse the line. I believe that ^D is an attempt to force a top of page (i.e. kicks out a sheet). I wrote a simple program in C to filter the Control-D out of the file. So my procedure for printing to a remote printer is as follows: 1) Print to a file using the postscript driver from whatever windows application you're in 2) Exit windows and filter out that ^D 3) Issue the lpr filename command command to the remote printer. I print to a SUN that is set up as a server. This procedure works fine. David -- ------------------------------------------------------------------------------- David Sampson Harris Corporation dsampson@x102a.ess.harris.com Gov't Aerospace Systems Divison uunet!x102a!dsampson Melbourne, Florida -------------------------------------------------------------------------------