Fwd: Printing bugs / second opinion ....please forward to dev.mailinglist [j.c@123mail.dk]

From: Eric Zen (ericzen@ez-net.com)
Date: Mon Apr 28 2003 - 17:04:53 EDT

  • Next message: Gilles Saint-Denis: "French update"

    On 2003.04.28 10:30 Jan Christiansen wrote:
    I just wondered, has it been verified, that the printerdriver setup, actually is completely accepted? I'm thinking of sending non-default values of everything to the driver and then re-read the setup to see if it has changed! If it should be the case, that there are some minor trouble here, then we might have the fix for many printing bugs. If the test has been done, please don't kill me, it was so obvious, that everybody might have taken that for granted.

    Rotation:

    1) the HP 5550/815C envelope feed is on the right side and the landscape output is on the left side.
    2) landscape is printed, but rotated in the wrong direction

    JC: It looks like landscape print is upside-down, the topmargin becomes the bottom margin, giving strange positions.

    Setup:

    1) it comes out in portrait despite it's in landscape.
    2) one copy per print job, even if printer properties are changed.
    3) not working with many print properties on brother HL-1440
    4) Xerox 220, double sided, tray source, are always ignored
    5) Epson 777, slider for print quality seems instead to change print size

    JC: It looks like the properties are not set properly. Different printers indicates basic problem, but I might be wrong.

    Please read the following comment from Bugzilla:

    ------- Additional Comment #8 From Ken Hayber 2003-04-20 23:21 -------
    Hi, new here. I write Windows print drivers for a living and have been meaning to help out here, but haven't found the time.

    This SOUNDS like a case where Abi is creating a DevMode structure of the default size (that defined by Windows) and not asking the driver how much storage it needs (dmExtra). Drivers tend to store a lot of private info after the public info defined by MS in the devmode. This is completely legal and the app needs to get the full size and allocate that.

    Now, this would normally only affect non-standard settings, so duplex, page size, input tray, etc might work. But if the app passes in a too-small devmode the driver may reject it and only use the default settings. If things work when you change the defaults in Control Panel, but not from within the app then I'm probably on the right track here.

    I looked at the Abi code a few months ago and was pretty sure this was the case, but never followed up on it. Really guessing here, but hopefully intelligently :) HTH!

    j.c@123mail.dk



    This archive was generated by hypermail 2.1.4 : Mon Apr 28 2003 - 17:13:05 EDT