reformat drv

master
Alexey N. Vinogradov 6 years ago
parent a359ac483a
commit 6536607432

@ -1,6 +1,6 @@
// CUPS PPD Compiler CUPS v2.1.3
// (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
Version "1.2"
@ -24,6 +24,12 @@ Option "CutMedia/Cut Media" PickOne AnySetup 10
Choice "EndOfPage/Cut at every page" "<</CutMedia 4>>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"
Option "FeedDist/Feed distance" PickOne AnySetup 10
Choice "0feed3mm/3mm" "<</AdvanceDistance 24>>setpagedevice"
@ -62,6 +68,7 @@ Group "*CashDrawerGroup/Cash Drawer Control"
Choice "2BeforePrinting/Before Printing" "<</cupsInteger1 1>>setpagedevice"
Choice "2AfterPrinting/After Printing" "<</cupsInteger1 2>>setpagedevice"
// tune cash drawers
Group "*CashDrawerTune/Cash Drawer Tune"
Option "CashDrawer1PulseOn/Cash Drawer 1 pulse ON time" PickOne DocumentSetup 9
Choice "None/None" ""
@ -107,6 +114,7 @@ Group "*CashDrawerTune/Cash Drawer Tune"
Choice "70XMS/224mS" "<</cupsInteger5 112>>setpagedevice"
Choice "80XMS/256mS" "<</cupsInteger5 128>>setpagedevice"
// installable options
Installable "OptionCash1/Cash drawer 1"
UIConstraints "*CashDrawer1Setting *OptionCash1 False"
@ -131,12 +139,6 @@ Group "*CashDrawerTune/Cash Drawer Tune"
// Attribute cupsUIConstraints CutterOff "*OptionCutter False *CutMedia"
// 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
{
#define POINTS 164
@ -180,6 +182,7 @@ HWMargins 14 0 14 0
{
#define POINTS 226
#define PIXELS 560
// model num is used by filter to determine raster width. 58 -> 0x180, 80 -> 0x240.
ModelNumber $PIXELS
MinSize $POINTS 56

Loading…
Cancel
Save