From: jkolen AT typhoon DOT coginst DOT uwf DOT edu (John F. Kolen) Subject: Quick and dirty lpr for text files 5 Jun 1998 21:28:12 -0700 Message-ID: <9806051118.ZM22275.cygnus.gnu-win32@typhoon.coginst.uwf.edu> References: jkolen AT typhoon DOT coginst DOT uwf DOT edu (John F. Kolen) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: gnu-win32 AT cygnus DOT com The following works well enough from Emacs and the command line (bash or MSDOG) for basic printing text files to the default printer. It even supports piping (necessary for emacs). ----------------------- cut here ----------------------- @echo off if "%1" == "" goto NOFILES :LOOP start /m \Windows\Notepad /p %1 shift if NOT "%1" == "" goto LOOP goto THEEND :NOFILES copy con \Cygnus\tmpprint start /m \Windows\Notepad /p \Cygnus\tmpprint :THEEND ----------------------- cut here ----------------------- -- John F. Kolen voice: (850)474-3075 Assistant Professor fax: (850)474-3023 Dept. of Computer Science University of West Florida Pensacola, FL 32514 - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".