home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!sgiblab!newsun!mhoward
- From: mhoward@novell.com (Milton G. Howard III)
- Newsgroups: comp.sys.novell
- Subject: Re: leading space in printout from Windows
- Message-ID: <1992Sep11.230334.11833@novell.com>
- Date: 11 Sep 92 23:03:34 GMT
- References: <1992Sep8.163317.3938@news.columbia.edu> <1992Sep11.162608.2486@novell.com>
- Sender: news@novell.com (The Netnews Manager)
- Organization: Novell Inc., San Jose, Califonia
- Lines: 84
- Nntp-Posting-Host: ca.novell.com
-
- In article <1992Sep11.162608.2486@novell.com> mcollins@db.novell.com (Marty Collins) writes:
- >beecher@watsun.cc.columbia.edu (Ben Beecher) writes:
- >:
- >: We are using NetWare 3.11 and LPR_GWY 1.2 and LPR_PSRV 1.2 with
- >: Windows 3.1.
- >:
- >: When I print from Windows (using PostScript driver) to my NetWare
- >: print queue using the NetWare to Unix print gateway, the output has a
- >: leading space before the "%!". Since the file is not recognized as
- >: PostScript all the PostScript commands are printed along with the
- >: data. It works corectly if I write the output to a disk file, and
- >: then print the file. I also works if I print to a regular NetWare
- >: queue.
- >:
- >: I saw this mentioned on comp.sys.novell a while back, so I looked
- >: through the old artices but couldn't find the article. What do I need
- >: to do so that PostScript printing over NFS works from Windows?
- >:
- >
- >We have done some limited testing of printing with WINDOWS thru the LPR_GWY
- >to a postscript printer hanging off an RS6000 and this is what we have seen.
- >
- >
- >1). The LPR_GWY will send the data destined for the RS6000 without any filter
- > ing but windows seems to put a ^D in the begginning of the output.
- > This off course screws up any post script commands because the code
- > in the begginning of the job should be %PS-ADOBE or %PS.
- >
- >2). Try printing the job to a file but name the file to LPT1 and this
- > will redirect the output to lpt1 bypassing windows printing.
- >
- >: Ben Beecher beecher@columbia.edu
- >: Columbia University Network Planning Group
- >
- >--
- > Why is it that we can put a man on the MOON,
- > but we can't put metal in a MICROWAVE.
- >
- > |--------------------------------------------------|
- > | Marty Collins Product Support |
- > | Novell, INC. San Jose, CA. |
- > | 1-800-NETWARE mcollins @novell.com |
- > |--------------------------------------------------|
-
- The explanation for the ^D at the beginning of the file can be
- found in section 4.3 of the printers.wri (explains gotchas when
- printing from within Windows) file contained within the Windows
- distribution in the c:\windows directory.
-
- I have included the relevant portion from printers.wri below:
- ==========================================================
-
- Additional Notes About Printing in Windows Version 3.1
-
- This online document contains information not available in the Microsoft
- Windows User's Guide or in online Help for printers. Some of the topics
- in this document are specific to particular printer models or printer types,
- such as PostScript or PCL printers, whereas others are more general, such as
- instructions on how to print extended characters.
-
- 4.3 Printing a PostScript Print File in UNIX
-
- The PostScript printer driver inserts a CTRL+D key combination at the beginning
- of every print job to reset the printer. Because UNIX systems recognize CTRL+D
- as an end-of-file character, any print files you create by using the PostScript
- printer driver do not print in UNIX. You can correct this problem by removing
- the CTRL+D key combination from the print job. To do this, add the following
- setting to the [ModelName,Port] section in the WIN.INI file (where ModelName
- is the name of your PostScript printer model):
-
- CtrlD=0
-
- For more information about editing the WIN.INI file, see the WININI.WRI
- online document.
-
- ==========================================================
-
- //Milton
- -----------
- Milton Howard Phone: 408.473.8596
- Novell San Jose Development Centre Fax: 408.473.8990
- 2180 Fortune Dr, San Jose, California 95131 Net: mhoward@novell.COM
- //Milton
- Internet: mhoward@novell.com
-