[cups.development] output orientation

Nigel Pegram npegram at iprimus.com.au
Sat Apr 23 21:04:53 PDT 2005


I have nearly finished a cups driver for Seiko-Epson label printers
(well the SLP100 I have anyway).

One item is problematic.

I can get the bitmap output to the printer, but regardless of the order
of the page dimensions in the PPD (portrait or landscape) the text is
always printed across the label, rather than along its length. That is,
I can cause the page region to go along or across the label, but the
text does not follow it, the text always goes across the label, never
along.

Now, I can manipulate the bitmap in the driver to achieve the end I
want, but was wondering if there was something I could include in the
ppd that would let me have the page landscape with the text landscape as
the normal orientation.

The PPD is very simple and is below.

TIA
Nigel


*PPD-Adobe: "4.3"
*%
*% slp100.ppd
*% version 1.0
*% 2005/04/24
*% by Nigel Pegram
*% E-mail: npegram at iprimus.com.au
*%

*FormatVersion:	"4.3"
*FileVersion:	"1.0"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:	"SLP100.PPD"
*Manufacturer:	"Seiko Epson"
*Product:	"(CUPS v1.1)"
*cupsVersion:	1.1
*cupsManualCopies: False
*cupsFilter:	"application/vnd.cups-raster 0 slapcupsbackend"
*cupsModelNumber: 0
*ModelName:     "SeikoEpson SLP 100 Label Printer"
*ShortNickName: "SLP 100 Label Printer"
*NickName:      "SeikoEpson SLP 100 Label Printer 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
*DefaultPageSize: std

*PageSize std/Standard Address Labels (28 x 89 mm):		"<</PageSize[252
79]/ImagingBBox null>>setpagedevice"
*PageSize euro/Euro Address Labels (36 x 89 mm):		"<</PageSize[252
102]/ImagingBBox null>>setpagedevice"
*PageSize disk/Diskette Labels (54 x 70 mm):			"<</PageSize[198
153]/ImagingBBox null>>setpagedevice"
*PageSize ship/Shipping Labels (54 x 101 mm):			"<</PageSize[286
153]/ImagingBBox null>>setpagedevice"
*PageSize small/Small Labels (28 x 51 mm):			"<</PageSize[145
79]/ImagingBBox null>>setpagedevice"
*PageSize strip/Thin Labels (14 x 87 mm):			"<</PageSize[247
40]/ImagingBBox null>>setpagedevice"
*PageSize slide/35mm Slide Labels (38 x 11 mm):			"<</PageSize[108
31]/ImagingBBox null>>setpagedevice"
*PageSize cass/Cassette Labels (9 x 71 mm):			"<</PageSize[201
26]/ImagingBBox null>>setpagedevice"
*PageSize leitz/Leitz-Folder Labels (36 x 190 mm):		"<</PageSize[539
102]/ImagingBBox null>>setpagedevice"
*PageSize large/Large Labels (51 x 190 mm):			"<</PageSize[539
145]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*DefaultPageRegion: std
*PageRegion std/Standard Address Labels (28 x 89 mm):		"<</PageSize[252
79]/ImagingBBox null>>setpagedevice"
*PageRegion euro/Euro Address Labels (36 x 89 mm):
"<</PageSize[252 102]/ImagingBBox null>>setpagedevice"
*PageRegion disk/Diskette Labels (54 x 70 mm):			"<</PageSize[198
153]/ImagingBBox null>>setpagedevice"
*PageRegion small/Small Labels (28 x 51 mm):			"<</PageSize[145
79]/ImagingBBox null>>setpagedevice"
*PageRegion strip/Thin Labels (14 x 87 mm):			"<</PageSize[247
40]/ImagingBBox null>>setpagedevice"
*PageRegion slide/35mm Slide Labels (38 x 11 mm):		"<</PageSize[108
31]/ImagingBBox null>>setpagedevice"
*PageRegion cass/Cassette Labels (9 x 71 mm):			"<</PageSize[201
26]/ImagingBBox null>>setpagedevice"
*PageRegion leitz/Leitz-Folder Labels (36 x 190 mm):		"<</PageSize[539
102]/ImagingBBox null>>setpagedevice"
*PageRegion large/Large Labels (51 x 190 mm):			"<</PageSize[539
145]/ImagingBBox null>>setpagedevice"
*CloseUI: *PageRegion

*DefaultImageableArea: std
*ImageableArea std/Standard Address Labels (28 x 89 mm):		"0	0	252	79"
*ImageableArea euro/Euro Address Labels (36 x 89 mm):                	"0
0	252	102"
*ImageableArea disk/Diskette Labels (54 x 70 mm):			"0	0	198	153"
*ImageableArea small/Small Labels (28 x 51 mm):				"0	0	145	79"
*ImageableArea strip/Thin Labels (14 x 87 mm):				"0	0	247	40"
*ImageableArea slide/35mm Slide Labels (38 x 11 mm):			"0	0	108	31"
*ImageableArea cass/Cassette Labels (9 x 71 mm):			"0	0	201	26"
*ImageableArea leitz/Leitz-Folder Labels (36 x 190 mm):			"0	0	539	102"
*ImageableArea large/Large Labels (51 x 190 mm):			"0	0	539	145"

*DefaultPaperDimension: std
*PaperDimension std/Standard Address Labels (28 x 89 mm):		"252 	79"
*PaperDimension euro/Euro Address Labels (36 x 89 mm):			"252	102"
*PaperDimension disk/Diskette Labels (54 x 70 mm):			"198	153"
*PaperDimension small/Small Labels (28 x 51 mm):			"145	79"
*PaperDimension strip/Thin Labels (14 x 87 mm):				"247	40"
*PaperDimension slide/35mm Slide Labels (38 x 11 mm):			"108	31"
*PaperDimension cass/Cassette Labels (9 x 71 mm):			"201	26"
*PaperDimension leitz/Leitz-Folder Labels (36 x 190 mm):		"539	102"
*PaperDimension large/Large Labels (51 x 190 mm):			"539	145"

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 203dpi
*Resolution 203dpi/203 DPI: "<</HWResolution[203 203]>>setpagedevice"
*CloseUI: *Resolution






More information about the cups-devel mailing list