Action BT Printertjes: Difference between revisions

From NURDspace
Jump to navigation Jump to search
 
Line 21: Line 21:
On connecting the powered on printer to a USB port of a machine, you gain a /dev/usb/lp* (or similar). This will allow you to print 'directly' to it.
On connecting the powered on printer to a USB port of a machine, you gain a /dev/usb/lp* (or similar). This will allow you to print 'directly' to it.


  echo -e "HARK" > /dev/usb/lp*  # prints one line in some built-in font of the printer
  echo -e "HARK" > /dev/usb/lp*  # prints one line in some built-in font of the printer, maximum is 32 characters per line, wraps around
   
   
  echo -e "\r" > /dev/usb/lp*    # feeds one line of paper
  echo -e "\r" > /dev/usb/lp*    # feeds one line of paper

Latest revision as of 22:51, 15 February 2026

Action BT Printertjes
Action-miniprinter.jpg
Participants
Skills 2D printing
Status Active
Niche Printing
Purpose
Tool No
Location
Cost
Tool category

Action BT Printertjes

Action-miniprinter.jpg {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

What

At the Action they sell/sold these tiny thermal BT printers for under 20 euros.

This project is an attempt to collect knowledge about it.

Who

It's made by 'Karsten' seemingly, who import them from china for several customers and have some android apps for their line of printers.

Hackery?

Actionprinter-ownfont.jpg

On connecting the powered on printer to a USB port of a machine, you gain a /dev/usb/lp* (or similar). This will allow you to print 'directly' to it.

echo -e "HARK" > /dev/usb/lp*  # prints one line in some built-in font of the printer, maximum is 32 characters per line, wraps around

echo -e "\r" > /dev/usb/lp*    # feeds one line of paper
echo -e "\n" > /dev/usb/lp*    # feeds two/three lines of paper

Maybe this could allow the protocol as described in the blogpost under Links

Links