ReceiptPrinter: verschil tussen versies

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken
(Software for Linux / OSX)
Regel 11: Regel 11:
 
   make
 
   make
  
  # Create a directory for the raster tool:
+
Create a directory for the raster tool:
 +
 
 
   sudo mkdir /Library/Printers/ZJ
 
   sudo mkdir /Library/Printers/ZJ
 
   sudo cp rastertozj /Library/Printers/ZJ
 
   sudo cp rastertozj /Library/Printers/ZJ
  
  # Point the PPD file to this raster file:
+
Point the PPD file to this raster file:
  vi CTP29X.ppd
+
 
 +
  vi CTP29X.ppd
 
   # change  
 
   # change  
 
   *cupsFilter:            "application/vnd.cups-raster 0 /Library/Printers/CITIZEN/Filter/rastertocbm1k"
 
   *cupsFilter:            "application/vnd.cups-raster 0 /Library/Printers/CITIZEN/Filter/rastertocbm1k"
  
  # ZIP up the PPD file and place it in the right place for OSX to pick it u.
+
ZIP up the PPD file and place it in the right place for OSX to pick it up:
 +
 
 
   gzip CTP29X.ppd
 
   gzip CTP29X.ppd
 
   sudo cp ZJ-58.ppd.gz /Library/Printers/PPDs/Contents/Resources
 
   sudo cp ZJ-58.ppd.gz /Library/Printers/PPDs/Contents/Resources

Versie van 26 mrt 2019 om 23:47

We have a ethernet connected (PoE powered) receipt/label printer.

Drivers and programming manual at https://github.com/MakerSpaceLeiden/Manuals/tree/master/label-printer-BTP-R880NP

Software for Linux / OSX

Based on https://github.com/klirichek/zj-58:

 git clone https://github.com/klirichek/zj-58.git
 cd zj-58
 make

Create a directory for the raster tool:

 sudo mkdir /Library/Printers/ZJ
 sudo cp rastertozj /Library/Printers/ZJ

Point the PPD file to this raster file:

  vi CTP29X.ppd
  # change 
  *cupsFilter:            "application/vnd.cups-raster 0 /Library/Printers/CITIZEN/Filter/rastertocbm1k"
ZIP up the PPD file and place it in the right place for OSX to pick it up:
 gzip CTP29X.ppd
 sudo cp ZJ-58.ppd.gz /Library/Printers/PPDs/Contents/Resources