> What I am trying to do is write raw data to a USB to parallel adapter
> to control an external device (as I dont have a parallel port) using
[quoted text clipped - 4 lines]
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/Print_r/hh/Prin
t_r/spoolfnc_b4300d7a-1424-40e0-931f-08c727eb4174.xml.asp)
> function and if so how ? an example would help a lot.
Hi,
Those adapters are not meant to be parallel port compatible. You can do all
sorts of things with a true parallel port, but those USB devices are only
meant to support the printer protocol. You cannot use them to toggle lines to
control external devices.
As for writing raw data to a USB device, read my blog post on this:
http://msmvps.com/blogs/vandooren/archive/2006/06/15/Is-it-possible-to-create-_2
800_USB_2900_-device-drivers-with-Visual-C_2B002B003F00_.aspx

Signature
Kind regards,
Bruno.
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"