Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRINTING FROM A COMPILED PROGRAM
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017622
Message ID:
00017626
Views:
54
>I HAVE WRITTEN A LARGE DATABASE CONSISTING OF 81,000 +
>RECORDS AND CANNOT SEEM TO PRINT FROM THE COMPILED OR
>THE NON COMPILED PRODUCT THE ERROR OF PRINTER NOT READY
>COMES UP. I AM USED TO OLD FOX FOR DOS WHAT I HAVE DONE
>ON MY FORM IS CODED TO THE PRINT BUTTON THE FOLLOWING
>SET PRINTER ON
>REPORT FORM (NAME & LOCATION) TO PRINTER
>SET PRINTER OFF
>THIS HAS NOT HELPED ME ONE IOTA IF ANYONE OUT THERE
>HAS EXPERIENCED THIS AND HAS A SIMPLE SOLUTION PLEASE
>LET ME KNOW. SINCE THIS IS MY FIRST DAY IN THIS USER GROUP I STILL DON'T KNOW HOW EVERYTHING WORKS. BUT MY
>NAME IS FRED WATT AND MY E-MAIL IS fred@huntel.com.
>
>I WOULD APPRECIATE ANY AND ALL RESPONSES TO THIS VERY
>CONFUSING PROBLEM.
>
>THANKS IN ADVANCE
>
>FRED3

Fred: First, welcome to the UT. However, please type in lower case, as capitals imply you are "shouting" at us.

Second: Are you using VFP? If so, you don't need the SET PRINTER ON and SET PRINTER OFF commands. The code in the click() method of your Print Button should look like:

report form myform to printer

You can use the path if the report is in another subdirectory:

report form j:\foxprog\reports\myreport to printer

If you're getting an error message, please let us know what it is. It will help us help YOU.

Barbara Paltiel
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform