]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/sample.drv
Merge changes from CUPS 1.6svn-r9939.
[thirdparty/cups.git] / ppdc / sample.drv
index d5698359e6b7202d1a828d392ae10ea6fa0c6803..1af2a68474b25beee83f5d1eac4cf8cd07c26547 100644 (file)
@@ -3,7 +3,7 @@
 //
 //   Driver info file for CUPS-supplied PPDs.
 //
-//   Copyright 2007-2008 by Apple Inc.
+//   Copyright 2007-2011 by Apple Inc.
 //   Copyright 1993-2006 by Easy Software Products.
 //
 //   These coded instructions, statements, and computer programs are the
 
 // Localizations are provided for all of the base languages supported by
 // CUPS...
-#po da ""
-#po de ""
-#po es ""
-#po et ""
-#po fi ""
-#po fr ""
-#po he ""
-#po id ""
-#po it ""
-#po ja ""
-#po ko ""
-#po nl ""
-#po no ""
-#po pl ""
-#po pt ""
-#po pt_BR ""
-#po ru ""
-#po sv ""
-#po zh ""
-#po zh_TW ""
+//#po da ""
+//#po de ""
+//#po es ""
+//#po et ""
+//#po fi ""
+//#po fr ""
+//#po he ""
+//#po id ""
+//#po it ""
+//#po ja ""
+//#po ko ""
+//#po nl ""
+//#po no ""
+//#po pl ""
+//#po pt ""
+//#po pt_BR ""
+//#po ru ""
+//#po sv ""
+//#po zh ""
+//#po zh_TW ""
 
 // MediaSize sizes used by label drivers...
 #media "w81h252/Address - 1 1/8 x 3 1/2\"" 81 252
 #media "w576h468/8.00x6.50\"" 576 468
 
 // Common stuff for all drivers...
-Attribute "cupsVersion" "" "1.4"
+Attribute "cupsVersion" "" "1.6"
 Attribute "FileSystem" "" "False"
 Attribute "LandscapeOrientation" "" "Plus90"
 Attribute "TTRasterizer" "" "Type42"
 
-Copyright "Copyright 2007-2008 by Apple Inc."
+Copyright "Copyright 2007-2011 by Apple Inc."
 Copyright "Copyright 1997-2007 by Easy Software Products."
 Copyright ""
 Copyright "These coded instructions, statements, and computer programs are the"
@@ -128,17 +128,18 @@ Copyright "file is missing or damaged, see the license at \"http://www.cups.org/
 
 Font *
 
-Version "1.4"
+Version "1.5"
 
 // Dymo Label Printer
 {
   Manufacturer "Dymo"
   ModelName "Label Printer"
+  Attribute NickName "" "Dymo Label Printer"
   PCFileName "dymo.ppd"
   DriverType label
   ModelNumber $DYMO_3x0
   Throughput 8
-  ManualCopies No
+  ManualCopies Yes
   ColorDevice No
 
   HWMargins 2 14.9 2 14.9
@@ -153,9 +154,9 @@ Version "1.4"
   MediaSize w41h144
   MediaSize w153h198
 
-  Resolution k 1 0 0 0 136dpi 
-  Resolution k 1 0 0 0 203dpi 
-  *Resolution k 1 0 0 0 300dpi 
+  Resolution k 1 0 0 0 136dpi
+  Resolution k 1 0 0 0 203dpi
+  *Resolution k 1 0 0 0 300dpi
 
   Darkness 0 Light
   Darkness 1 Medium
@@ -171,12 +172,6 @@ Version "1.4"
   ColorDevice No
   Throughput 1
 
-  HWMargins 18 18 18 18
-  *MediaSize Letter
-  MediaSize Legal
-  MediaSize A4
-  MediaSize FanFoldUS
-
   HWMargins 0 0 0 0
   VariablePaperSize Yes
   MinSize 36 36
@@ -185,24 +180,38 @@ Version "1.4"
   // Epson 24-Pin Series
   {
     ModelName "24-Pin Series"
+    Attribute NickName "" "Epson 24-Pin Series"
     PCFileName "epson24.ppd"
     ModelNumber $EPSON_24PIN
 
+    HWMargins 18 18 18 18
+    *MediaSize Letter
+    MediaSize Legal
+    MediaSize A4
+    MediaSize FanFoldUS
+
     Resolution k 1 8 0 0 60dpi
     *Resolution k 1 8 0 0 120x60dpi
     Resolution k 1 24 0 0 180dpi
     Resolution k 1 24 0 0 360x180dpi
-    Resolution k 1 48 0 0 360x180dpi
+    Resolution k 1 48 0 0 360dpi
   }
 
   // Epson 9-Pin Series
   {
     ModelName "9-Pin Series"
+    Attribute NickName "" "Epson 9-Pin Series"
     PCFileName "epson9.ppd"
     ModelNumber $EPSON_9PIN
     ColorDevice No
 
-    Resolution k 1 8 0 0 60x720dpi
+    HWMargins 18 18 18 18
+    *MediaSize Letter
+    MediaSize Legal
+    MediaSize A4
+    MediaSize FanFoldUS
+
+    Resolution k 1 8 0 0 60x72dpi
     *Resolution k 1 8 0 0 120x72dpi
     Resolution k 1 8 0 0 240x72dpi
   }
@@ -210,6 +219,7 @@ Version "1.4"
   // Epson Stylus Color Series
   {
     ModelName "Stylus Color Series"
+    Attribute NickName "" "Epson Stylus Color Series"
     PCFileName "stcolor.ppd"
     ModelNumber $EPSON_COLOR
     ColorDevice Yes
@@ -230,6 +240,7 @@ Version "1.4"
   // Epson New Stylus Color Series
   {
     ModelName "New Stylus Color Series"
+    Attribute NickName "" "Epson New Stylus Color Series"
     PCFileName "stcolor2.ppd"
     ModelNumber $EPSON_ICOLOR
     ColorDevice Yes
@@ -250,6 +261,7 @@ Version "1.4"
   // Epson Stylus Color Series
   {
     ModelName "Stylus Photo Series"
+    Attribute NickName "" "Epson Stylus Photo Series"
     PCFileName "stphoto.ppd"
     ModelNumber $EPSON_PHOTO
     ColorDevice Yes
@@ -270,6 +282,7 @@ Version "1.4"
   // Epson New Stylus Color Series
   {
     ModelName "New Stylus Photo Series"
+    Attribute NickName "" "Epson New Stylus Photo Series"
     PCFileName "stphoto2.ppd"
     ModelNumber $EPSON_IPHOTO
     ColorDevice Yes
@@ -297,10 +310,12 @@ Version "1.4"
     DriverType hp
 
     ModelName "PCL Laser Printer"
+    Attribute NickName "" "Generic PCL Laser Printer"
     PCFileName "generpcl.ppd"
     Throughput 8
     ModelNumber $HP_LASERJET
     ColorDevice No
+    Attribute 1284DeviceID "" "CMD:PCL;"
 
     UIConstraints "*Duplex  *Option1 False"
     UIConstraints "*PageSize A3 *InputSlot Envelope"
@@ -347,11 +362,13 @@ Version "1.4"
     DriverType ps
 
     ModelName "PostScript Printer"
+    Attribute NickName "" "Generic PostScript Printer"
     PCFileName "generic.ppd"
     Throughput 8
-    ColorDevice No
+    ColorDevice Yes
     Attribute PSVersion "" "(2016.0) 0"
     Attribute LanguageLevel "" 2
+    Attribute 1284DeviceID "" "CMD:PS;"
 
     UIConstraints "*Duplex  *Option1 False"
 
@@ -372,11 +389,12 @@ Version "1.4"
 
     Option "InputSlot/Media Source" PickOne AnySetup 10
       *Choice "Default/Printer Default" ""
-      Choice "Tray1/Tray 1" "<</ManualFeed false>>setpagedevice"
+      Choice "Upper/Cassette" "<</ManualFeed false>>setpagedevice"
       Choice "Manual/Manual Feed" "<</ManualFeed true>>setpagedevice"
 
     Duplex Yes
     Installable "Option1/Duplexer"
+    Attribute "?Option1" "" "save currentpagedevice/Duplex known{(True)}{(False)}ifelse = flush restore"
   }
 }
 
@@ -388,11 +406,13 @@ Version "1.4"
   // HP DeskJet Series
   {
     ModelName "DeskJet Series"
+    Attribute NickName "" "HP DeskJet Series"
     PCFileName "deskjet.ppd"
     ModelNumber $HP_DESKJET
     ManualCopies Yes
     ColorDevice Yes
     Throughput 1
+    Attribute 1284DeviceID "" "MFG:HP;MDL:HP DeskJet;CMD:PCL;"
 
     UIConstraints "*PageSize A3 *InputSlot Envelope"
     UIConstraints "*PageSize A4 *InputSlot Envelope"
@@ -402,7 +422,6 @@ Version "1.4"
     UIConstraints "*PageSize Legal *InputSlot Envelope"
     UIConstraints "*PageSize Letter *InputSlot Envelope"
     UIConstraints "*PageSize Tabloid *InputSlot Envelope"
-    UIConstraints "*Resolution 600dpi *ColorModel CMYK"
 
     HWMargins 18 36 18 36
     *MediaSize Letter
@@ -425,10 +444,10 @@ Version "1.4"
 
     Resolution - 1 0 0 0 150dpi
     *Resolution - 1 0 0 0 300dpi
-    Resolution k 1 0 0 0 "600dpi/600 DPI Grayscale"
+    Resolution - 1 0 0 0 600dpi
 
     *InputSlot 1 Tray
-    InputSlot 2 "Manual/Manual Feed" 
+    InputSlot 2 "Manual/Manual Feed"
     InputSlot 3 "Envelope/Envelope Feed"
 
     *MediaType 0 "Plain/Plain Paper"
@@ -441,10 +460,12 @@ Version "1.4"
   // HP LaserJet Series PCL 4/5
   {
     ModelName "LaserJet Series PCL 4/5"
+    Attribute NickName "" "HP LaserJet Series PCL 4/5"
     PCFileName "laserjet.ppd"
     Throughput 8
     ModelNumber $HP_LASERJET
     ColorDevice No
+    Attribute 1284DeviceID "" "MFG:HP;MDL:HP LaserJet;CMD:PCL;"
 
     UIConstraints "*Duplex  *Option1 False"
     UIConstraints "*PageSize A3 *InputSlot Envelope"
@@ -492,7 +513,7 @@ Version "1.4"
 {
   Manufacturer "Intellitech"
   ModelName "IntelliBar Label Printer"
-  Attribute ShortNickName "" "Intellibar Label Printer"
+  Attribute ShortNickName "" "IntelliBar Label Printer"
   PCFileName "intelbar.ppd"
   DriverType label
   ModelNumber $INTELLITECH_PCL
@@ -504,15 +525,14 @@ Version "1.4"
   MinSize 36 36
   MaxSize 630 7128
 
-  UIConstraints "*inPrintMode Standard *inCutInterval "
-  UIConstraints "*inPrintMode Standard *inTearInterval "
-  UIConstraints "*inPrintMode Tear *inCutInterval "
-  UIConstraints "*inTearInterval *inPrintMode Cut"
-  UIConstraints "*inTearInterval *inPrintMode Standard"
+  UIConstraints "*inPrintMode Standard *inCutInterval"
+  UIConstraints "*inPrintMode Tear *inCutInterval"
+  UIConstraints "*inPrintMode Standard *inTearInterval"
+  UIConstraints "*inPrintMode Cut *inTearInterval"
 
   *MediaSize w288h432
 
-  *Resolution k 1 0 0 0 300dpi 
+  *Resolution k 1 0 0 0 300dpi
 
   Group "PrinterSettings/Printer Settings"
     Option "inPrintDensity/Print Density" PickOne DocumentSetup 20.0
@@ -618,6 +638,7 @@ Version "1.4"
   // Oki 24-Pin Series
   {
     ModelName "24-Pin Series"
+    Attribute NickName "" "Oki 24-Pin Series"
     PCFileName "okidat24.ppd"
     ModelNumber $EPSON_24PIN
 
@@ -631,11 +652,12 @@ Version "1.4"
   // Oki 9-Pin Series
   {
     ModelName "9-Pin Series"
+    Attribute NickName "" "Oki 9-Pin Series"
     PCFileName "okidata9.ppd"
     ModelNumber $EPSON_9PIN
     ColorDevice No
 
-    Resolution k 1 8 0 0 60x720dpi
+    Resolution k 1 8 0 0 60x72dpi
     *Resolution k 1 8 0 0 120x72dpi
     Resolution k 1 8 0 0 240x72dpi
   }
@@ -652,6 +674,7 @@ Version "1.4"
   // Zebra CPCL Label Printer
   {
     ModelName "CPCL Label Printer"
+    Attribute NickName "" "Zebra CPCL Label Printer"
     PCFileName "zebracpl.ppd"
     ModelNumber $ZEBRA_CPCL
 
@@ -781,6 +804,7 @@ Version "1.4"
   // Zebra EPL1 Label Printer
   {
     ModelName "EPL1 Label Printer"
+    Attribute NickName "" "Zebra EPL1 Label Printer"
     PCFileName "zebraep1.ppd"
     ModelNumber $ZEBRA_EPL_LINE
 
@@ -878,6 +902,7 @@ Version "1.4"
   // Zebra EPL2 Label Printer
   {
     ModelName "EPL2 Label Printer"
+    Attribute NickName "" "Zebra EPL2 Label Printer"
     PCFileName "zebraep2.ppd"
     ModelNumber $ZEBRA_EPL_PAGE
 
@@ -984,6 +1009,7 @@ Version "1.4"
   // Zebra ZPL Label Printer
   {
     ModelName "ZPL Label Printer"
+    Attribute NickName "" "Zebra ZPL Label Printer"
     PCFileName "zebra.ppd"
     ModelNumber $ZEBRA_ZPL