Printing through DOS mode on FoxPro
Is it possible to print on HP Printers or any other printers from DOS mode on a FoxPro software? How do I do it?
Is it possible to print on HP Printers or any other printers from DOS mode on a FoxPro software? How do I do it?
Â
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.