Thermal Printer TTL (JP-QR701-TTL) [S221]





https://www.youtube.com/watch?v=esjEpAzLCjg


*GitHubhttps://github.com/rdiot/rdiot-s221.git


* Specs

Product Features:

A. beautiful shape

B. Easy paper

C. Low noise thermal printing

E. Optional different interface

F. Replace the paper body front panel

G. easily embedded in a variety of different instruments and meters

H. supports ESC / POS print instruction set

 

Applications:

A. Medical Devices

B. Measuring Equipment

C. Safety Equipment

D. Analytical Instruments and Meters

 

Specifications:

Print

Printing method

Thermal

Print speed

60-80 mm / s

Resolution

8 dots / mm , 384 dots / line

Effective print width

48mm 48mm

Character

Character Set

ASCII, GB2312-80 ( Chinese )

Print Fonts

ANK: 5 × 7, Chinese : 12x24, 24 × 24

Paper Specifications

Paper Type

Thermal paper

Paper width

57.5 ± 0.5mm

Roll Diameter

39 mm ( max )

Reliability

Mean Cycle Between Failure (MCBF)

500 Million

Interface

Serial (RS-232, TTL), parallel

Embed Depth

50 mm

Power Supply ( Adapter )

DC5V-9V

Physical

Physical Properties

Dimensions ( W x H x D )

111x65x57 mm

Installation port size

103 x 57mm

Color

White / black

Environment

Operating Temperature

5 ° C ~ 50 ° C

Humidity

10% to 80%

Storage Temperature

-20 ° C ~ 60 ° C

Storage humidity

10% to 90%


* Contents

- Refer Url : https://learn.adafruit.com/mini-thermal-receipt-printer/overview


- Connect

GND RX TX DTR VH


- Key Code

#include "Adafruit_Thermal.h"

#include "adalogo.h"

#include "adaqrcode.h"

 

#include "SoftwareSerial.h"

#define TX_PIN 6 // Arduino transmit  YELLOW WIRE  labeled RX on printer

#define RX_PIN 5 // Arduino receive   GREEN WIRE   labeled TX on printer


SoftwareSerial mySerial(RX_PIN, TX_PIN); // Declare SoftwareSerial obj first

Adafruit_Thermal printer(&mySerial);     // Pass addr to printer constructor



  printer.begin();        // Init printer (same regardless of serial type)


  printer.justify('C');

  printer.boldOn();

  printer.setSize('L');

  printer.println("RD IoT");

  printer.boldOff();


  printer.printBarcode("123456789012", UPC_A); // BarCode Sample

Posted by RDIoT
|