I need to create a document for printing. It needs to be the same regardless of device. B4i or B4A. (B4J would be nice too)
In the code I found for B4i
it says this:
B4X:
Dim pcvs As Canvas
pcvs.InitializePDF(File.DirDocuments, "1.pdf", 612, 792)
'Note that 612 x 792 is the standard document size.