Android Question Need help to prepare pdf file

M Zuhri

Member
Licensed User
hello,
I want to print POS receipts, and i'm not sure how my clients going to print,
i mean they might use wifi pos printer or bluetooth pos printer.so i decide to generate the receipts as pdf
document and save in mobile device. so they can print by whatever they want.
can any one tell me, how to layout the print format like usual pos receipt,and make it pdf
file.and i want to know, will it best fit with pos printer paper size, like font size, end of receipts etc.

thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

M Zuhri

Member
Licensed User
Thanks Don...
I will try this, and one more question, im running B4A default android simulator, how I can check or print the PDF file.

Regards
 
Upvote 0

M Zuhri

Member
Licensed User
I think my quest is not clear. I want to generate the POS receipt pdf file, I wanted to check the generated document is in correct format. so
how i can view the document or get the file to my pc from android simulator. As you know well, we can't use playstore in android simulator,so
i can't install any pdf software in the device,thats why i ask this.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I wanted to check the generated document is in correct format
i dont know any library which does a CHECK on PDF files. I already wrote it.
so
how i can view the document
Use a PDF Viewer like PDFium library
or get the file to my pc from android simulator
i´m sure it works with adb. Search the forum.

Last comment: Please DO NOT post any more questions to this thread. The question in #1 is answered already,.
 
Last edited:
Upvote 0
Top