Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Direct Parallel Port Access through API using Win32
Message
 
À
21/08/1996 01:03:09
Cole Gleave
Convenient Automation
Richfield, Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00006265
Message ID:
00006283
Vues:
47
>>>Anyone been able to directly write out a parallel port? CreateFile() seems to return a handle. However, WriteFile() will not work for me. Is it possible that the only way to access these ports is with a device driver now?
>>
>>Cole
>>
>>What is it exactly that you are trying to do? Control the printer?
>>
>>Tom
>
>I'm trying to send data to point of sale devices that act much like printers. However, there are no Window's printer drivers for them.

One method is to select 'Generic Printer' and manually enter printer codes into the driver setup. I have used this for odd sized labels & to print in a true generic draft quality. After you setup the Generic Printer driver just set it as the default.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform