mdasoft
asked on
Printing on Laser Printer Through Foxpro 2.6 for Dos
Please send code for print a file on a laser printer (USB) through a programme written in Foxpro 2.6 for Dos.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's what I'd do:
Share the printer and specify a simple share name, with just eight or less letters. For this example, let's call it USBPRN.
Then run this from a command prompt:
net use LPT1 \\MyComputerName\USBPRN /persistent:yes
Note that MyComputerName is the "host" name for your computer.
Good luck!
Share the printer and specify a simple share name, with just eight or less letters. For this example, let's call it USBPRN.
Then run this from a command prompt:
net use LPT1 \\MyComputerName\USBPRN /persistent:yes
Note that MyComputerName is the "host" name for your computer.
Good luck!
ASKER