[Gambas-user] Print Dialog following the Printer.Configure - Method
Gianluigi
gradobag at gradobag.it
Wed Dec 20 22:45:15 CET 2023
Il 20/12/23 17:57, T Lee Davidson ha scritto:
> On 12/20/23 10:47, Claus Dietrich wrote:
>> Hi
>>
>> Sorry, I forgot to mention that the described issues relate to the QT
>> based print dialog. Changing to gb.gtk3 provided a very different
>> dialog, which made more sense, but the printing result was useless.
>>
>> We are slowly thinking of a self-made print dialog, because the one
>> induced by the Configure method of the Printer class is irritating.
>> Can someone confirm this view?
>>
>> With best regards
>>
>> Claus
>>
>
> Will you also be hacking every Qt-based (and GTK-based) application on
> your system so it uses your self-made print dialog instead of the
> respective GUI toolkit's standard dialog which most applications
> likely use? Did you try, as I suggested, printing from another
> Qt-based application to see the behavior is the same?
>
> I just printed from KWrite with margins set to 1 inch top and bottom &
> 2 inches left and right. I printed exactly as expected to both a
> printer and a file. Perhaps it is the printer you are using that is
> not respecting your Properties (margins) settings.
>
> One way to test things might be to shell out to the /usr/bin/lp* line
> printer utilities.
>
>
Hi Claus and Lee,
have you tried to use the project I put in the Farm?
With the first pdf it didn't work but with the second one it did.
It works with qt and gtk.
The name is DocumentViewPdfZoomDialog is in the Examples
Greetings
Gianluigi
More information about the User
mailing list