Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying a Text File to the printer Via USB Port
Message
From
20/10/2000 14:04:31
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00431788
Message ID:
00432167
Views:
23
>Ron,
>
>Do you have the printer configured with its port set to USB? This notebook has 2 USB ports but they don't appear on the list of printer ports. I don't have a USB printer either, which I would assume would do the work of establishing USB as a selectable port.
>

In normal circumstances, the USB 'port' isn't addressible - the USB port could refer to any of ~127 devices! In general, there's a DOS port name mapped to the USB device; you have to use that name or the UNC of the USB device as a target.

>Once that is done you should just have to SET PRINTER TO... and use your ??? command.
>
>>I have a program that copies a file to the printer using the ??? command and it has woked well for me... Until Now.
>>
>>I have a new printer on a USB Port and I am guessing ??? sends the file to the LPT port.
>>
>>The OS is Win98 and Copy File will not work and neither will the API call CopyFile.
>>
>>Does anyone have any ideas how to do this without using the report writer?
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
Next
Reply
Map
View

Click here to load this message in the networking platform