Form Feed - CUPS

Bernd Krumböck krumboeck at universalnet.at
Tue Aug 15 00:59:53 PDT 2006


Cleber wrote:

> 
> [root at servidoruv UniVision]# lp -d UVepson -o PageSize=Custom.595x311
> [/etc/cups/
> ppd/UVepson.ppd
> request id is UVepson-167 (1 file(s))
> [root at servidoruv UniVision]#

You have won!  ;)

> 
> Print the file / etc/cups/ppd/UVepson.ppd
> I think it is in the chosen size, but it jumps after the impression. The
> jump is almost of the size of a leaf A4.

Sorry, but I don't have access to a dot matrix printer (or something with
continuous roll).
Maybe there is a configuration option on your printer, which has wrong
settings. (but this is only an assumption)


>  vi /etc/cups/ppd/UVepson.ppd
> 
> ..
> 
> *OpenGroup: General/General
> 
> *OpenUI *PageSize/Page Size: PickOne
> *OrderDependency: 100 AnySetup *PageSize
> *DefaultPageSize: Custom
> *PageSize Custom: "<</PageSize[595 311]/ImagingBBox null>>setpagedevice"
> *PageSize A4/A4: "<</PageSize[595 842]/ImagingBBox null>>setpagedevice"
> *PageSize 3x5/3x5: "<</PageSize[216 360]/ImagingBBox null>>setpagedevice"
> ..

The string "Custom" may not be a wise choice. Better you use another name:

*PageSize Size1/Size 1: "<</PageSize[595 311]/ImagingBBox ......

best regards!
Bernd




More information about the cups mailing list