home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / novell / 7272 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  4.1 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!sgiblab!newsun!mhoward
  2. From: mhoward@novell.com (Milton G. Howard III)
  3. Newsgroups: comp.sys.novell
  4. Subject: Re: leading space in printout from Windows
  5. Message-ID: <1992Sep11.230334.11833@novell.com>
  6. Date: 11 Sep 92 23:03:34 GMT
  7. References: <1992Sep8.163317.3938@news.columbia.edu> <1992Sep11.162608.2486@novell.com>
  8. Sender: news@novell.com (The Netnews Manager)
  9. Organization: Novell Inc., San Jose, Califonia
  10. Lines: 84
  11. Nntp-Posting-Host: ca.novell.com
  12.  
  13. In article <1992Sep11.162608.2486@novell.com> mcollins@db.novell.com (Marty Collins) writes:
  14. >beecher@watsun.cc.columbia.edu (Ben Beecher) writes:
  15. >: 
  16. >: We are using NetWare 3.11 and LPR_GWY 1.2 and LPR_PSRV 1.2 with
  17. >: Windows 3.1.
  18. >: 
  19. >: When I print from Windows (using PostScript driver) to my NetWare
  20. >: print queue using the NetWare to Unix print gateway, the output has a
  21. >: leading space before the "%!".  Since the file is not recognized as
  22. >: PostScript all the PostScript commands are printed along with the
  23. >: data.  It works corectly if I write the output to a disk file, and
  24. >: then print the file.  I also works if I print to a regular NetWare
  25. >: queue.
  26. >: 
  27. >: I saw this mentioned on comp.sys.novell a while back, so I looked
  28. >: through the old artices but couldn't find the article.  What do I need
  29. >: to do so that PostScript printing over NFS works from Windows?
  30. >: 
  31. >
  32. >We have done some limited testing of printing with WINDOWS thru the LPR_GWY
  33. >to a postscript printer hanging off an RS6000 and this is what we have seen.
  34. >
  35. >
  36. >1).  The LPR_GWY will send the data destined for the RS6000 without any filter
  37. >     ing but windows seems to put a ^D in the begginning of the output.
  38. >     This off course screws up any post script commands because the code
  39. >     in the begginning of the job should be %PS-ADOBE or %PS.
  40. >
  41. >2).  Try printing the job to a file but name the file to LPT1 and this
  42. >     will redirect the output to lpt1 bypassing windows printing.
  43. >
  44. >: Ben Beecher        beecher@columbia.edu
  45. >: Columbia University    Network Planning Group
  46. >
  47. >--
  48. >        Why is it that we can put a man on the MOON,
  49. >        but we can't put metal in a MICROWAVE.
  50. >
  51. >            |--------------------------------------------------|
  52. >            |  Marty Collins              Product Support      |
  53. >            |  Novell, INC.              San Jose, CA.        |
  54. >            |  1-800-NETWARE              mcollins @novell.com |
  55. >        |--------------------------------------------------|
  56.  
  57. The explanation for the ^D at the beginning of the file can be 
  58. found in section 4.3 of the printers.wri (explains gotchas when
  59. printing from within Windows) file contained within the Windows
  60. distribution in the c:\windows directory.  
  61.  
  62. I have included the relevant portion from printers.wri below:
  63. ==========================================================
  64.  
  65. Additional Notes About Printing in Windows Version 3.1
  66.  
  67. This online document contains information not available in the Microsoft
  68. Windows User's Guide or in online Help for printers. Some of the topics
  69. in this document are specific to particular printer models or printer types,
  70. such as PostScript or PCL printers, whereas others are more general, such as
  71. instructions on how to print extended characters.
  72.  
  73. 4.3  Printing a PostScript Print File in UNIX
  74.  
  75. The PostScript printer driver inserts a CTRL+D key combination at the beginning
  76. of every print job to reset the printer. Because UNIX systems recognize CTRL+D
  77. as an end-of-file character, any print files you create by using the PostScript
  78. printer driver do not print in UNIX. You can correct this problem by removing
  79. the CTRL+D key combination from the print job. To do this, add the following
  80. setting to the [ModelName,Port] section in the WIN.INI file (where ModelName
  81. is the name of your PostScript printer model):
  82.  
  83. CtrlD=0
  84.  
  85. For more information about editing the WIN.INI file, see the WININI.WRI
  86. online document.
  87.  
  88. ==========================================================
  89.  
  90. //Milton
  91. -----------
  92. Milton Howard                                    Phone: 408.473.8596
  93. Novell San Jose Development Centre               Fax:   408.473.8990
  94. 2180 Fortune Dr, San Jose, California 95131      Net:   mhoward@novell.COM
  95. //Milton
  96. Internet: mhoward@novell.com
  97.