Welcome to NeoOffice Forums
NeoOffice
 
Official online support site for NeoOffice

Trinity
· Home
· Private Messages
· Your Account


RSS Feeds
· NeoOffice Releases
· Forum Posts
· Beta Releases
· Headlines


Twitter Feeds
· @NeoOffice


Download NeoOffice
· Get NeoOffice
· Get the Latest Patch
· Language Packs
· User Guide
· User Guide Volume 2


Other Websites
· NeoOffice.org
· NeoWiki


Languages
Select Interface Language:



  
trinity.neooffice.org :: View topic - Duplex printing set to off
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

Duplex printing set to off
Users who have purchased direct support within the last year can post

 
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support
View previous topic :: View next topic  
Author Message
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Mon May 07, 2012 10:51 am    Post subject: Duplex printing set to off Reply with quote

I'm having a problem (not sure when it started) where I go to print a document in NeoOffice, and in the Print dialogue, duplex printing is set to off and greyed out.

I have to export to PDF and then I can print normally in duplex from there instead.
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11265
Location: California, USA

PostPosted: Mon May 07, 2012 7:27 pm    Post subject: Reply with quote

The NeoOffice code does not enable to disable any of the printer specific settings. Instead, it appears to me that Apple's native print dialog code reads automatically enables or disables settings in the in the print dialog based on which printer is selected plus an unknown list of preferences cached in a separate file for each application.

Since you say that the duplex option is enabled in the Preview application, I suspec that the preferences cache file for NeoOffice is corrupted. To test my theory, quit NeoOffice, move the following file from the Finder to the Trash, and relaunch NeoOffice (note that "~" means your Home folder):

Code:
~/Library/Preferences/org.neooffice.NeoOffice.plist


Is the duplex option still disabled after doing the above?

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11265
Location: California, USA

PostPosted: Tue May 08, 2012 8:42 am    Post subject: Reply with quote

There is one more thing to try if the problem is not fixed by deleting the ~/Library/Preferences/org.neooffice.NeoOffice.plist file: can you install the following test patch and see if that fixed the problem? The test patch uses no Java in any of the printing process so if only the test patch fixes the problem, then that tells me that Apple's or NeoOffie's Java code is somehow indirectly causing this problem:

Intel:
http://sally.neooffice.org/test/NeoOffice-3.2.1-Patch-5-Test-1-Intel.dmg

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Wed May 09, 2012 2:39 am    Post subject: Reply with quote

Well, that's interesting. I discovered (after installing the patch) that the actual user-configurable duplex option is not on the Preview pane of the print dialogue (which just shows it set to Off, and greyed out); for my printer (an OKI B411d), it's on the Setup pane instead. It's set to long-edge duplex by default.

However, before installing the patch, NeoOffice doesn't print duplex even though it was set to on - after installing it, it does. So I guess there is some java interference going on there? Anyway, thanks for giving me back my duplex - saving a bit of a tree...
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11265
Location: California, USA

PostPosted: Wed May 09, 2012 8:37 am    Post subject: Reply with quote

yoxi wrote:
However, before installing the patch, NeoOffice doesn't print duplex even though it was set to on - after installing it, it does. So I guess there is some java interference going on there? Anyway, thanks for giving me back my duplex - saving a bit of a tree...


It is good to hear that our new "de-Javafied" printing code works properly. While implementing the new code, I was reminded of the many hacky fixes in our Java printing code that we implemented to fix a bunch of Java printing bugs.

Java was useful in the early days for us and I don't regret that we used it for so many years, but I am definitely happy to remove Java and work directly with native code.

Patrick

_________________
NeoOffice engineer
Back to top
View user's profile Send private message Visit poster's website
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Wed May 09, 2012 2:00 pm    Post subject: Reply with quote

It's good to be clean - Just Say No Very Happy.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    trinity.neooffice.org Forum Index -> NeoOffice Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.05 Seconds