"Using Cygwin Effectively with Windows" -- Draft of new User's Guide section

Andrew DeFaria ADeFaria@Salira.com
Thu Jul 31 20:43:00 GMT 2003


Joshua Daniel Franklin wrote:

> --BEGIN
> There are several options for printing from Cygwin, including the 
> native Windows lpr.exe, and the simlple lpr found in cygutils. The 
> cygutils version will print to the printer definted in your PRINTER 
> environment variable. It also accepts network printer names in 
> backslash notation (\\COMPUTER\Printer Share), which must be escaped 
> from shells such as bash (\\\\COMPUTER\\Printer Share). If you have a 
> command in a script such that it may be processed twice by the shell, 
> you may need to double-escape the name (\\\\\\\\COMPUTER\\\\Printer 
> Share). Note that lpr does no conversion of data; the printer must 
> recognize the format of the data that is sent to it. Failing to do so 
> will make the printer do random things, hang, or ignore the input. If 
> your printer supports PostScript, packages such as a2ps and enscript 
> can prepare text files for printing. The ghostscript package also 
> provides some translation from PostScript to various native printer 
> languages.
> --END

Why not just use //COMPUTER/Printer Share and avoid the issue entirely?



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list