Image Scaling

Anonymous anonymous at easysw.com
Thu Aug 26 05:50:41 PDT 2004


I am having problems with scaling.  Here is my scenario:
1.  OS = SUSE Linux
2.  CUPS version 1.1.20

I am writing a driver for a PostScript printer.  The printer only supports 4x4 and 4x8 page sizes.  I have pasted the contents of my PPD below for reference.  When I attempt to print the CUPS test page, Ghostscript does not scale the page.  It RIPs it to 8.5x11.  Do you have any suggestions as to why GS is not scaling?  Thank you.


*FormatVersion:	"4.3"
*FileVersion:	"1.1"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:	"Ten.PPD"
*Manufacturer:	"Ten"
*Product:	"(CUPS v1.1)"
*cupsVersion:	1.1
*cupsManualCopies: False
*%cupsFilter:	"application/vnd.cups-raster 0 rastertoTen"
*cupsFilter:	"application/vnd.ten-ct4xx 0 passthrufilter"
*cupsModelNumber: 0
*ModelName:     "ten410"
*ShortNickName: "ten410"
*NickName:      "ten410 CUPS v1.1"
*PSVersion:	"(3010.000) 550"
*LanguageLevel:	"3"
*ColorDevice:	False
*DefaultColorSpace: Gray
*FileSystem:	False
*Throughput:	"8"
*LandscapeOrientation: Plus90
*VariablePaperSize: False
*TTRasterizer:	Type42


*OpenUI *PageSize/Media Size: PickOne
*OrderDependency: 10 AnySetup *PageSize
*DefaultPageSize: Ten4x8
*PageSize Ten4x4/Ten 4x4:	"<</PageSize[288 288]/ImagingBBox null>>setpagedevice"
*PageSize Ten4x8/Ten 4x8:	"<</PageSize[288 576]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*OrderDependency: 10 AnySetup *PageRegion
*DefaultPageRegion: Ten4x8
*PageRegion Ten4x4/Ten 4x4:	"<</PageSize[288 288]/ImagingBBox null>>setpagedevice"
*PageRegion Ten4x8/Ten 4x8:	"<</PageSize[288 576]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*DefaultImageableArea: Ten4x8
*ImageableArea Ten4x4/Ten 4x4:	"10 10 278 278"
*ImageableArea Ten4x8/Ten 4x8:	"10 10 566 566"

*DefaultPaperDimension: Ten4x8
*PaperDimension Ten4x4/Ten 4x4:	"288 288"
*PaperDimension Ten4x8/Ten 4x8:	"288 576"

*OpenUI *Resolution/Output Resolution: PickOne
*OrderDependency: 20 AnySetup *Resolution
*DefaultResolution: 305dpi
*Resolution 305dpi/305 DPI: "<</HWResolution[305 305]/cupsColorOrder 0/cupsColorSpace 3/cupsCompression 2>>setpagedevice"
*CloseUI: *Resolution


*DefaultFont: Courier
......




More information about the cups-devel mailing list