bug-a2ps
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Returned Mail: Message Could Not Be Delivered


From: postmaster . eu
Subject: Returned Mail: Message Could Not Be Delivered
Date: Wed, 12 Jun 2002 00:06:02 +0200

To:santana/address@hidden
550 santana/address@hidden .... OM.UX 1015 Can't find mailnode in the routing 
table.

Original-Envelope-ID: 20020611190416.04b2cd7b.brblueser@uol.com.br
Reporting-MTA: smtp; eux220
DSN-Gateway: dns; eux220
Arrival-Date: Wed, 12 Jun 2002 00:06:02 +0200

Final-Recipient: rfc822;santana/DD.RFC-822=santana#a#st#f#com@eux220
Action: failed
Status: 5.4.4
X-OpenMail-Reason-Code: 101
--- Begin Message --- Subject: a2ps, CUPS and paper orientation Date: Tue, 11 Jun 2002 19:04:16 -0300
Hi gentlemen,

fisrt of all, let me say I do like a2ps -- thks for this great app ;)

I have a possibly subjective question to make: I have recently upgraded my
CUPS (http://www.cups.org/index.php) to the latest version 1.1.15, and all
of a sudden any printing from a2ps would go bad -- landscape pages would
get rotated and printed on portrait sheets, which means information is
lost (just half the data gets printed since the rest gets out of page
boundaries).

I talked to CUPS developers on their cups.general news server, and here's
the last bit of info we exchanged (indented text is mine, the rest is
their
reply):

--- begin forwarded message ---

[snip]
> However, IMHO either a2ps is being redundant or CUPS is being picky
> about the '%%Orientation' parameter. Is it supposed to be a hint (as in
> 'attention: you should rotate this file to see it right') or a
> requirement(as in 'rotate this page!')? If I simply remove the
> '%%Orientation' from the PS file, gv shows the PS rotated (i.e. portrait
> mode, even though the PS has been created in landscape mode). When the
> parameter is present, gv opens the file already in landscape, but CUPS
> 're-rotates' it, and the initial probl surfaces again.
> 
> So, who's right? ;)

Well, the definition of the Orientation comment is not particularly
clear:

     This comment indicates the orientation of the pages in the
     document. It can be used by previewing applications and
     post-processors to determine how to orient the viewing window.
     A portrait orientation indicates that the longest edge of the
     paper is parallel to the vertical (y) axis. A landscape
     orientation indicates that the longest edge of the paper is
     parallel to the horizontal (x) axis. If more than one
     orientation applies to the document, an individual page
     should specify its orientation by using the %%PageOrientation:
     comment.

We interpret this as meaning that the comment indicates the
orientation of the page data WRT the selected media.  If we see a
landscape page then we either need to use a transverse media size
(11x8.5, etc.) or rotate the page.  This seems to be consistent with
the way Adobe's xdpsview application interprets the Orientation
comment.

--- end forwarded message ---

I wrote a small wrapper bash script to remove the '%%Orientation:
Landscape' comment so that I can be able to print a2ps-generated PS files
again. However, I believe there should be a consensus, since no one
benefits from this situation: CUPS users will stop using a2ps and
vice-versa.

This is kind of tricky because it seems both approaches are not
technically wrong... do you see any chance of coming to an agreement with
the way CUPS handles the %%Orientation parameter? (or persuading them on
the contrary? ;) )

Best,

Andre

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]