Link to home
Start Free TrialLog in
Avatar of mdasoft
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.
Avatar of mdasoft
mdasoft

ASKER

pelase send code for printing with laser printer (USB) in foxpro2.6 for dos.
ASKER CERTIFIED SOLUTION
Avatar of doraiswamy
doraiswamy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!