Not running cygwin. This works but still requires I redirect to a text file first.
I want to be able to pipe. Perldoc -f localtime | command Then have it just dump to the usb printer. -----Original Message----- From: TN [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 10:28 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Redirect perldoc to usb printer To print from cygwin avoiding the DOS window try: cmd /c "start /min notepad /P <filename>" This will print to the default printer which can be a USB printer. <filename> does not need a .txt suffix. -tristram -----Original Message----- From: TN [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 9:45 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Redirect perldoc to usb printer 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] -- 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]