Continue to Site

Welcome to EDAboard.com

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.

How to send strobe, Data, Latch signals to thermal printer

Status
Not open for further replies.

Jagadeesh.b324

Newbie level 5
Joined
Oct 19, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,352
I am interfacing thermal printer to Microcontroller... I want information about how to send data, clk, latch and strobe signals to thermal printer.. I am using 74hct240 for controlling these signals. I want information about the particuar sequence of these signals to be sent for printer


Regards;
Ajay
 

ur question need more elaboration now ur thermal printer works on serial or parallel communiction
if parallel here r some basic rules

• Pin 1 carries the strobe signal. It maintains a level of between 2.8 and 5 volts, but drops below 0.5 volts whenever the computer sends a byte of data. This drop in voltage tells the printer that data is being sent.
• Pins 2 through 9 are used to carry data. To indicate that a bit has a value of 1, a charge of 5 volts is sent through the correct pin. No charge on a pin indicates a value of 0. This is a simple but highly effective way to transmit digital information over an analog cable in real-time.
• Pin 10 sends the acknowledge signal from the printer to the computer. Like Pin 1, it maintains a charge and drops the voltage below 0.5 volts to let the computer know that the data was received.
• If the printer is busy, it will charge Pin 11. Then, it will drop the voltage below 0.5 volts to let the computer know it is ready to receive more data.
• The printer lets the computer know if it is out of paper by sending a charge on Pin 12.
• As long as the computer is receiving a charge on Pin 13, it knows that the device is online.


• The computer sends an auto feed signal to the printer through Pin 14 using a 5-volt charge.
• If the printer has any problems, it drops the voltage to less than 0.5 volts on Pin 15 to let the computer know that there is an error.
• Whenever a new print job is ready, the computer drops the charge on Pin 16 to initialize the printer.
• Pin 17 is used by the computer to remotely take the printer offline. This is accomplished by sending a charge to the printer and maintaining it as long as you want the printer offline.
• Pins 18-25 are grounds and are used as a reference signal for the low (below 0.5 volts) charge
for more information consult the data sheet of your thermal printer

---------- Post added at 12:46 ---------- Previous post was at 12:44 ----------

1. Write the byte to the Data Port .
2. Check to see is the printer is busy. If the printer is busy, it will not accept any data, thus any data which is written will be lost.
3. Take the Strobe low. This tells the printer that there is the correct data on the data lines.
4. Put the strobe high again after waiting for specified delay(should be in mili second) than put the strobe low.
 

Thanks for info..

The printer works on "Single input Serial transfer" method. Wat to do for serial data transfer.. Also let me know how to send strobe, data and latch signals. i mean to say whether it must be sent in sequence of binary numbers or just as logic "high"(5V) or "low"(GND),,

Regards,

Ajay.
 

Your question has been rather unclear, so the contributors assumed you're referring to a standard parallel printer (centronics) interface. Apparently you are talking instead about the manufacturer specific hardware interface of a thermal printer device. There's no chance to get suitable help without exactly telling the manufacture and device type and linking the respective hardware manuals.

As far as you are talking a Fujitsi FTP-628 or similar device, I'm under the impression that the interface method is completely described in the Product Specification document.

i mean to say whether it must be sent in sequence of binary numbers or just as logic "high"(5V) or "low"(GND),
What do you mean with binary numbers in this regard? The data send to a thermal printer a basically serialized pixel bits.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top