From 505b7736291021b6b77061eb9f7c0925e90b522a Mon Sep 17 00:00:00 2001 From: "Alexey N. Vinogradov" Date: Thu, 21 Mar 2019 22:51:12 +0700 Subject: [PATCH] Fix drv file It is locale-specific; file edited to use decimal '.', sections quite rearranged --- zj-58.drv | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/zj-58.drv b/zj-58.drv index fec977d..d55fcad 100644 --- a/zj-58.drv +++ b/zj-58.drv @@ -10,7 +10,7 @@ Manufacturer "Zijiang" ModelName "ZJ-58" PCFileName "zj58.ppd" - Version "1.1" + Version "1.2" DriverType ps ModelNumber 58 ManualCopies Yes @@ -25,9 +25,16 @@ Attribute "FileSystem" "" "False" Attribute "LandscapeOrientation" "" "Plus90" Attribute "TTRasterizer" "" "Type42" + Attribute "VariablePaperSize" "" "True" Filter "application/vnd.cups-raster 0 rastertozj" + + *CustomMedia "X48MMY105MM/58mm x 105mm" 136.00 298.00 0.00 0.00 0.00 0.00 "<>setpagedevice" "<>setpagedevice" + CustomMedia "X48MMY210MM/58mm x 210mm" 136.00 595.00 0.00 0.00 0.00 0.00 "<>setpagedevice" "<>setpagedevice" + CustomMedia "X48MMY297MM/58mm x 297mm" 136.00 842.00 0.00 0.00 0.00 0.00 "<>setpagedevice" "<>setpagedevice" + CustomMedia "X48MMY3276MM/58mm x 3276mm" 136.00 9286.00 0.00 0.00 0.00 0.00 "<>setpagedevice" "<>setpagedevice" + Group "CutGroup/Cut Options" - Option "FeedDist/Feed distance after print" PickOne AnySetup 0,0 + Option "FeedDist/Feed distance after print" PickOne AnySetup 0.0 Choice "0feed3mm/feed 3mm" "" Choice "1feed6mm/feed 6mm" "" *Choice "2feed9mm/feed 9mm" "" @@ -43,19 +50,17 @@ Choice "12feed39mm/feed 39mm" "" Choice "13feed42mm/feed 42mm" "" Choice "14feed45mm/feed 45mm" "" - Option "BlankSpace/Blank space at page's end" PickOne AnySetup 0,0 + Option "BlankSpace/Blank space at page's end" PickOne AnySetup 0.0 Choice "0Print/Print" "" *Choice "1NoPrint/Do not print" "" Group "*CashDrawerGroup/Cash Drawer Control" - Option "CashDrawer1Setting/Cash Drawer 1" PickOne AnySetup 0,0 + Option "CashDrawer1Setting/Cash Drawer 1" PickOne AnySetup 0.0 *Choice "0NotCashDrawer1/Not Cash Drawer 1" "" Choice "1NotCashDrawer1BeforePrinting/Cash Drawer 1 Before Printing" "" Choice "2NotCashDrawer1BeforePrinting/Cash Drawer 1 After Printing" "" - Option "CashDrawer2Setting/Cash Drawer 2" PickOne AnySetup 0,0 + Option "CashDrawer2Setting/Cash Drawer 2" PickOne AnySetup 0.0 *Choice "0NotCashDrawer2/Not Cash Drawer 2" "" Choice "1NotCashDrawer2BeforePrinting/Cash Drawer 2 Before Printing" "" Choice "2NotCashDrawer2BeforePrinting/Cash Drawer 2 After Printing" "" - *CustomMedia "X48MMY210MM/58mm x 210mm" 136,00 595,00 0,00 0,00 0,00 0,00 "<>setpagedevice" "<>setpagedevice" - CustomMedia "X48MMY297MM/58mm x 297mm" 136,00 842,00 0,00 0,00 0,00 0,00 "<>setpagedevice" "<>setpagedevice" - CustomMedia "X48MMY3276MM/58mm x 3276mm" 136,00 9286,00 0,00 0,00 0,00 0,00 "<>setpagedevice" "<>setpagedevice" + }