Print graph on a thermal printer

Print graph on a thermal printer

Postby Manoj » Mon Apr 22, 2019 12:49 pm

I am using PIC24fj256gb110 .
I am already using a thermal printer.to print text.
Want to know how to print and X-Y graph on it.
Expecting your help.
Thankyou. Manoj Hader
Manoj
 
Posts: 36
Joined: Mon Apr 09, 2018 8:01 am

Re: Print graph on a thermal printer

Postby AussieSusan » Tue Apr 23, 2019 3:41 am

Don't start with the MCU - start with the thermal printer and how you need to communicate with it.
Get the data sheet and see what you need to send to the printer to have it place a dot at a specific location.
Then you can work out if the printer has limitations such as if you need to send all of the 'X' points (assuming this is across the page) before you move to the next 'Y' location etc..
Once you know this then you can work out how to convert whatever information you have that describes the graph into the appropriate format to send to the printer.
Susan
AussieSusan
Verified identity
 
Posts: 106
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: Print graph on a thermal printer

Postby Manoj » Fri Apr 26, 2019 8:08 am

Is there any possibility ,if i can generate a .jpeg or.bmp file of the graph and then sent it to printer?
Manoj
 
Posts: 36
Joined: Mon Apr 09, 2018 8:01 am

Re: Print graph on a thermal printer

Postby jtemples » Sat Apr 27, 2019 5:17 am

How could anyone here possibly know the answer to that when you haven't shared the model number of the printer?
jtemples
Verified identity
 
Posts: 179
Joined: Sun May 25, 2014 2:23 am
Location: The 805
PIC experience: Professional 5+ years with MCHP products

Re: Print graph on a thermal printer

Postby Manoj » Mon Apr 29, 2019 5:18 am

Oh,sorry about that.
I am also thinking of implementing HC 05 bluetooth module:-

https://www.amazon.in/ROBIOT-HC-05-Blue ... 267&sr=1-4

and interfacing with this type of filter mentioned below:-
https://www.amazon.in/Pegasus-Portable- ... dr18418-21
Manoj
 
Posts: 36
Joined: Mon Apr 09, 2018 8:01 am

Re: Print graph on a thermal printer

Postby AussieSusan » Tue Apr 30, 2019 3:26 am

In the link you provide for the printer is the comment " Programming Guide included in CD or downloadable from Manufacture website."
That could be the starting point for you.
Susan
AussieSusan
Verified identity
 
Posts: 106
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist


Return to PIC24

Who is online

Users browsing this forum: No registered users and 1 guest