[cups.development] output orientation

Michael Sweet mike at easysw.com
Sun Apr 24 05:25:56 PDT 2005

Nigel Pegram wrote:
> 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.

No, there isn't a way to do this in the driver, just make sure you
select "landscape" in your application or on the command-line, e.g.:

     lp -olandscape filename

Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com

More information about the cups mailing list