|
|
@ -1,6 +1,6 @@
|
|
|
|
// CUPS PPD Compiler CUPS v2.1.3
|
|
|
|
// CUPS PPD Compiler CUPS v2.1.3
|
|
|
|
// (Don't edit .ppd directly, edit this file instead, then use
|
|
|
|
// (Don't edit .ppd directly, edit this file instead, then use
|
|
|
|
// ppdc zj-58.drv to generate zj58.ppd)
|
|
|
|
// ppdc zjdrv.drv to generate zj58.ppd, zj80.ppd and others)
|
|
|
|
|
|
|
|
|
|
|
|
// common for all thermal printers
|
|
|
|
// common for all thermal printers
|
|
|
|
Version "1.2"
|
|
|
|
Version "1.2"
|
|
|
@ -24,6 +24,12 @@ Option "CutMedia/Cut Media" PickOne AnySetup 10
|
|
|
|
Choice "EndOfPage/Cut at every page" "<</CutMedia 4>>setpagedevice"
|
|
|
|
Choice "EndOfPage/Cut at every page" "<</CutMedia 4>>setpagedevice"
|
|
|
|
Choice "EndOfJob/Cut at every job" "<</CutMedia 2>>setpagedevice"
|
|
|
|
Choice "EndOfJob/Cut at every job" "<</CutMedia 2>>setpagedevice"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Option "Resolution/Resolution" PickOne AnySetup 10
|
|
|
|
|
|
|
|
*Choice "203x203dpi/203 DPI Grayscale" "<</HWResolution[203 203]/cupsColorSpace 3>>setpagedevice"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HWMargins 14 0 14 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// feeding, spacing
|
|
|
|
Group "BlankGroup/Blank Options"
|
|
|
|
Group "BlankGroup/Blank Options"
|
|
|
|
Option "FeedDist/Feed distance" PickOne AnySetup 10
|
|
|
|
Option "FeedDist/Feed distance" PickOne AnySetup 10
|
|
|
|
Choice "0feed3mm/3mm" "<</AdvanceDistance 24>>setpagedevice"
|
|
|
|
Choice "0feed3mm/3mm" "<</AdvanceDistance 24>>setpagedevice"
|
|
|
@ -62,6 +68,7 @@ Group "*CashDrawerGroup/Cash Drawer Control"
|
|
|
|
Choice "2BeforePrinting/Before Printing" "<</cupsInteger1 1>>setpagedevice"
|
|
|
|
Choice "2BeforePrinting/Before Printing" "<</cupsInteger1 1>>setpagedevice"
|
|
|
|
Choice "2AfterPrinting/After Printing" "<</cupsInteger1 2>>setpagedevice"
|
|
|
|
Choice "2AfterPrinting/After Printing" "<</cupsInteger1 2>>setpagedevice"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// tune cash drawers
|
|
|
|
Group "*CashDrawerTune/Cash Drawer Tune"
|
|
|
|
Group "*CashDrawerTune/Cash Drawer Tune"
|
|
|
|
Option "CashDrawer1PulseOn/Cash Drawer 1 pulse ON time" PickOne DocumentSetup 9
|
|
|
|
Option "CashDrawer1PulseOn/Cash Drawer 1 pulse ON time" PickOne DocumentSetup 9
|
|
|
|
Choice "None/None" ""
|
|
|
|
Choice "None/None" ""
|
|
|
@ -107,6 +114,7 @@ Group "*CashDrawerTune/Cash Drawer Tune"
|
|
|
|
Choice "70XMS/224mS" "<</cupsInteger5 112>>setpagedevice"
|
|
|
|
Choice "70XMS/224mS" "<</cupsInteger5 112>>setpagedevice"
|
|
|
|
Choice "80XMS/256mS" "<</cupsInteger5 128>>setpagedevice"
|
|
|
|
Choice "80XMS/256mS" "<</cupsInteger5 128>>setpagedevice"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// installable options
|
|
|
|
|
|
|
|
|
|
|
|
Installable "OptionCash1/Cash drawer 1"
|
|
|
|
Installable "OptionCash1/Cash drawer 1"
|
|
|
|
UIConstraints "*CashDrawer1Setting *OptionCash1 False"
|
|
|
|
UIConstraints "*CashDrawer1Setting *OptionCash1 False"
|
|
|
@ -131,12 +139,6 @@ Group "*CashDrawerTune/Cash Drawer Tune"
|
|
|
|
// Attribute cupsUIConstraints CutterOff "*OptionCutter False *CutMedia"
|
|
|
|
// Attribute cupsUIConstraints CutterOff "*OptionCutter False *CutMedia"
|
|
|
|
// Attribute cupsUIResolver CutterOff "*CutMedia None"
|
|
|
|
// Attribute cupsUIResolver CutterOff "*CutMedia None"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Option "Resolution/Resolution" PickOne AnySetup 10
|
|
|
|
|
|
|
|
*Choice "203x203dpi/203 DPI Grayscale" "<</HWResolution[203 203]/cupsColorSpace 3>>setpagedevice"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HWMargins 14 0 14 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 58mm printers
|
|
|
|
// 58mm printers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#define POINTS 164
|
|
|
|
#define POINTS 164
|
|
|
@ -180,6 +182,7 @@ HWMargins 14 0 14 0
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#define POINTS 226
|
|
|
|
#define POINTS 226
|
|
|
|
#define PIXELS 560
|
|
|
|
#define PIXELS 560
|
|
|
|
|
|
|
|
|
|
|
|
// model num is used by filter to determine raster width. 58 -> 0x180, 80 -> 0x240.
|
|
|
|
// model num is used by filter to determine raster width. 58 -> 0x180, 80 -> 0x240.
|
|
|
|
ModelNumber $PIXELS
|
|
|
|
ModelNumber $PIXELS
|
|
|
|
MinSize $POINTS 56
|
|
|
|
MinSize $POINTS 56
|
|
|
|