Chinese thermal printer e.g. Gprinter-1324D , ZJ-9200, etc.
For label printing 100x150cm, don't provide driver or setup packer for linux.
And don't have any document about how to use it from bluetooth.
So, after research and some hacking, it's finally work on my Ubuntu Server.
การตั้งค่าเครื่องปริ้นความร้อนแบบ bluetooth สำหรับพ่อค้าแม่ค้า shopee, lazada ให้ใช้คอมที่ลง linux เช่น ubuntu สามารถสั่งพิมพ์ได้
- Download gprinter_1324D.ppd and rastertotspl from this repo or
git clone https://github.com/TheGU/ubuntu_thermal_printer_setup.git
- Open
terminal
then, as root, copyrastertotspl
to/usr/lib/cups/filter/rastertotspl
and change permission
cd ubuntu_thermal_printer_setup
sudo cp rastertotspl /usr/lib/cups/filter/
sudo chmod 755 /usr/lib/cups/filter/rastertotspl
- Open
Setting > Bluetooth
then connect to your printer
- Click on connected bluetooth printer to view mac address (in address section) and take note.
- Open
Setting > Printer > Add
- Select
Enter URL
. InEnter device URI
typebluetooth://<MAC Address with out colon>/
for examplebluetooth://6622BE43XXXX/
(mac address from step 4. without colon ':')
then clickForward
,choose printer name then Apply - Open printer properties to setup paper feed
- On
Printer Options
setupPage size
and tunedarkneess , feed offset , gap height
to match your printer feed speed and papersize.