I created html with css to set print media @page to set A4 landscape, then use printer.printhtml to print.
However, the Android printer preview shows A4 portrait, not landscape. So I have to manually change to landscape and print.
Any solution to change paper size and orientation in printer.printhtml?
However, the Android printer preview shows A4 portrait, not landscape. So I have to manually change to landscape and print.
Any solution to change paper size and orientation in printer.printhtml?