[cups] Overwriting hardware page size limits

Erik Rull erik.rull at rdsoftware.de
Tue Dec 4 13:26:01 PST 2018


Hi Helge,

attached both gpd and ppd with txt extension as proposed. In the gpd file the
ESC Sequence for A3 selects the "special" page format, the others should select
themself (so A4 the A4 format, Letter selects Letter, etc.).

I'm curious how the adaption will look like...

Thanks!

Best regards,

Erik


Helge Blischke wrote:
> 
>> Am 04.12.2018 um 18:09 schrieb Erik Rull <erik.rull at rdsoftware.de>:
>>
>> Hi all,
>>
>> I'm using an OKI ML 3391 since years in a Windows environment and migrate now to
>> Linux. The printer itself seems to work using the Epson dot matrix printer driver.
>> But one thing doesn't work:
>> The printer is also used in a bulk printing environment with a predefined
>> hardware page size (default, active at power up).
>> Under Windows, I could overwrite this setting in the GPD file to assert that
>> also other page sizes (A4,A5,...) work smoothly.
>> But I was not able to adapt this in Linux / CUPS. I didn't find a way to send
>> down a printer command that overwrites the preset hardware wise page size. The
>> default hardware setting is a quite short page size and if I e.g. try to print
>> A5, the lower part gets not printed until the next sheet is inserted. Then I get
>> the second half on the second page :-(
>> Is there a section like the GPD files on Windows where I can send down
>> predefined ESC-Sequences to switch the page sizes on the printer?
>>
>> Thanks in Advance.
>>
>> Best regards,
>>
>> Erik
>> _______________________________________________
> 
> Do you know which ESC-sequence was emitted under Windows to bypass the hardware setting?
> If yes, please post it, and post the PPD you use under CUPS for this printer.
> 
> Helge
> 
> PS: If you post the PPD as an attachment, append a „.txt“ to the file name, as the list deletes attachments with other file types.
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
> 

-------------- next part --------------
*%
*% Copyright (c) 1997 - 1999 Microsoft Corporation
*% All Rights Reserved.
*%
*Include: "StdNames.gpd"
*MasterUnits: PAIR(360, 360)
*ResourceDLL: "okdteres.dll"
*PrinterType: SERIAL
*PrintRate: 262
*PrintRateUnit: CPS
*rcInstalledOptionNameID: 2033
*rcNotInstalledOptionNameID: 2034
*Feature: Orientation
{
    *rcNameID: =ORIENTATION_DISPLAY
    *DefaultOption: PORTRAIT
    *Option: PORTRAIT
    {
        *rcNameID: =PORTRAIT_DISPLAY
    }
    *Option: LANDSCAPE_CC270
    {
        *rcNameID: =LANDSCAPE_DISPLAY
    }
}
*Feature: InputBin
{
    *rcNameID: =PAPER_SOURCE_DISPLAY
    *DefaultOption: MANUAL
    *Option: TRACTOR
    {
        *rcNameID: =TRACTOR_DISPLAY
    }
    *Option: MANUAL
    {
        *rcNameID: =MANUAL_FEED_DISPLAY
    }
    *Option: Option3
    {
    *Installable?:TRUE
        *rcInstallableFeatureNameID: 2031
        *rcNameID: 2031
        *OptionID: 2031
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>1"
        }
    }
    *Option: Option4
    {
    *Installable?:TRUE
        *rcInstallableFeatureNameID: 2032
        *rcNameID: 2032
        *OptionID: 2032
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.3
            *Cmd: "<1B19>2"
        }
    }
}
*Feature: Resolution
{
    *rcNameID: =RESOLUTION_DISPLAY
    *DefaultOption: Option1
    *Option: Option1
    {
        *Name: "360 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(360, 180)
        *TextDPI: PAIR(360, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        *RequireUniDir?: TRUE
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
    }
    *Option: Option2
    {
        *Name: "360 x 360 " =DOTS_PER_INCH
        *DPI: PAIR(360, 360)
        *TextDPI: PAIR(360, 360)
        *PinsPerLogPass: 48
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 360
        *RequireUniDir?: TRUE
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 170
        *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
    }
    *Option: Option3
    {
        *Name: "180 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(180, 180)
        *TextDPI: PAIR(180, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 180
        *RequireUniDir?: TRUE
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 120
        *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
    }
    *Option: Option4
    {
        *Name: "120 x 180 " =DOTS_PER_INCH
        *DPI: PAIR(120, 180)
        *TextDPI: PAIR(120, 180)
        *PinsPerLogPass: 24
        *PinsPerPhysPass: 24
        *MinStripBlankPixels: 120
        *RequireUniDir?: TRUE
        EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
        *SpotDiameter: 100
        *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
    }
}
*Feature: PaperSize
{
    *rcNameID: =PAPER_SIZE_DISPLAY
    *DefaultOption: A3
    *Option: LETTER
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>C<000B>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2880, 3960)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2880, 3615)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2880, 3615)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2880, 3615)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 3614)
                    }
                }
            }
        }
    }
    *Option: LEGAL
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>C<000E>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2880, 5040)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2880, 4695)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2880, 4695)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2880, 4695)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 4694)
                    }
                }
            }
        }
    }
    *Option: A4
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C2"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2880, 4208)
                *PrintableOrigin: PAIR(0, 0)
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2880, 3863)
                *PrintableOrigin: PAIR(42, 162)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2880, 3863)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2880, 3863)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2880, 3862)
                    }
                }
            }
        }
    }
    *Option: B5
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *Cmd: "<1B>2<1B>C>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(2581, 3643)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(2581, 3642)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2580, 3642)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2580, 3642)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(2581, 3298)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2580, 3298)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2580, 3298)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(2581, 3298)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2580, 3298)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2580, 3298)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(2581, 3298)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(2580, 3298)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(2580, 3298)
                    }
                }
            }
        }
    }
    *Option: A3
    {
        *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
        *Command: CmdSelect
        {
            *Order: DOC_SETUP.4
            *% *Cmd: "<1B>2<1B>C>"
            *Cmd: "<1B>2<1B>C<1C>"
        }
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *PrintableArea: PAIR(4122, 5834)
                *PrintableOrigin: PAIR(0, 0)
                *switch: Resolution
                {
                    *case: Option1
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                }
            }
            *case: MANUAL
            {
                *PrintableArea: PAIR(4122, 5834)
                %*PrintableOrigin: PAIR(0, 120)
                *PrintableOrigin: PAIR(42, 162)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                }
            }
            *case: Option3
            {
                *PrintableArea: PAIR(4122, 5834)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                }
            }
            *case: Option4
            {
                *PrintableArea: PAIR(4122, 5834)
                *PrintableOrigin: PAIR(0, 120)
                *switch: Resolution
                {
                    *case: Option3
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                    *case: Option4
                    {
                        *PrintableArea: PAIR(4122, 5834)
                    }
                }
            }
        }
    }
    *Option: CUSTOMSIZE
    {
        *rcNameID: =USER_DEFINED_SIZE_DISPLAY
        *MinSize: PAIR(180, 180)
        *MaxSize: PAIR(3060, 7920)
        *MaxPrintableWidth: 2880
        *MinLeftMargin: 0
        *CenterPrintable?: FALSE
        *switch: InputBin
        {
            *case: TRACTOR
            {
                *TopMargin: 0
                *BottomMargin: 0
            }
            *case: MANUAL
            {
                *TopMargin: 120
                *BottomMargin: 225
            }
            *case: Option3
            {
                *TopMargin: 120
                *BottomMargin: 225
            }
            *case: Option4
            {
                *TopMargin: 120
                *BottomMargin: 225
            }
        }
    }
}
*Feature: Halftone
{
    *rcNameID: =HALFTONING_DISPLAY
    *DefaultOption: HT_PATSIZE_AUTO
    *Option: HT_PATSIZE_AUTO
    {
        *rcNameID: =HT_AUTO_SELECT_DISPLAY
    }
*Ifdef: WINNT_50
    *Option: HT_PATSIZE_SUPERCELL_M
    {
        *rcNameID: =HT_SUPERCELL_DISPLAY
    }
*Endif:
    *Option: HT_PATSIZE_6x6_M
    {
        *rcNameID: =HT_DITHER6X6_DISPLAY
    }
    *Option: HT_PATSIZE_8x8_M
    {
        *rcNameID: =HT_DITHER8X8_DISPLAY
    }
}
*Command: CmdStartDoc
{
    *Order: DOC_SETUP.1
    *Cmd: "<1B>{B<1B>@<1B>(t<03000003001B>t<001B>R<001B>(U<01000A0D>"
}
*Command: CmdStartPage
{
    *Order: PAGE_SETUP.1
    *Cmd: "<0D>"
}
*RotateCoordinate?: FALSE
*RotateRaster?: FALSE
*RotateFont?: FALSE
*switch: Orientation
{
    *case: PORTRAIT
    {
        *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
    }
    *case: LANDSCAPE_CC270
    {
        *TextCaps: LIST(TC_RA_ABLE)
    }
}
*CursorXAfterCR: AT_CURSOR_X_ORIGIN
*YMoveAttributes: LIST(SEND_CR_FIRST)
*MaxLineSpacing: 255
*XMoveThreshold: 0
*YMoveThreshold: *
*XMoveUnit: 360
*YMoveUnit: 360
*Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{DestX} }
*Command: CmdYMoveRelDown { *Cmd : "<1B>(v<0200>" %l{DestYRel} }
*Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
*Command: CmdCR { *Cmd : "<0D>" }
*Command: CmdLF { *Cmd : "<0A>" }
*Command: CmdFF { *Cmd : "<0C>" }
*Command: CmdBackSpace { *Cmd : "<08>" }
*Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
*Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
*EjectPageWithFF?: FALSE
*switch: InputBin
{
    *case: MANUAL
    {
        *EjectPageWithFF?: TRUE
    }
    *case: Option3
    {
        *EjectPageWithFF?: TRUE
    }
    *case: Option4
    {
        *EjectPageWithFF?: TRUE
    }
}
*OutputDataFormat: V_BYTE
*OptimizeLeftBound?: FALSE
*CursorXAfterSendBlockData: AT_GRXDATA_END
*CursorYAfterSendBlockData: NO_MOVE
*DefaultFont: 4072
*DefaultCTT: 1
*switch: Orientation
{
    *case: PORTRAIT
    {
        *DeviceFonts: LIST(4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,
+                   4017,4018,4019,4020,4021,4022,4023,4024,4025,4026,4027,4028,4029,4030,4031,4032,
+                   4033,4034,4035,4036,4037,4038,4039,4040,4041,4042,4043,4044,4045,4046,4047,4048,
+                   4049,4050,4051,4052,4053,4054,4055,4056,4057,4058,4059,4060,4061,4062,4063,4064,
+                   4065,4066,4067,4068,4069,4070,4071,4072,4073,4074,4075,4076,4077,
+                   4135,4136,4137,4138,4139,4140,4141,4142,4143,4144,
+                   4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4159,4160,
+                   4161,4162,4163,4164,
+                   4222,4223,4224,
+                   4225,4226,4227,4228,4229,4230,4231,
+                   4289,4290,4291,4292,4293,4294,4295,4296,4297,4298,4299,4300,4301,4302,4303,4304,
+                   4305,4310,4311)
    }
    *case: LANDSCAPE_CC270
    {
        *DeviceFonts: LIST()
    }
}
*Command: CmdBoldOn { *Cmd : "<1B>E" }
*Command: CmdBoldOff { *Cmd : "<1B>F" }
*Command: CmdItalicOn { *Cmd : "<1B>4" }
*Command: CmdItalicOff { *Cmd : "<1B>5" }
*Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
*Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
-------------- next part --------------
*PPD-Adobe: "4.3"
*%
*% For information on using this, and to obtain the required backend
*% script, consult http://www.openprinting.org/
*%
*% This file is published under the GNU General Public License
*%
*% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with 
*% all programs and environments which use PPD files for dealing with
*% printer capability information. The printer must be configured with the
*% "foomatic-rip" backend filter script of Foomatic 4.0.0 or newer. This 
*% file and "foomatic-rip" work together to support PPD-controlled printer
*% driver option access with all supported printer drivers and printing
*% spoolers.
*%
*% To save this file on your disk, wait until the download has completed
*% (the animation of the browser logo must stop) and then use the
*% "Save as..." command in the "File" menu of your browser or in the 
*% pop-up manu when you click on this document with the right mouse button.
*% DO NOT cut and paste this file into an editor with your mouse. This can
*% introduce additional line breaks which lead to unexpected results.
*%
*% You may save this file as 'Generic-ESC_P_Dot_Matrix_Printer-lq850.ppd'
*%
*%
*FormatVersion:	"4.3"
*FileVersion:	"1.1"
*LanguageVersion: English 
*LanguageEncoding: ISOLatin1
*PCFileName:	"LQ850.PPD"
*Manufacturer:	"Generic"
*Product:	"(ESC/P Dot Matrix Printer)"
*cupsVersion:	1.0
*cupsManualCopies: True
*cupsModelNumber:  2
*cupsFilter:	"application/vnd.cups-postscript 100 foomatic-rip"
*cupsFilter:	"application/vnd.cups-pdf 0 foomatic-rip"
*%pprRIP:        foomatic-rip other
*ModelName:     "Generic ESC/P Dot Matrix Printer"
*ShortNickName: "Generic ESC/P Dot M. Pri. lq850"
*NickName:      "Generic ESC/P Dot Matrix Printer Foomatic/lq850"
*PSVersion:	"(3010.000) 550"
*PSVersion:	"(3010.000) 651"
*PSVersion:	"(3010.000) 652"
*PSVersion:	"(3010.000) 653"
*PSVersion:	"(3010.000) 704"
*PSVersion:	"(3010.000) 705"
*PSVersion:	"(3010.000) 800"
*PSVersion:	"(3010.000) 815"
*PSVersion:	"(3010.000) 850"
*PSVersion:	"(3010.000) 860"
*PSVersion:	"(3010.000) 861"
*PSVersion:	"(3010.000) 862"
*PSVersion:	"(3010.000) 863"
*PSVersion:	"(3010.000) 864"
*PSVersion:	"(3010.000) 870"
*LanguageLevel:	"3"
*ColorDevice:	True
*DefaultColorSpace: RGB
*FileSystem:	False
*Throughput:	"1"
*LandscapeOrientation: Plus90
*TTRasterizer:	Type42
*1284DeviceID: "DRV:Dlq850,R0,M0,TG;"

