[Gambas-user] Printer Setup Dialog - setting Printer.File or not (Gambas 2)

Rolf-Werner Eilert eilert-sprachen at ...221...
Tue Oct 5 16:28:02 CEST 2010


Now this is a problem I didn't see before... :-)

When you call the standard printer setup dialog with Printer.File = "" 
and then click on Search, you get the application's path as starting 
directory for the search. Rather roundabout, isn't it?

On the other hand, if you want to say "no printing into file", you will 
have to leave the dialog with Printer.File = "", there is no other way 
of indicating "I do not want to print into a file", is it?

What I would like to have is a way to give a Printer.File when I call 
the dialog to enable the user to easier find a place to store the file, 
but not to "force" the user to actually print into a file, i. e. the 
option "direct print" should nevertheless be checked and the given path 
only be used IF the user decides to click on "print into a file".

I hope you get what I mean... is there a way to do this, or does the 
automatic of this dialog just override this (as it seems to do for me)?

Regards
Rolf




More information about the User mailing list