Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Android - Print PDF using Bluetooth printer


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Jun 2, 2016 12:01 AM Last Post By: karthik thirumo...
karthik thirumo...

Posts: 23
Registered: 9/26/13
Android - Print PDF using Bluetooth printer  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 30, 2016 2:21 AM
Hello,
I'm using Delphi seatle to develop andriod project. I'm trying develop an App for printing PDF through Bluetooth printer . I have a sample code to print text through Bluetooth printer . i got the code from the below link,
http://stackoverflow.com/questions/24928867/how-i-can-printing-a-string-on-a-pos-printer-by-delphi-android-with-jni
But i want to know that , how to print the PDF document using Bluetooth printer.
Please help me to solve this issue. Possible share me the sample code.
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Android - Print PDF using Bluetooth printer  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 31, 2016 6:10 AM   in response to: karthik thirumo... in response to: karthik thirumo...
Am 30.05.2016 um 11:21 schrieb karthik thirumoorthi:
Hello,
I'm using Delphi seatle to develop andriod project. I'm trying develop an App for printing PDF through Bluetooth printer . I have a sample code to print text through Bluetooth printer . i got the code from the below link,
http://stackoverflow.com/questions/24928867/how-i-can-printing-a-string-on-a-pos-printer-by-delphi-android-with-jni
But i want to know that , how to print the PDF document using Bluetooth printer.
Please help me to solve this issue. Possible share me the sample code.

Hello,

printing a PDF will be quite some work as you have to decode the PDF's
contents and be able to layout this on the printer. If the PDF contains
images you need to decode them as well. etc. and font handling might be
quite some work I guess as well.

Are you really shure that there's no other way for what you want to do?

Greetings

Markus
karthik thirumo...

Posts: 23
Registered: 9/26/13
Re: Android - Print PDF using Bluetooth printer  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 31, 2016 6:17 AM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:
Am 30.05.2016 um 11:21 schrieb karthik thirumoorthi:
Hello,
I'm using Delphi seatle to develop andriod project. I'm trying develop an App for printing PDF through Bluetooth printer . I have a sample code to print text through Bluetooth printer . i got the code from the below link,
http://stackoverflow.com/questions/24928867/how-i-can-printing-a-string-on-a-pos-printer-by-delphi-android-with-jni
But i want to know that , how to print the PDF document using Bluetooth printer.
Please help me to solve this issue. Possible share me the sample code.

Hello,

printing a PDF will be quite some work as you have to decode the PDF's
contents and be able to layout this on the printer. If the PDF contains
images you need to decode them as well. etc. and font handling might be
quite some work I guess as well.

Are you really shure that there's no other way for what you want to do?

Greetings

Markus

Is there any way to convert the PDF file into Image file ??
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Android - Print PDF using Bluetooth printer  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 1, 2016 6:53 AM   in response to: karthik thirumo... in response to: karthik thirumo...
Am 31.05.2016 um 15:17 schrieb karthik thirumoorthi:
Markus Humm wrote:
Am 30.05.2016 um 11:21 schrieb karthik thirumoorthi:
Hello,
I'm using Delphi seatle to develop andriod project. I'm trying develop an App for printing PDF through Bluetooth printer . I have a sample code to print text through Bluetooth printer . i got the code from the below link,
http://stackoverflow.com/questions/24928867/how-i-can-printing-a-string-on-a-pos-printer-by-delphi-android-with-jni
But i want to know that , how to print the PDF document using Bluetooth printer.
Please help me to solve this issue. Possible share me the sample code.

Hello,

printing a PDF will be quite some work as you have to decode the PDF's
contents and be able to layout this on the printer. If the PDF contains
images you need to decode them as well. etc. and font handling might be
quite some work I guess as well.

Are you really shure that there's no other way for what you want to do?

Greetings

Markus

Is there any way to convert the PDF file into Image file ??
Only with a PDF library I guess.
Where does the PDF come from?
Must the source be PDF?

Greetings

Markus
karthik thirumo...

Posts: 23
Registered: 9/26/13
Re: Android - Print PDF using Bluetooth printer  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 2, 2016 12:01 AM   in response to: Markus Humm in response to: Markus Humm
Markus Humm wrote:
Am 31.05.2016 um 15:17 schrieb karthik thirumoorthi:
Markus Humm wrote:
Am 30.05.2016 um 11:21 schrieb karthik thirumoorthi:
Hello,
I'm using Delphi seatle to develop andriod project. I'm trying develop an App for printing PDF through Bluetooth printer . I have a sample code to print text through Bluetooth printer . i got the code from the below link,
http://stackoverflow.com/questions/24928867/how-i-can-printing-a-string-on-a-pos-printer-by-delphi-android-with-jni
But i want to know that , how to print the PDF document using Bluetooth printer.
Please help me to solve this issue. Possible share me the sample code.

Hello,

printing a PDF will be quite some work as you have to decode the PDF's
contents and be able to layout this on the printer. If the PDF contains
images you need to decode them as well. etc. and font handling might be
quite some work I guess as well.

Are you really shure that there's no other way for what you want to do?

Greetings

Markus

Is there any way to convert the PDF file into Image file ??
Only with a PDF library I guess.
Where does the PDF come from?
Must the source be PDF?

Greetings

Markus

Yes . The Source must be the PDF.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02