*driverName lq850: ""
*driverType G/Ghostscript built-in: ""
*driverUrl: "http://www.ghostscript.com/"
*driverObsolete: False
*driverManufacturerSupplied: False




*HWMargins: 18 36 18 36
*VariablePaperSize: True
*MaxMediaWidth: 100000
*MaxMediaHeight: 100000
*NonUIOrderDependency: 100 AnySetup *CustomPageSize
*CustomPageSize True: "pop pop pop pop pop
%% FoomaticRIPOptionSetting: PageSize=Custom"
*End
*FoomaticRIPOptionSetting PageSize=Custom: " -dDEVICEWIDTHPOINTS=0 -dD&&
EVICEHEIGHTPOINTS=0"
*End
*ParamCustomPageSize Width: 1 points 36 100000
*ParamCustomPageSize Height: 2 points 36 100000
*ParamCustomPageSize Orientation: 3 int 0 0
*ParamCustomPageSize WidthOffset: 4 points 0 0
*ParamCustomPageSize HeightOffset: 5 points 0 0

*FoomaticIDs: Generic-ESC_P_Dot_Matrix_Printer lq850
*FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPA&&
USE -dNOMEDIAATTRS -dNOINTERPOLATE -sDEVICE=lq850%A%Z -sOutputFile=- -&&
"
*End

