Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to conditionally print a 2nd page?
Message
 
 
To
06/07/1999 12:00:02
Len Wooden
Statistical Resources, Inc
Baton Rouge, Louisiana, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00237707
Message ID:
00237968
Views:
11
>>There is a faq in the knowledgebase under "frequently asked questions". That shows how to call a sys function to let the user choose the printer, then fire off all of the reports to that printer without a dialog box.
>>
>>>Option 1 is not possible, and considering option 2, how would one go about splitting the report out such that one print command would only bring up one print dialogue? -- we don't want to give the user the ability to print one and not the other if applicable.
>>>
>>>Thanks ! -- Len
>
>Evan, besides not being able to get to the FAQ at this time (I'm getting an error message from the host); this solution won't work with the Print Preview option will it??

Yup
If lcLensReportIndicator = "Preview"
 report foo1 PREVIEW
 report foo2 PREVIEW
 report foo3 PREVIEW
 report foo4 PREVIEW
 ...
ELSE
  * choose printer then send each report
  =sys(1037)              &&choose printer
  report foo1 to printer
  report foo2 to printer
  report foo3 to printer
  report foo4 to printer
  ...
ENDIF
You will need some extra code if you think that the user may can the print job
Previous
Reply
Map
View

Click here to load this message in the networking platform