I am using the code given by Erel here to generate a PDF file in A4 size and use print framework to print it. But when the print preview comes up, the paper size is always Letter. User has to manually change to A4 before printing. I found a java code with which we can set the default print size via code.
This java example is for A5 size. Could you please post B4A code for A4?
https://stackoverflow.com/questions...ge-android-default-printing-dialog-paper-size
This java example is for A5 size. Could you please post B4A code for A4?
https://stackoverflow.com/questions...ge-android-default-printing-dialog-paper-size