home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / networki / 2437 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.8 KB  |  65 lines

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