Hi all,

I'm using Debian stable and trying to print in A4, duplex mode on a network printer. I've made some progress, but I think I'm missing one piece still. In CUPS (v1.1.23), I've selected "duplex" and my media size is A4.

        I have this in a2ps.cfg:

##  Enable duplex printing
Options: -s2

        And this in a2ps-site.cfg:

##  Change libpaper to a4
Options: --medium=a4

If I print a PS file, it comes out on A4, but not in duplex mode. So, half there...

        Now, I try to print with:

lp -d <printer name> -o sides=two-sided-long-edge file.ps

        or even with just

lp file.ps

It comes out double-sided, but on letter-size paper (There is letter-sized paper in the printer, but it is better not to use it since it isn't the standard paper size here, which makes it expensive to acquire.) Interestingly, when the PS file (original source is from LaTeX) is made with either "dvips -tletter" or "dvips -ta4", nothing comes out of the printer. When I just use just "dvips" with no options, it comes out as described above.

As for the Debian FAQ, I can confirm that libpaper1 is installed, /etc/papersize says "a4" and just for good measure, I set the PAPERSIZE environment variable to "a4".

lpoptions returns a single line: "job-sheets=none,none _kde-filters=true".

If anyone has any suggestions on where should I look or what I may have done wrong, please let me know. I've noticed no obvious pattern so far and am quite confused about it...

Ray


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to