Always rotate portrait page to landscape for rasterfilter

Johan Henselmans johan at netsense.nl
Sun Mar 18 21:35:27 PDT 2007


I am developing a driver for a Boca ticket printer. The ticket printer see a label as horizontally (eg 8x3.25), in which coordinate 0,0 is on the top left corner of this horizontal ticket.

I have developed a filter that also looks at the label horizontally.

A lot of users would expect a label of that proportion to be defined vertically, so as 3.25x8. Also, I noticed that Word on the Mac seems to have trouble recognizing that there are formats which are wider then that they are high: it will default to a vertical orientation, even if one has defined a page of 8 wide and 3.25 inch high.


Is there a way (eg a postscript command or an option) to automatically rotate the page before it gets to my filter so that I would get a 8x3.25 or a 576x234 pagesize to my filter, so that I don't have to rethink my filter completely?

Thanks in advance,

Johan Henselmans




More information about the cups-devel mailing list