Skip to content

Python script to generate a Raster Image used with the GS * in ESCPOS

Notifications You must be signed in to change notification settings

bpmconsultag/ESCPOS-rasterImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ESCPOS-rasterImage

Bash Script to automatically scale an image to the maximum possible size Python script to generate a Raster Image used with the GS * in ESCPOS

Based on: https://www.epson-biz.com/modules/ref_escpos/index.php?content_id=91

Usage:

# Scale image (Will automatically use the biggest size possible
# If no scaling should be applied ensure the file is a monochrome bmp not bigger than 12KB
./scaleImage.sh {INPUT} {INPUT_RESIZED}

# Generate Raster Image
./generateRasterImg.py {INPUT_RESIZED} {OUTPUT}

About

Python script to generate a Raster Image used with the GS * in ESCPOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published