force printing in b/w / Printing or Preview in Script

edited 2:15AM in FastReport VCL 5
Hello,

I have two questions for FastReport 5 :

1. : Is it possible to force printing in black/white? I Want A make report Appears in color in the preview, but when printing it should be black/white.

2 . I can set the property Visibility ( vsPreview , vsExport , vsPrint ) in bands / objects.
Is there a condition for script/If-conditions to decide if I am in a preview or if I'm printing.

Thank you!

Regards, Jan

Comments

  • gpigpi
    edited 2:15AM
    All these things you can do in the Delphi's code
    In the script you can call user function to force printing in black/white from the Delphi's code. Use Report.OnReportPrint event

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.