*OpenGroup: General/General

*OpenUI *PageSize/Page Size: PickOne
*FoomaticRIPOption PageSize: enum CmdLine A
*OrderDependency: 100 AnySetup *PageSize
*DefaultPageSize: A4
*PageSize Letter/US Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
*FoomaticRIPOptionSetting PageSize=Letter: " -dDEVICEWIDTHPOINTS=612 -&&
dDEVICEHEIGHTPOINTS=792"
*End
*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
*FoomaticRIPOptionSetting PageSize=A4: " -dDEVICEWIDTHPOINTS=595 -dDEV&&
ICEHEIGHTPOINTS=842"
*End
*PageSize 3x5/3x5: "%% FoomaticRIPOptionSetting: PageSize=3x5"
*FoomaticRIPOptionSetting PageSize=3x5: " -dDEVICEWIDTHPOINTS=216 -dDE&&
VICEHEIGHTPOINTS=360"
*End
*PageSize 4x6/4x6: "%% FoomaticRIPOptionSetting: PageSize=4x6"
*FoomaticRIPOptionSetting PageSize=4x6: " -dDEVICEWIDTHPOINTS=288 -dDE&&
VICEHEIGHTPOINTS=432"
*End
*PageSize 5x7/5x7: "%% FoomaticRIPOptionSetting: PageSize=5x7"
*FoomaticRIPOptionSetting PageSize=5x7: " -dDEVICEWIDTHPOINTS=360 -dDE&&
VICEHEIGHTPOINTS=504"
*End
*PageSize 5x8/5x8: "%% FoomaticRIPOptionSetting: PageSize=5x8"
*FoomaticRIPOptionSetting PageSize=5x8: " -dDEVICEWIDTHPOINTS=360 -dDE&&
VICEHEIGHTPOINTS=576"
*End
*PageSize 6x8/6x8: "%% FoomaticRIPOptionSetting: PageSize=6x8"
*FoomaticRIPOptionSetting PageSize=6x8: " -dDEVICEWIDTHPOINTS=432 -dDE&&
VICEHEIGHTPOINTS=576"
*End
*PageSize 8x10/8x10: "%% FoomaticRIPOptionSetting: PageSize=8x10"
*FoomaticRIPOptionSetting PageSize=8x10: " -dDEVICEWIDTHPOINTS=576 -dD&&
EVICEHEIGHTPOINTS=720"
*End
*PageSize 8x12/8x12: "%% FoomaticRIPOptionSetting: PageSize=8x12"
*FoomaticRIPOptionSetting PageSize=8x12: " -dDEVICEWIDTHPOINTS=576 -dD&&
EVICEHEIGHTPOINTS=864"
*End
*PageSize 11x14/11x14: "%% FoomaticRIPOptionSetting: PageSize=11x14"
*FoomaticRIPOptionSetting PageSize=11x14: " -dDEVICEWIDTHPOINTS=792 -d&&
DEVICEHEIGHTPOINTS=1008"
*End
*PageSize 11x14.Transverse/14x11: "%% FoomaticRIPOptionSetting: PageSize=11x14.Transverse"
*FoomaticRIPOptionSetting PageSize=11x14.Transverse: " -dDEVICEWIDTHPO&&
INTS=1008 -dDEVICEHEIGHTPOINTS=792"
*End
*PageSize 16x20/16x20: "%% FoomaticRIPOptionSetting: PageSize=16x20"
*FoomaticRIPOptionSetting PageSize=16x20: " -dDEVICEWIDTHPOINTS=1152 -&&
dDEVICEHEIGHTPOINTS=1440"
*End
*PageSize 16x24/16x24: "%% FoomaticRIPOptionSetting: PageSize=16x24"
*FoomaticRIPOptionSetting PageSize=16x24: " -dDEVICEWIDTHPOINTS=1152 -&&
dDEVICEHEIGHTPOINTS=1728"
*End
*PageSize 210x305mm/210x305mm (8.3x12): "%% FoomaticRIPOptionSetting: PageSize=210x305mm"
*FoomaticRIPOptionSetting PageSize=210x305mm: " -dDEVICEWIDTHPOINTS=59&&
5 -dDEVICEHEIGHTPOINTS=864"
*End
*PageSize 378x279mm.Transverse/US Standard Fanfold (14.875x11): "%% FoomaticRIPOptionSetting: PageSize=378x279mm.Transverse"
*FoomaticRIPOptionSetting PageSize=378x279mm.Transverse: " -dDEVICEWID&&
THPOINTS=1071 -dDEVICEHEIGHTPOINTS=792"
*End
*PageSize A3/A3: "%% FoomaticRIPOptionSetting: PageSize=A3"
*FoomaticRIPOptionSetting PageSize=A3: " -dDEVICEWIDTHPOINTS=842 -dDEV&&
ICEHEIGHTPOINTS=1191"
*End
*PageSize FanFoldGerman/German Standard Fanfold (8.5x12): "%% FoomaticRIPOptionSetting: PageSize=FanFoldGerman"
*FoomaticRIPOptionSetting PageSize=FanFoldGerman: " -dDEVICEWIDTHPOINT&&
S=612 -dDEVICEHEIGHTPOINTS=864"
*End
*PageSize Legal/US Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
*FoomaticRIPOptionSetting PageSize=Legal: " -dDEVICEWIDTHPOINTS=612 -d&&
DEVICEHEIGHTPOINTS=1008"
*End
*PageSize SuperB/Super B (13x19): "%% FoomaticRIPOptionSetting: PageSize=SuperB"
*FoomaticRIPOptionSetting PageSize=SuperB: " -dDEVICEWIDTHPOINTS=936 -&&
dDEVICEHEIGHTPOINTS=1368"
*End
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 100 AnySetup *PageRegion
*DefaultPageRegion: A4
*PageRegion Letter/US Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
*PageRegion A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
*PageRegion 3x5/3x5: "%% FoomaticRIPOptionSetting: PageSize=3x5"
*PageRegion 4x6/4x6: "%% FoomaticRIPOptionSetting: PageSize=4x6"
*PageRegion 5x7/5x7: "%% FoomaticRIPOptionSetting: PageSize=5x7"
*PageRegion 5x8/5x8: "%% FoomaticRIPOptionSetting: PageSize=5x8"
*PageRegion 6x8/6x8: "%% FoomaticRIPOptionSetting: PageSize=6x8"
*PageRegion 8x10/8x10: "%% FoomaticRIPOptionSetting: PageSize=8x10"
*PageRegion 8x12/8x12: "%% FoomaticRIPOptionSetting: PageSize=8x12"
*PageRegion 11x14/11x14: "%% FoomaticRIPOptionSetting: PageSize=11x14"
*PageRegion 11x14.Transverse/14x11: "%% FoomaticRIPOptionSetting: PageSize=11x14.Transverse"
*PageRegion 16x20/16x20: "%% FoomaticRIPOptionSetting: PageSize=16x20"
*PageRegion 16x24/16x24: "%% FoomaticRIPOptionSetting: PageSize=16x24"
*PageRegion 210x305mm/210x305mm (8.3x12): "%% FoomaticRIPOptionSetting: PageSize=210x305mm"
*PageRegion 378x279mm.Transverse/US Standard Fanfold (14.875x11): "%% FoomaticRIPOptionSetting: PageSize=378x279mm.Transverse"
*PageRegion A3/A3: "%% FoomaticRIPOptionSetting: PageSize=A3"
*PageRegion FanFoldGerman/German Standard Fanfold (8.5x12): "%% FoomaticRIPOptionSetting: PageSize=FanFoldGerman"
*PageRegion Legal/US Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
*PageRegion SuperB/Super B (13x19): "%% FoomaticRIPOptionSetting: PageSize=SuperB"
*CloseUI: *PageRegion

