Paper format changes after one print job

Hi All,


I have set my paper format to A4 Fanfold '210 mm mm x 11 2/3 in' at the printer driver.

But after a print job this paper format is changed to Letter.

So I have to manually reset the paper format each time before I print.

Any idea what is coursing this and/or is it possible to set the paper format in code?

For this project I am using Delphi XE and FastReport 4.15.


I hope someone can help me.

Thanks in advance

Peter

Comments

  • Below the solution:

    frxReport.PrintOptions.PrintMode := pmScale;

    frxReport.PrintOptions.PrintOnSheet := 186 // right index of TFormInfo1 (in my case A4 fanfold 210 mm x 11 2/3 in)


    If frxReport.PrepareReport

     Then frxReport.ShowPreparedReport;

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.