// CUPS PPD Compiler CUPS v2.1.3 // (Don't edit .ppd directly, edit this file instead, then use // ppdc zjdrv.drv to generate zj58.ppd, zj80.ppd and others) // common for all thermal printers Version "1.2" DriverType custom ManualCopies Yes Throughput 1 Attribute "PSVersion" "" "(3010.000) 550" Attribute "LanguageLevel" "" "3" Attribute "DefaultColorSpace" "" "Gray" Attribute "FileSystem" "" "False" Attribute "LandscapeOrientation" "" "Plus90" Attribute "TTRasterizer" "" "Type42" Attribute "VariablePaperSize" "" "True" Filter "application/vnd.cups-raster 100 rastertozj" ColorDevice False VariablePaperSize Yes // cutter Option "CutMedia/Cut Media" PickOne AnySetup 10 *Choice "None/No cutting" "<>setpagedevice" Choice "EndOfPage/Cut at every page" "<>setpagedevice" Choice "EndOfJob/Cut at every job" "<>setpagedevice" Option "Resolution/Resolution" PickOne AnySetup 10 *Choice "203x203dpi/203 DPI Grayscale" "<>setpagedevice" HWMargins 14 0 14 0 // feeding, spacing Group "BlankGroup/Blank Options" Option "FeedDist/Feed distance" PickOne AnySetup 10 Choice "0feed3mm/3mm" "<>setpagedevice" Choice "1feed6mm/6mm" "<>setpagedevice" *Choice "2feed9mm/9mm" "<>setpagedevice" Choice "3feed12mm/12mm" "<>setpagedevice" Choice "4feed15mm/15mm" "<>setpagedevice" Choice "5feed18mm/18mm" "<>setpagedevice" Choice "6feed21mm/21mm" "<>setpagedevice" Choice "7feed24mm/24mm" "<>setpagedevice" Choice "8feed27mm/27mm" "<>setpagedevice" Choice "9feed30mm/30mm" "<>setpagedevice" Choice "10feed33mm/33mm" "<>setpagedevice" Choice "11feed36mm/36mm" "<>setpagedevice" Choice "12feed39mm/39mm" "<>setpagedevice" Choice "13feed42mm/42mm" "<>setpagedevice" Choice "14feed45mm/45mm" "<>setpagedevice" Option "FeedWhere/When to feed" PickOne AnySetup 10 Choice "None/Never" "" Choice "AfterPage/After each page" "<>setpagedevice" *Choice "AfterJob/After whole printing" "<>setpagedevice" Option "BlankSpace/Blank space at page's end" Boolean AnySetup 10 Choice "True/Print" "<>setpagedevice" *Choice "False/None" "<>setpagedevice" Group "*CashDrawerGroup/Cash Drawer Control" Option "CashDrawer1Setting/Cash Drawer 1" PickOne DocumentSetup 10 *Choice "None/None" "<>setpagedevice" Choice "1BeforePrinting/Before Printing" "<>setpagedevice" Choice "1AfterPrinting/After Printing" "<>setpagedevice" Option "CashDrawer2Setting/Cash Drawer 2" PickOne DocumentSetup 10 *Choice "None/None" "<>setpagedevice" Choice "2BeforePrinting/Before Printing" "<>setpagedevice" Choice "2AfterPrinting/After Printing" "<>setpagedevice" // tune cash drawers Group "*CashDrawerTune/Cash Drawer Tune" Option "CashDrawer1PulseOn/Cash Drawer 1 pulse ON time" PickOne DocumentSetup 9 Choice "None/None" "" Choice "10XMS/32mS" "<>setpagedevice" Choice "20XMS/64mS" "<>setpagedevice" Choice "30XMS/96mS" "<>setpagedevice" *Choice "40XMS/128mS" "<>setpagedevice" Choice "50XMS/160mS" "<>setpagedevice" Choice "60XMS/192mS" "<>setpagedevice" Choice "70XMS/224mS" "<>setpagedevice" Choice "80XMS/256mS" "<>setpagedevice" Option "CashDrawer1PulseOff/Cash Drawer 1 pulse OFF time" PickOne DocumentSetup 9 Choice "None/None" "" Choice "10XMS/32mS" "<>setpagedevice" Choice "20XMS/64mS" "<>setpagedevice" Choice "30XMS/96mS" "<>setpagedevice" Choice "40XMS/128mS" "<>setpagedevice" *Choice "50XMS/160mS" "<>setpagedevice" Choice "60XMS/192mS" "<>setpagedevice" Choice "70XMS/224mS" "<>setpagedevice" Choice "80XMS/256mS" "<>setpagedevice" Option "CashDrawer2PulseOn/Cash Drawer 2 pulse ON time" PickOne DocumentSetup 9 Choice "None/None" "" Choice "10XMS/32mS" "<>setpagedevice" Choice "20XMS/64mS" "<>setpagedevice" Choice "30XMS/96mS" "<>setpagedevice" *Choice "40XMS/128mS" "<>setpagedevice" Choice "50XMS/160mS" "<>setpagedevice" Choice "60XMS/192mS" "<>setpagedevice" Choice "70XMS/224mS" "<>setpagedevice" Choice "80XMS/256mS" "<>setpagedevice" Option "CashDrawer2PulseOff/Cash Drawer 2 pulse OFF time" PickOne DocumentSetup 9 Choice "None/None" "" Choice "10XMS/32mS" "<>setpagedevice" Choice "20XMS/64mS" "<>setpagedevice" Choice "30XMS/96mS" "<>setpagedevice" Choice "40XMS/128mS" "<>setpagedevice" *Choice "50XMS/160mS" "<>setpagedevice" Choice "60XMS/192mS" "<>setpagedevice" Choice "70XMS/224mS" "<>setpagedevice" Choice "80XMS/256mS" "<>setpagedevice" // installable options Installable "OptionCash1/Cash drawer 1" UIConstraints "*CashDrawer1Setting *OptionCash1 False" // UIConstraints "*CashDrawer1PulseOn *OptionCash1 False" // UIConstraints "*CashDrawer1PulseOff *OptionCash1 False" // Attribute cupsUIConstraints Cash1Off "*OptionCash1 False *CashDrawer1Setting" // Attribute cupsUIConstraints Cash1Off "*OptionCash1 False *CashDrawer1PulseOn" // Attribute cupsUIConstraints Cash1Off "*OptionCash1 False *CashDrawer1PulseOff" // Attribute cupsUIResolver Cash1Off "*CashDrawer1Setting None *CashDrawer1PulseOn None *CashDrawer1PulseOff None" // Attribute cupsUIResolver Cash1Off "*CashDrawer1PulseOn None" // Attribute cupsUIResolver Cash1Off "*CashDrawer1PulseOff None" Installable "OptionCash2/Cash drawer 2" UIConstraints "*CashDrawer2Setting *OptionCash2 False" // UIConstraints "*CashDrawer2PulseOn *OptionCash2 False" // UIConstraints "*CashDrawer2PulseOff *OptionCash2 False" Installable "OptionCutter/Cutter" UIConstraints "*CutMedia *OptionCutter False" // Attribute cupsUIConstraints CutterOff "*OptionCutter False *CutMedia" // Attribute cupsUIResolver CutterOff "*CutMedia None" // 58mm printers { #define POINTS 164 #define PIXELS 384 // model num is used by filter to determine raster width. 384 for 48mm, 560 for 70mm ModelNumber $PIXELS MinSize $POINTS 56 MaxSize $POINTS 9286 *CustomMedia "X48MMY65MM/58mm x 65mm" $POINTS 182 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X48MMY105MM/58mm x 105mm" $POINTS 298 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X48MMY210MM/58mm x 210mm" $POINTS 595 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X48MMY297MM/58mm x 297mm" $POINTS 842 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X48MMY3276MM/58mm x 3276mm" $POINTS 9286 14 0 14 0 "<>setpagedevice" "<>setpagedevice" // Zijiang ZJ-58 { Manufacturer "Zijiang" ModelName "ZJ-58" PCFileName "zj58.ppd" Attribute "NickName" "" "Zijiang ZJ-58" Attribute "ShortNickName" "" "ZJ-58" Attribute "Product" "" "(zj-58)" Attribute "1284DeviceID" "" "MFG:Zijiang;CMD:Zijiang;MDL:ZJ-58;CLS:PRINTER;" } // XPrinter XP-58 { Manufacturer "J-speed" ModelName "XP-58" PCFileName "xp58.ppd" Attribute "NickName" "" "J-speed XP-58" Attribute "ShortNickName" "" "XP-58" Attribute "Product" "" "(xp-58)" Attribute "1284DeviceID" "" "MFG:J-speed;CMD:Xprinter;MDL:XP-58;CLS:PRINTER;" } } // 80mm printers { #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 MaxSize $POINTS 9286 *CustomMedia "X70MMY65MM/80mm x 65mm" $POINTS 182 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X70MMY105MM/80mm x 105mm" $POINTS 298 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X70MMY210MM/80mm x 210mm" $POINTS 595 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X70MMY297MM/80mm x 297mm" $POINTS 842 14 0 14 0 "<>setpagedevice" "<>setpagedevice" CustomMedia "X70MMY3276MM/80mm x 3276mm" $POINTS 9286 14 0 14 0 "<>setpagedevice" "<>setpagedevice" // Zijiang ZJ-80 { Manufacturer "Zijiang" ModelName "ZJ-80" PCFileName "zj80.ppd" Attribute "NickName" "" "Zijiang ZJ-80" Attribute "ShortNickName" "" "ZJ-80" Attribute "Product" "" "(zj-80)" Attribute "1284DeviceID" "" "MFG:Zijiang;CMD:Zijiang;MDL:ZJ-80;CLS:PRINTER;" } // Epson TM-T20 { Manufacturer "Epson" ModelName "TM-T20" PCFileName "tm20.ppd" Attribute "NickName" "" "Epson TM-T20" Attribute "ShortNickName" "" "TM-T20" Attribute "Product" "" "(TM-T20)" Attribute "1MFG:Epson;CMD:Epson;MDL:TMT20;CLS:PRINTER;" } }