I tried the lib from here by @FabioC6 but it lacks something that I would really appreciate: PrintAttributes.MediaSize
I see it's coded in the lib to ISO_A4. Would it be possible to add it as a parameter?
I tried the lib from here by @FabioC6 but it lacks something that I would really appreciate: PrintAttributes.MediaSize
I see it's coded in the lib to ISO_A4. Would it be possible to add it as a parameter?
Hello everybody, I've created this library that converts an html file (or string) to a pdf file programmatically. A couple of important notes: it only works on devices with SDK versions >= 21 and it cannot read files from the asset folder (you can either copy the file to the internal folder...