How to print doc and html in command line

makinha

Distinguished
Apr 26, 2007
1
0
18,510
Hello All,

Is there anyone know how to print doc and html file in command line? thanks.

MK
 
DOS prompt, type:

print /?

http://www.computerhope.com/printhlp.htm


You'll need to share your printer out on your computer and then use the following DOS command to map your printer to LPT1 so you can print from DOS and DOS apps:

net use LPT1: \\computername\printershare /persistent:yes

/persistent:yes is avaiable in XP and Vista.

You can also print to USBxx but I'd just share the printer and map it to LPT1.