Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FoxyPreviewer Printer Prompt

Status
Not open for further replies.

Mimmo M.

Programmer
Sep 17, 2000
8
IT
Hi everybody,
please let me know if I can launch FoxyPreviever directly with the printer prompt form, without the default print preview.
Since I already have the 'Printer Prompt' feature via the button on the toolbar, Why I can not use at the report RUN?
so much thanks for the answer!
Mimmo.
 
What do you mean with "printer prompt form"? GETPRINTER()?
Or do you really mean the FoxyPreviewer toolbar? Most, if not all tool icons on it depend on you already being in report preview mode.
I guess you want to print directly as XLSX, for example? There are reportlistener classes, which you should be able to use directly. Take a look into the foypreviewer.pjx

If you simply want to print do REPORT FORM your.frx TO PRINTER without PREVIEW and/or PROMPT clause.

To clear one thing up: Once you init foxypreviewer by DO foxypreviewer.app, both _reportpreview and _reportoutput are changed to use foxypreviewer PRGs and SET('PROCEDURE') knows where to find foxypreviewer.app. That means overall, however you do your report with clauses or parameterization, foypreviewer is not only in action when you preview, it's also in action, if you print and even, if you print directly. The only thing untouched is _reprotbuilder.

Bye, Olaf.

 
I would like use the windows control printer panel (like 'report to printer prompt') without seeing the report preview of foxypreviewer..
Thank you,
Mimmo.
 
If I do foypreviewer app, then REPORT FORM somereport.FRYTO PRINTER PROMPT, I don't get into preview mode.

I don't see a problem of a preview when you don't specify preview.

Bye, Olaf.
 
Sorry, I did not explain well.
I use FoxyPreviewer to create my report with 'complete mode':

LOCAL loReport AS "PreviewHelper" OF "FoxyPreviewer.App"
loReport = CREATEOBJECT("PreviewHelper")
loReport.AddReport("myreport1.frx")
loReport.AddReport("myreport2.frx")
loReport.RunReport()

with this mode I would not know how to disable report preview...
 
But I want to get the windows printing panel with printer options, as like to 'report to printer PROMPT'...
 
Then perhaps the easiest is to run the report without the PreviewHelper directly as

Code:
REPORT FORM myreport1.frx TO PRINTER PROMPT NOPAGEEJECT
REPORT FORM myreport2.frx TO PRINTER

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top