Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB printer script to VFP
Message
 
To
21/12/2006 14:55:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01179636
Message ID:
01179657
Views:
9
>Thanks Borislav, In the cashdraw section, this is the only code mentioned. Can you help me with how to get printer object or a little sample how to use this code ?? Thanks.
>
>*This is not the full code, this code can be used directly in VFP, if you know how to
>*get Printer object (except Printer.Print("A")) :-)

If Printer is standard VB object maybe you could use this:
SET PRINTER TO NAME (name of the printer goes here)
SET PRINTER FONT TO "FontControl", 9
SET PRINT ON
? [A]
SET PRINT OFF
[/code]
But I am not sure at all.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform