INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

FoxyPreviewer Printer Prompt

FoxyPreviewer Printer Prompt

(OP)
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.

RE: FoxyPreviewer Printer Prompt

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.

RE: FoxyPreviewer Printer Prompt

(OP)
I would like use the windows control printer panel (like 'report to printer prompt') without seeing the report preview of foxypreviewer..
Thank you,
Mimmo.

RE: FoxyPreviewer Printer Prompt

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.

RE: FoxyPreviewer Printer Prompt

(OP)
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...

RE: FoxyPreviewer Printer Prompt

Then you just need loReport.lDirectPrint=.T.

Bye, Olaf.

RE: FoxyPreviewer Printer Prompt

(OP)
But I want to get the windows printing panel with printer options, as like to 'report to printer PROMPT'...

RE: FoxyPreviewer 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.

RE: FoxyPreviewer Printer Prompt

(OP)
OK, thank you so much.
Bie, Mimmo.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close