*DefaultImageableArea: Letter
*ImageableArea Letter/US Letter: "18 36 594 756"
*ImageableArea A4/A4: "18 36 577 806"
*ImageableArea 3x5/3x5: "18 36 198 324"
*ImageableArea 4x6/4x6: "18 36 270 396"
*ImageableArea 5x7/5x7: "18 36 342 468"
*ImageableArea 5x8/5x8: "18 36 342 540"
*ImageableArea 6x8/6x8: "18 36 414 540"
*ImageableArea 8x10/8x10: "18 36 558 684"
*ImageableArea 8x12/8x12: "18 36 558 828"
*ImageableArea 11x14/11x14: "18 36 774 972"
*ImageableArea 11x14.Transverse/14x11: "18 36 990 756"
*ImageableArea 16x20/16x20: "18 36 1134 1404"
*ImageableArea 16x24/16x24: "18 36 1134 1692"
*ImageableArea 210x305mm/210x305mm (8.3x12): "18 36 577 828"
*ImageableArea 378x279mm.Transverse/US Standard Fanfold (14.875x11): "18 36 1053 756"
*ImageableArea A3/A3: "18 36 824 1155"
*ImageableArea FanFoldGerman/German Standard Fanfold (8.5x12): "18 36 594 828"
*ImageableArea Legal/US Legal: "18 36 594 972"
*ImageableArea SuperB/Super B (13x19): "18 36 918 1332"

