aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Starks-Browning <starksb@ebi.ac.uk>2001-07-04 22:52:58 +0000
committerDavid Starks-Browning <starksb@ebi.ac.uk>2001-07-04 22:52:58 +0000
commit7b49219617b1a3aa41a328bbe56cd6afdf7176e6 (patch)
treecf2a0cacb3ed954fd60707a8f01c8bd562bc7459
parentf215088f81ab3f5b9516757297b03113a00eb491 (diff)
downloadnewlib-7b49219617b1a3aa41a328bbe56cd6afdf7176e6.zip
newlib-7b49219617b1a3aa41a328bbe56cd6afdf7176e6.tar.gz
newlib-7b49219617b1a3aa41a328bbe56cd6afdf7176e6.tar.bz2
Add more to entry "How do I print under Cygwin"?
-rw-r--r--winsup/doc/how-using.texinfo27
1 files changed, 24 insertions, 3 deletions
diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo
index 1d7cb44..cf40ce3 100644
--- a/winsup/doc/how-using.texinfo
+++ b/winsup/doc/how-using.texinfo
@@ -214,9 +214,30 @@ to determine whether they are executable.
@subsection How do I print under Cygwin?
-In lieu of a comprehensive FAQ entry (which will come soon), there are a
-couple of messages from the mailing list archives that may be helpful.
-Start at @file{http://cygwin.com/ml/cygwin/2001-04/msg00657.html}.
+Jason Tishler has written a couple of messages that explain how to use
+a2ps (for nicely formatted text in PostScript) and ghostscript (to print
+PostScript files on non-PostScript Windows printers). Start at
+@file{http://cygwin.com/ml/cygwin/2001-04/msg00657.html}. Note that the
+@samp{file} command is now available as part of Cygwin setup.
+
+Alternatively, on NT, you can use the Windows @samp{print} command. (It
+does not seem to be available on Win9x.) Type
+
+@example
+ bash$ print /\?
+@end example
+
+for usage instructions (note the @samp{?} must be escaped from the
+shell).
+
+Finally, you can simply @samp{cat} the file to the printer's share name:
+
+@example
+ bash$ cat myfile > //host/printer
+@end example
+
+You may need to press the formfeed button on your printer or append the
+formfeed character to your file.
@subsection Why don't cursor keys work under Win95/Win98?