![]() |
HJB 7/10/2021 |
Go to "PAGES" section in PHPRunner and then drill down to "Printer-friendly" respectively |
A
|
Andreas G. author 7/10/2021 |
Was set to landscape format but this option does not change anything. It just doesn't work with the custom button and code |
![]() |
Admin 7/10/2021 |
![]() |
HJB 7/10/2021 |
... just tested at my end, it worked. PDF View in landscape and Print (save PDF to disk) in landscape too ...
|
A
|
Andreas G. author 7/11/2021 |
Thanks for the help but I get orientation: landscape Not as pure as I would like. It's about the code from the first post! Printing as PDF and layout selection work normally. Only with "save as PDF and PDF will open in a new window" I can't do it .... I'm still a beginner I will look for another solution |
![]() |
HJB 7/11/2021 |
Your "new" window problem after PDF saving has nothing to do Steps to avoid PDF file opening in a new window
|
A
|
Andreas G. author 7/12/2021 |
I come from Germany and translate my question with google I have to follow these instructions https://xlinesoft.com/phprunner/docs/creating_and_saving_pdf_to_disk.htm created a custom button. The file is only created in portrait mode But if I follow the instructions: https://xlinesoft.com/phprunner/docs/pdf_parameters.htm orientation {string} insert orientation: landscape, the output does not change. That's the problem. Greetings from Germany |
![]() |
HJB 7/12/2021 |
PDFMAKE - PAGE DIMENSIONS, ORIENTATION AND MARGINS It's my understanding from above URL content that the correct "landscape" syntax reads: // by default we use portrait, you can change it to landscape if you wish In other words, within PHPRunner 10.5 that third party code made by PDFMAKE is https://xlinesoft.com/phprunner/docs/pdf_parameters.htm talks about different syntax, you need to gamble here a little bit. |