Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
For such kind of projects, you need to consider EPSON ESC/POS protocol and it has its own command set. For normal text printing, you just need to:
1) initialize the printer (its buffers)
2) send character to its buffer
3) execute the print command to print the character
4) issue a paper cut...
I think you can make your this idea a bit more funny and playable by using LDRs instead of wire and using the ADCs for playing around with the code .. Just a thought :D ..
Finally !! .. I have successfully interfaced the thermal printer with my PIC16F877A over the RS232 interface ..
Thankyou all who replied to the thread, tried to help me and sorry for asking stupid questions again and again :D ..
Regards,
I noticed that my max232's db9 female has "L1" written on it, whereas thermal printer's db9 female socket has "M" written on it, is this the cause of different pin numbers??
And how do i check TX and RX pins via multimeter as the manual says that "THE WIRING METHOD OF THE SERIAL INTERFACE...
Thankyou for replying .. My max232 circuit is fine, i've checked it by interfacing it with PIC and also received data on hyper-terminal. Right now, my confusion are these orientation of db9's females .. Both thermal printer and my max232 circuit has females and both are horizontally flipped with...
Do you mean that i just need Printf(), putc(10) and putc(13)?
Baudrates are same for both devices i.e. 9600..
but i noticed a thing on my printer's serial port that i has pin1 on left side whereas pin1 of my max232 's circuit's db9 jack is on right side .. is this the problem? Both devices has...
Thankyou for replying ..
How do i check that exactly which protocol my printer is following? I dont have any hint in user's manual provided to me from seller .. I got the idea of EPSON on this post and other webs ..
I am using an standard MAX232 circuit used for PIC;s interfacing with serial...
Hey there .. A problem occured ...
I've written the following program to interface my thermal printer .. But nothing happens :( , my printer doesn't even respond to it, i mean it doesn't give any output .. Plz help ..
#include <16F877A.h>
#fuses xt, nowdt, nolvp, brownout
#use delay (clock =...
Yea.. you don't need MAX232 for PIC-to-PIC communication .. MAX232 is just a voltage level converter .. PIC MCUs operates at 5V, so you dont need any voltage converter in between MCUs ..
My bad, the dealer here don't have any user manual other than installation guide :( .. I will try to implement the general EPSON ESC/POS protocol .. If i face any problem, i'll ask :) ..
Ok .. but using only PRINTF command will print the text??
Sorry for asking but i read somewhere that i would need EPSON ESC/POS PROGRAMMING PROTOCOL for printing text ..
I dont find any documentation of my printer on the internet :( .. How do i know that which Protocol i need for interfacing ..
I am using this printer;
https://www.mbcommunication.com.pk/pakistan-thermal-printers/891-black-copper-turbo-thermal-printer-bc-85ac
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.