In DOS you can run start /min notepad /P <filename>
I've tested it and it works. This will print a text file even without having a .txt suffix With my cygwin setup notepad /P <filename> Works but a DOS window flashes for a split second before printing. Not sure where the DOS start command is, but by putting that in the cygwin bash PATH should enable its use in cygwin. -tristram -----Original Message----- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 9:12 AM To: [EMAIL PROTECTED] Subject: OT: Redirect perldoc to usb printer Kind of off topic. How can you redirect to a usb printer from the shell in windows xp? Its getting really irritating having to perldoc -f function > function.txt Open function.txt in notepad and then print. Thanks, Paul -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]