Printing through DOS mode on FoxPro

Asked By 10 points N/A Posted on -
qa-featured

Is it possible to print on HP Printers or any other printers from DOS mode on a FoxPro software? How do I do it?

SHARE
Answered By 0 points N/A #116085

Printing through DOS mode on FoxPro

qa-featured

 

Hi there,

To print to a USB printer from DOS, you first have to install the MS loopback Adapter.

After you have installed the adapter it is important that you configure the adapter.

The MS Loopback Adapter is a virtual adapter that can be configured the same way as a regular NIC. The first order of business is to set a static IP address for the adapter then share the printer and capture the printer port. Then edit and type the following.

 

@ echo off

Net use * /delete

Net use lpt1: \<computer Name><printerName> /persistent:yes

And save the file as a .bat extension.

 

Hope that helps.

Related Questions