add cut bitmask option and debug dump support
Replace auto-cut toggle with --cut bit flags (default 011), wire flags through C/Ruby APIs, and document the new cut/debug-dump behavior in both READMEs. Made-with: Cursor
This commit is contained in:
@@ -32,4 +32,9 @@ module Libptouch
|
||||
FAMILY_UNKNOWN = 0
|
||||
FAMILY_P700 = 1
|
||||
FAMILY_P900 = 2
|
||||
|
||||
RASTER_FLAG_AUTO_CUT = 0x01
|
||||
RASTER_FLAG_HALF_CUT = 0x02
|
||||
RASTER_FLAG_CHAIN_PRINT = 0x04
|
||||
RASTER_FLAGS_DEFAULT = RASTER_FLAG_HALF_CUT | RASTER_FLAG_CHAIN_PRINT
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user