Android Question Bluetooth print to pdf

abosalaheldin

New Member
Please help :
I have an app on my phone that send to bluetooth printer . I want to make virtual bluetooth printer that recieves output from the app and saves files to pdf.
is that possible?
If yes, How in detail plz.
If no, How can I hack the out of the app and make it save in pdf?
Thank you all for help
 
Last edited:

Peter Simpson

Expert
Licensed User
Longtime User
  1. No need to write in bold letter
  2. Simple, instead of printing to the printer, just use the PDFjetB4A library to create a PDF
  3. No hack needed, you will need an OutputStream to save the PDF
  4. You can use FileProvider to share the PDF file, email it etc.
Search the forum for everything that you need...
 
Last edited:
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
Please help :
I have an app on my phone that send to bluetooth printer . I want to make virtual bluetooth printer that recieves output from the app and saves files to pdf.
is that possible?
If yes, How in detail plz.
If no, How can I hack the out of the app and make it save in pdf?
Thank you all for help
This library will generate you a BMP file with the preview that will be printed by the bt printer. The BMP you can easily turn it into PDF.
 
Upvote 0

abosalaheldin

New Member
t
  1. No need to write in bold letter
  2. Simple, instead of printing to the printer, just use the PDFjetB4A library to create a PDF
  3. No hack needed, you will need an OutputStream to save the PDF
  4. You can use FileProvider to share the PDF file, email it etc.
Search the forum for everything that you need...
Thank you very much for your comment about bold letters but I want to say that the app is designed to print with a bluetooth printer only so I want to make a virtual one that receives bluetooth output from that app and prints it to pdf file on my phone. Is that possible.
 
Upvote 0
Top