home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.networking
- Path: sparky!uunet!uchinews!ellis!jhrv
- From: jhrv@ellis.uchicago.edu (John M. Kim)
- Subject: Re: DOS and LPRMON problems (was WINOS2 and LPRMON)
- Message-ID: <1992Dec12.085559.22467@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: jhrv@midway.uchicago.edu
- Organization: Center for Population Economics
- References: <ignacij.724007207@meishan.animal.uiuc.edu> <1992Dec11.160636.2233@isrc.sandia.gov>
- Date: Sat, 12 Dec 1992 08:55:59 GMT
- Lines: 52
-
- In article <1992Dec11.160636.2233@isrc.sandia.gov> bryan@isrc.sandia.gov (Jon R Bryan) writes:
- >ignacij@meishan.animal.uiuc.edu (Ignacy Misztal) writes:
- >: I am trying to print postscript files from Word Perfect for Windows
- >: using LPRMON. I received several hints from people on the network to install
- >: Windows Postscript driver on LPTx.OS2. This works, .i.e., the job is sent
- >: to a remote printer, but it is not printed. The remote printer deamon
- >: writes the following message:
- >: %% [ Error: undefined: OffendingCommand: k0G ] %%
-
- Ignacy,
-
- It seems to me that either you're using a PCL, not PS, driver, or the
- remote machine's lpd filter is prepending the PCL escape sequence
- <esc>&k0G, which tells a PCL printer to use the default line
- termination (which would mean you're sending it to the wrong queue, or
- possibly the remote queue isn't set up properly in case you're using a
- pcl-ps switching printer).
-
- >Let me add my experience to this thread. Using LPRMON to direct LPT2 to
- >a network printer, I can print Postscript just fine from DOS applications,
- >but not from Windows applications. All the Windows apps put a single
- >control character (which displays as a diamond) at the beginning of the
- >output. This causes the printer to output an ASCII dump of the
- >Postscript commands. I can get it to work by printing to a file,
- >deleting the first character, and sending the file to the printer.
-
- Jon,
-
- That diamond is the ctrl-D (\004), which is commonly used as the
- termination signal in communications protocols (including PS). PS
- requires that ^Ds only appear at the end of the job (or maybe between
- jobs), never in the PS job itself, so MS' PS drivers violate the PS
- specs (I won't go into how hopelessly braindead this is :-). This
- well-known problem in windows' postscript drivers comes up every few
- months in comp.lang.postscript, with different solutions depending on
- your setup. If your windows PS driver has an option to disable the
- ctrl-D, use it. (I'm not sure about this, but I think this option was
- introduced in windows 3.1, so you may have to wait for winos2 3.1)
- Otherwise, it has to be taken care of by hacking the filters at the
- remote spooler.
-
- >I suspect that Ignacy has the same problem. My printer is a LaserWriter
-
- I don't think so (see above).
-
- >II NTX, by the way.
-
- Doesn't/shouldn't matter what kind of printer you have. PostScript is
- PostScript.
-
-
- John
-