onPrint event?

Hello
Can I catch when print 1,2,3... page

My idea is when print page one show in memo1='ORIGINAL' else memo1='COPY'.
I not have create 3-pages.

Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:15AM
    no you can't, once a report is sent to the printer the spooler is what controls the num of copies based on info it receives.
    However, if you use a custom preview you can hook the printbtn event
    modify a delphi variable and load, modify,prepare and printpreparedreprt in a loop
    using another report component.
    ;)

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.