Android Question PDF Document Looks Different on two different devices.

Nokia

Active Member
Licensed User
Longtime User
I have an odd problem,

I have two devices (both Samsung tablets)

Device 1:
Samsung Galaxy Tab A
Model: SM-T550
Android version: 7.1.1

Device 2:
Samsung Galaxy Tab A
Model: SM-T580
Android Version: 8.1.0

I designed the software on device 1 and run great with no issues on device 2 except when producing a pdf file. I am using the PDFDocument library from this site. when I produce pdf file on device 1, it looks how I designed it (picture attached device-1). But when I produce the pdf on device 2 (picture attached device-2), the document size is correct, but all my text looks zoomed and hangs of the document page.

I have attached sample images, any idea on what's going on here?
 

Attachments

  • Device-2.jpg
    Device-2.jpg
    154.5 KB · Views: 76
  • Device-1.jpg
    Device-1.jpg
    134.3 KB · Views: 74

DonManfred

Expert
Licensed User
Longtime User
do you have to have word installed on the computer to do this?
wd.OpenWord and wd.PowerShellConvertToPdf are Windows only methods and depend on MS Word being installed. All other methods are based on jPOI (Apache POI) and do not depend on anything else.
 
Upvote 0

William Lancee

Well-Known Member
Licensed User
Longtime User
do you have to have word installed on the computer to do this?
Yes you do.

But maybe this (for basic PDFs) will work for you. It says that it will work in B4J as well as B4A, but I haven't tried it.

 
Upvote 0

Nokia

Active Member
Licensed User
Longtime User
Yes you do.

But maybe this (for basic PDFs) will work for you. It says that it will work in B4J as well as B4A, but I haven't tried it.

I will take a look.. thanks...
 
Upvote 0
Top