Sign in with
Sign up | Sign in
Your question

Batch command to print text file on network printer using ..

Last response: in Windows 2000/NT
Share
Anonymous
August 11, 2004 6:00:41 PM

Archived from groups: microsoft.public.win2000.setup (More info?)

Is there a batch command that could be used to open a file
in NOTEPAD and send it to a network printer. I tired this
but it did not work:

start /w notepad /p "%temp%\Listing" > \\wdcrobprt03\k-
9016b


John Wirt
Anonymous
August 12, 2004 1:39:42 AM

Archived from groups: microsoft.public.win2000.setup (More info?)

Try something like;

net use lpt1: \\wdcrobprt03\k
copy "%temp%\Listing.txt lpt1
net use lpt1: /d

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"John Wirt" wrote:
| Is there a batch command that could be used to open a file
| in NOTEPAD and send it to a network printer. I tired this
| but it did not work:
|
| start /w notepad /p "%temp%\Listing" > \\wdcrobprt03\k-
| 9016b
|
|
| John Wirt
|
|
|
!