*DefaultPaperDimension: Letter
*PaperDimension Letter/US Letter: "612 792"
*PaperDimension A4/A4: "595 842"
*PaperDimension 3x5/3x5: "216 360"
*PaperDimension 4x6/4x6: "288 432"
*PaperDimension 5x7/5x7: "360 504"
*PaperDimension 5x8/5x8: "360 576"
*PaperDimension 6x8/6x8: "432 576"
*PaperDimension 8x10/8x10: "576 720"
*PaperDimension 8x12/8x12: "576 864"
*PaperDimension 11x14/11x14: "792 1008"
*PaperDimension 11x14.Transverse/14x11: "1008 792"
*PaperDimension 16x20/16x20: "1152 1440"
*PaperDimension 16x24/16x24: "1152 1728"
*PaperDimension 210x305mm/210x305mm (8.3x12): "595 864"
*PaperDimension 378x279mm.Transverse/US Standard Fanfold (14.875x11): "1071 792"
*PaperDimension A3/A3: "842 1191"
*PaperDimension FanFoldGerman/German Standard Fanfold (8.5x12): "612 864"
*PaperDimension Legal/US Legal: "612 1008"
*PaperDimension SuperB/Super B (13x19): "936 1368"

*CloseGroup: General


*% Generic boilerplate PPD stuff as standard PostScript fonts and so on

