See
http://members.shaw.ca/bsanders/printfromdos.htm
--
Cari (MS-MVP Windows Client - Printing, Imaging & Hardware)
www.coribright.com
"William B. Lurie" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> William B. Lurie" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>
> >> In XP Pro.....in 'cmd' mode, sort of similar to old DOS.....
> >> I create a simple batch file named testfile.bat ......
> >> which I'd like to print. When I enter type testfile.bat
> >> I see the contents on screen.
> >>
> >> When I type print testfile.bat it says
> >> c:\testfile.bat is currently being printed.......and just sits
> >> there until I hit Ctrl-C to interrupt it. It doesn't get to
> >> the printer. Of course, under browser control, the printer
> >> works just fine. Printer is Lexmark Z25, connected (I believe)
> to a 'virtual USB port'.....
>
> >> What do I have to do, to get it to print the contents of a
> >> file when under 'cmd' control?
> >>
> >> Thanks.....
> William B. Lurie
>
>
>
>