How to print at from Linux to GoDEX printer with EZPL code without driver

How to print at from Linux to GoDEX printer with EZPL code without driver

 

Linux (udev) automatically creates a char device files for each connected USB printer in Linux.  Usually it is /dev/usb/lp0, for the first connected printer.

 

You can open this file (character device) and what you write to it, is send to printer, and what send the printer, you can read from the file.

 

For single test, send a command to printer, you can:

 

  echo "~V" > /dev/usb/lp0

 

or you can send a file with printer commands:

 

  cat "commands_file" > /dev/usb/lp0

 


You need to hae rights (sudo su)