Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USB connected Dot-Matrix?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00710344
Message ID:
00710373
Views:
11
>Hello All,
>
>I've been asked to enhance a FPD2.5 system that will need to print on multi-part forms, so an Okidata Microline 320 Turbo, which comes with both parallel and USB ports, has been purchased.
>
>Is it possible to print from FPD through the USB port?

Yes - share the printer on the USB port to the network, and then use NET USE to assign it to a DOS-recognized device name:

Your login script or batch file should contain a line like:

NET USE LPT2 \\MyMachine\MyUSBPrinterShare /YES

You can also fire this from inside FPDOS by oplacing it in a batch file or explicitly invoking a new command processor:

RUN COMMAND /C START /WAIT NET USE LPT2 \\MyMachine\MyUSBPrinterShare /YES
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform