Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing
Message
From
11/07/2003 09:01:40
Brian Weber
Ohio Department of Development
Columbus, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Printing
Miscellaneous
Thread ID:
00809164
Message ID:
00809164
Views:
71
Ok, im trying to print from a form to a local printer. The code i have works but only after exiting FoxPro. Essentially its some how getting stuck in the program until FoxPro releases it. here is my code
set printer on
SET PRINTER FONT 'Courier', 16 
SET DEVICE TO Printer
@ 5,5 SAY  thisform.pageframe.page4.txtTitle.value
@ 6,5 SAY thisform.pageframe.page4.txtFirstname.value
@ 7,5 SAY thisform.pageframe.page4.txtlastname.value
@ 8,5 SAY thisform.pageframe.page4.txtaddress.value
@ 9,5 SAY thisform.pageframe.page4.txtapartment.value
@ 10,5 SAY thisform.pageframe.page4.txtcity.value
@ 11,5 SAY thisform.pageframe.page4.txtstate.value
@ 12,5 SAY thisform.pageframe.page4.txtzip.value
@ 13,5 SAY thisform.pageframe.page4.txtphone.value
@ 14,5 SAY thisform.pageframe.page4.txtemail.value
any suggestions as to how to make it print as soon as the button is hit?
TIA
Brian
Next
Reply
Map
View

Click here to load this message in the networking platform