OS X: "wrong" print dialog

Questions, answers, tips and ideas on Servoy Client

OS X: "wrong" print dialog

Postby xtsr » Tue Oct 13, 2009 7:46 am

Out of the blue I get a different print dialog, when calling
Code: Select all
forms.prt_letter.controller.print(false,true,false);


This is the new dialog:
unwanted_dialog.png
Unwanted print dialog
unwanted_dialog.png (67.46 KiB) Viewed 4434 times

This is what I had before and what I want, the standard OS X print dialog:
wanted_dialog.png
Wanted print dialog
wanted_dialog.png (37.82 KiB) Viewed 4434 times


I don't know what happened. Does anyone know how this can be influenced? I need the "Preview" button and want to be able to easily print PDFs...

Working on Servoy 4.1.3 - build 672, OS X ( 10.5.8 ), MySQL 5.0 Backend

Thanks!
xtsr
 
Posts: 101
Joined: Wed Jan 21, 2004 11:47 am

Re: OS X: "wrong" print dialog

Postby Andrei Costescu » Tue Oct 13, 2009 10:37 am

Does changing "Use system prin dialog" do the trick? (in smart client Edit -> Preferences -> General, or "useSystemPrintDialog" in servoy.properties)
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: OS X: "wrong" print dialog

Postby xtsr » Tue Oct 13, 2009 11:52 am

Thanks Andrei,
yes, that did the trick! I remembered something like that, but couldn't find it because I hide the Menu with the Kiosk plugin on startup :(
xtsr
 
Posts: 101
Joined: Wed Jan 21, 2004 11:47 am

Re: OS X: "wrong" print dialog

Postby mboegem » Tue Oct 13, 2009 11:13 pm

I found the same 'use system print dialog' at the server admin pages. Which should push this setting to the client.
Unfortunately - even with an empty cache - this wasn't the case.
Is this a bug or just bad luck?

I should mention here: we startup the solution with a deeplink and additional arguments.
As far as I have tested, this way of starting up a solution blocks also the creation of a desktop icon when it's asked to be pushed.

Last question: is this setting something we could have as a scriptable item? ie.
Code: Select all
application.useSystemPrintDialog = true;

I think we could live with this as well ;-)
Code: Select all
application.useSystemPrintDialog(true);
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: OS X: "wrong" print dialog

Postby pmo » Wed Jan 27, 2010 5:22 am

Hello Servoy,
I have the same problem.
We really need a way to programmatically set this client property, so we can be sure that the end users are printing correctly.
Has this been submitted as a feature request?
Thanks
pmo
 
Posts: 16
Joined: Mon Jan 05, 2009 8:47 pm

Re: OS X: "wrong" print dialog

Postby Andrei Costescu » Wed Jan 27, 2010 1:01 pm

mboegem wrote:I found the same 'use system print dialog' at the server admin pages. Which should push this setting to the client.
Unfortunately - even with an empty cache - this wasn't the case.

Did you try deleting the .servoy in you user's home dir as well?
pmo wrote:Has this been submitted as a feature request?


I don't see a submitted feature request for this. Please create one:
http://www.servoy.com/s
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: OS X: "wrong" print dialog

Postby mboegem » Wed Jan 27, 2010 2:05 pm

Andrei Costescu wrote:I don't see a submitted feature request for this. Please create one:


did so > Case ID: 269842

Thnkx a lot!
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 12 guests

cron