Skip navigation

JSI Tip 0249 - More on enabling your DOS apps to print to a network printer.

In Tip 049, we used:

NET USE LPTx: \\computername\sharename /PERSISTENT:YES

to enable a DOS app to print to a network printer.

You can also print directly to a printer share by using:

print /d:\\<printserver>\<sharename>  <drive>:\<path>\<filename>

where <drive>:\<path>\<filename> is the full path to the file you wish to print.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish