Codebase list splix / upstream/1.0.1 ppd / samsung.drv
upstream/1.0.1

Tree @upstream/1.0.1 (Download .tar.gz)

samsung.drv @upstream/1.0.1raw · history · blame

#include <font.defs>
#include <media.defs>

// Information about the printer family
Manufacturer "Samsung"
Version "1.0"

// Filter to use
Filter application/vnd.cups-raster 0 rastertospl2

// Supported paper format
HWMargins 0.16in 0.55cm 0.16in 0.55cm
*MediaSize Letter
MediaSize Legal
MediaSize A4
MediaSize Executive
MediaSize Ledger
MediaSize A3
MediaSize Env10
MediaSize Monarch
MediaSize C5
MediaSize DL
MediaSize B4
MediaSize B5
MediaSize EnvISOB5
// Not listed
// JPost
// JDouble
MediaSize A5
MediaSize A6
MediaSize EnvISOB6
// Custom
MediaSize C6
MediaSize Folio
VariablePaperSize yes

// Supported input slots
*InputSlot 1 "Auto/Automatic Selection"
InputSlot 2 "Manual/Manual Feed"

// Font included in the printer ROM
Font *



//
// Defining PJL variables
//

// Supported paper type
Option "MediaType/Paper Type" PickOne AnySetup 10
   *Choice "OFF/Use Printer Default" ""
   Choice "NORMAL/Plain Paper" ""
   Choice "THICK/Thick Paper" ""
   Choice "THIN/Thin Paper" ""
   Choice "BOND/Bond" ""
   Choice "OHP/Transparency" ""
   Choice "CARD/Card Stock" ""
   Choice "LABEL/Label" ""
   Choice "USED/Preprinted" ""
   Choice "COLOR/Colored Paper" ""
   Choice "ENV/Envelope" ""

Attribute PJL beginPJL "<1B>%-12345X"
Attribute PJL endPJL "<09><1B>%-12345X"


// Specific black & white printer definition
{
	Attribute QPDL ColorPrinter "0"

	//
	// Defining PJL variables
	//

	// Power save
	Option "PowerSave/Power Save" PickOne AnySetup 10
	   Choice "False/Off" ""
	   *Choice "5/5 Minutes" ""
	   Choice "10/10 Minutes" ""
	   Choice "15/15 Minutes" ""
	   Choice "30/30 Minutes" ""
	   Choice "45/45 Minutes" ""
	   Choice "60/1 Hour" ""

	// Toner density
	Option "TonerDensity/Toner Density" PickOne AnySetup 10
	   Choice "1/Light" ""
	   *Choice "3/Medium" ""
	   Choice "5/Dark" ""

	// Toner Save
	Option "EconoMode/Toner Save" PickOne AnySetup 10
	   *Choice "0/Use Printer Default" ""
	  Choice "ON/Save" ""
	  Choice "OFF/Standard" ""

	// Reprint when Jam
	Option "JamRecovery/Reprint When Jam" Boolean AnySetup 10
	   *Choice "False/Off" ""
	   Choice "True/On" ""



	// Black & White support
	ColorDevice false
	*ColorModel Gray/Grayscale k chunky 17

	// Supported resolutions
	*Resolution k 1 0 0 0 "600dpi/600 DPI"

	{
		Attribute General docHeaderValues "<0><0><0>"
		Attribute QPDL QPDLVersion "1"
		Resolution k 1 0 0 0 "300dpi/300 DPI"
		{
			ModelName "ML-1510"
			PCFileName "ml1510.ppd"
		}
		{
			ModelName "ML-1520"
			PCFileName "ml1520.ppd"
		}
		{
			ModelName "ML-1610"
			PCFileName "ml1610.ppd"
		}
		{
			ModelName "ML-1710"
			PCFileName "ml1710.ppd"
		}
		{
			ModelName "ML-1740"
			PCFileName "ml1740.ppd"
		}
		{
			// SRT Mode
			Option "SRTMode/SRT Mode" PickOne AnySetup 10
			  *Choice "NORMAL/Normal" ""
			   Choice "ENHANCE/Text enhance" ""
			   Choice "GRAY/Image enhance" ""
			ModelName "ML-1750"
			PCFileName "ml1750.ppd"
		}
	}
	{
		{
			// 1200x1200 DPI
			Resolution k 1 0 0 0 "1200x600dpi/1200x600 DPI"
			Attribute QPDL QPDLVersion "2"

			// Oficio 
			ModelName "ML-2010"
			Attribute General docHeaderValues "<0><0><1>"
			PCFileName "ml2010.ppd"
		}
		{
			Attribute General docHeaderValues "<0><0><0>"
			Attribute QPDL QPDLVersion "1"

			// 1200x1200 DPI
			Resolution k 1 0 0 0 "1200dpi/1200 DPI"

			// Multi-tray
			InputSlot 3 "Multi/Multi-Purpose Tray"
			InputSlot 4 "Upper/Tray 1"
			InputSlot 5 "Lower/Tray 2"
			InputSlot 6 "Envelope/Envelope Tray"
			InputSlot 7 "Tray3/Tray 3"
			// But tray 2, Envelope and Tray3 are options...
			Installable "OptionTray2/Tray 2 Installed"
			UIConstraints "*OptionTray2 False *InputSlot Lower"
			Installable "OptionTrayEnv/Envelope Tray Installed"
			UIConstraints "*OptionTrayEnv False *InputSlot Envelope"
			Installable "OptionTray3/Tray 3 Installed"
			UIConstraints "*OptionTray3 False *InputSlot Tray3"

			// SRT Mode
			Option "SRTMode/SRT Mode" PickOne AnySetup 10
			  *Choice "NORMAL/Normal" ""
			   Choice "ENHANCE/Text enhance" ""
			   Choice "GRAY/Image enhance" ""
			{
				Throughput 22
				ModelName "ML-2250"
				PCFileName "ml2250.ppd"
			}
			{
				// Duplex support
				Duplex normal

				Resolution k 1 0 0 0 "300dpi/300 DPI"
				{
					ModelName "ML-2150"
					PCFileName "ml2150.ppd"
				}
				{
					ModelName "ML-2550"
					PCFileName "ml2550.ppd"
				}
			}
		}
	}
}

// Specific color printer definition
{
	Attribute QPDL ColorPrinter "1"

	// Color definition
	ColorDevice true
	ColorModel Gray/Grayscale k chunky 17
	*ColorModel CMYK/Color cmyk banded 17

	// Supported resolutions
	*Resolution - 1 0 0 0 "600dpi/600 DPI"

	// Power save
	Option "PowerSave/Power Save" PickOne AnySetup 10
	   Choice "False/Off" ""
	   *Choice "5/5 Minutes" ""
	   Choice "10/10 Minutes" ""
	   Choice "15/15 Minutes" ""
	   Choice "30/30 Minutes" ""
	   Choice "45/45 Minutes" ""
	   Choice "60/1 Hour" ""

	{
		Attribute General docHeaderValues "<0><0><0>"
		Attribute QPDL QPDLVersion "2"
		Throughput 4
		Resolution - 1 0 0 0 "300dpi/300 DPI"
		Resolution - 1 0 0 0 "1200dpi/1200 DPI"

		ModelName "CLP-300"
		PCFileName "clp300.ppd"
	}
	{
		//
		// Defining PJL variables
		//

		// Reprint when Jam
		Option "JamRecovery/Reprint When Jam" Boolean AnySetup 10
		   *Choice "False/Off" ""
		   Choice "True/On" ""

		// Multi-tray
		InputSlot 3 "Multi/Multi-Purpose Tray"
		InputSlot 4 "Upper/Tray 1"
		InputSlot 5 "Lower/Tray 2"
		// But tray 2 is optional..
		Installable "OptionTray2/Tray 2 Installed"
		UIConstraints "*OptionTray2 False *InputSlot Lower"

		Resolution - 1 0 0 0 "1200x600dpi/1200x600 DPI"
		Resolution - 1 0 0 0 "1200dpi/1200 DPI"

		Attribute General docHeaderValues "<0><0><0>"
		Attribute QPDL QPDLVersion "1"

		// Duplex support
		Duplex normal

		{
			Throughput 20
			ModelName "CLP-500"
			PCFileName "clp500.ppd"
		}
		{
			Throughput 24
			ModelName "CLP-510"
			PCFileName "clp510.ppd"
		}
		{
			Throughput 20
			Manufacturer "Xerox"
			ModelName "Phaser 6100"
			PCFileName "xerox-phaser6100.ppd"
		}
	}
	{
		Attribute General docHeaderValues "<0><0><0>"
		Attribute QPDL QPDLVersion "1"
		Throughput 20

		Resolution - 1 0 0 0 "1200x600dpi/1200x600 DPI"
		Resolution - 1 0 0 0 "1200dpi/1200 DPI"

		ModelName "CLP-600"
		PCFileName "clp600.ppd"
	}
}