*DefaultFont: Courier
*Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
*Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
*Font AvantGarde-Demi: Standard "(001.007S)" Standard ROM
*Font AvantGarde-DemiOblique: Standard "(001.007S)" Standard ROM
*Font Bookman-Demi: Standard "(001.004S)" Standard ROM
*Font Bookman-DemiItalic: Standard "(001.004S)" Standard ROM
*Font Bookman-Light: Standard "(001.004S)" Standard ROM
*Font Bookman-LightItalic: Standard "(001.004S)" Standard ROM
*Font Courier: Standard "(002.004S)" Standard ROM
*Font Courier-Bold: Standard "(002.004S)" Standard ROM
*Font Courier-BoldOblique: Standard "(002.004S)" Standard ROM
*Font Courier-Oblique: Standard "(002.004S)" Standard ROM
*Font Helvetica: Standard "(001.006S)" Standard ROM
*Font Helvetica-Bold: Standard "(001.007S)" Standard ROM
*Font Helvetica-BoldOblique: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow: Standard "(001.006S)" Standard ROM
*Font Helvetica-Narrow-Bold: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow-BoldOblique: Standard "(001.007S)" Standard ROM
*Font Helvetica-Narrow-Oblique: Standard "(001.006S)" Standard ROM
*Font Helvetica-Oblique: Standard "(001.006S)" Standard ROM
*Font NewCenturySchlbk-Bold: Standard "(001.009S)" Standard ROM
*Font NewCenturySchlbk-BoldItalic: Standard "(001.007S)" Standard ROM
*Font NewCenturySchlbk-Italic: Standard "(001.006S)" Standard ROM
*Font NewCenturySchlbk-Roman: Standard "(001.007S)" Standard ROM
*Font Palatino-Bold: Standard "(001.005S)" Standard ROM
*Font Palatino-BoldItalic: Standard "(001.005S)" Standard ROM
*Font Palatino-Italic: Standard "(001.005S)" Standard ROM
*Font Palatino-Roman: Standard "(001.005S)" Standard ROM
*Font Symbol: Special "(001.007S)" Special ROM
*Font Times-Bold: Standard "(001.007S)" Standard ROM
*Font Times-BoldItalic: Standard "(001.009S)" Standard ROM
*Font Times-Italic: Standard "(001.007S)" Standard ROM
*Font Times-Roman: Standard "(001.007S)" Standard ROM
*Font ZapfChancery-MediumItalic: Standard "(001.007S)" Standard ROM
*Font ZapfDingbats: Special "(001.004S)" Standard ROM



More information about the cups mailing list