Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing directly to port
Message
From
26/05/2008 12:46:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Writing directly to port
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01319521
Message ID:
01319521
Views:
59
Hi All
I use code below to print to ticket printers (POS). It works fine on WINDOWS XP but in WINDOWS VISTA nothing appens!! Any security configuration...
Any ideas will be great.

Thank's in advance,
NPedro

********** SAMPLE CODE *************
nHANDLE = FOPEN("lpt1.dos", 2)
IF nHANDLE>=0
=FWRITE(nHANDLE,"sample test")
=FCLOSE(nHANDLE)
ENDIF

********** END CODE **************
Next
Reply
Map
View

Click here to load this message in the networking platform