Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Brochure printing issue
Brochure printing issue
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Fri Jul 09, 2010 10:02 am    Post subject: Brochure printing issue

I attach a document which I hope will illustrate a problem I encounter from time to time when printing brochures with NeoOffice. With this document I normally go through the following steps. Choose File::Printer Settings. Click 'Cancel' in the native Page Setup dialog, and select Brochure in the Printer Settings dialog and click OK. Click the Page Preview button and then the Print Options button to bring up the Print Options dialog. This shows the pages printing correctly side by side on a landscape sheet. If I click OK, however, and then choose File::Print… the pages print out side by side at the top of a portrait page.

To get the correct setting I need to bring up the Print Options dialog again, select Portrait in the format section, and click OK - and then bring up the Print Options dialog again, select Landscape and click OK. After I have done this then it prints correctly.

Are you able to reproduce this problem. Am I doing something wrong? From my point of view the bug is that the Print Options dialog shows me that Landscape Format will be used when in fact Portrait Format is going to be used. (NeoOffice 3.1.1 Patch 1)

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Jul 09, 2010 10:37 am    Post subject:

I cannot reproduce this problem. In fact, when I switch to the Page Preview window, brochure printing works fine even if I skip displaying of the Print Options dialog.

What I did notice was that your document has very narrow margins. Is it possible that your printer has wider minimum margins? If so, that would force the OpenOffice.org code to try to adjust the document to fit the printer's more restricted margins and that, in turn, might be why you need to open the Print Options dialog twice.

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Fri Jul 09, 2010 11:27 am    Post subject:

Hmm. Tricky. What you can't reproduce you can't be expected to cure.

I have changed the margins and attach the result. For me it still has the same problem. If I simply choose Print and choose to print Preview I get the result shown in the picture file. I am attempting to print two A5 pages side by side on A4 landscape.

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Jul 09, 2010 1:32 pm    Post subject:

Interestingly, with your second sample document I can reproduce the problem.

I think I found a way to avoid the problem and it actually involves less steps than before:

1. Just to be safe, quit NeoOffice and restart to clear all print settings.

2. Open your document and do *not* select the File :: Print Settings menu. This is the key point: in NeoOffice 3.1.1 you should skip this step.

3. Like before, press the Print Preview toolbar button and then press the Print Options toolbar button. Also like before, press the OK button in the dialog that appears.

After doing the above (essentially skipping the File :: Print Settings menu step, I cannot reproduce the problem. Does the same happen for you?

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Sat Jul 10, 2010 7:48 am    Post subject:

I'm glad you have been able to reproduce the problem. It's not just me then...

I've followed your steps through but still get the same thing pages printed side by side at the top of a portrait oriented sheet (even though the Print Options dialog shows them correctly side by side on landscape).

Also, even if your suggestion had worked, it would leave me with no way of telling/checking whether the Printer Settings are to print in brochure mode or not.

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Jul 10, 2010 10:13 am    Post subject:

The bad news is that it appears that the OpenOffice.org 3.1.1 is very broken as I found no way to avoid this problem in OpenOffice.org 3.1.1 or 3.2.1. I am not sure what changed starting in OpenOffice.org 3.1.1, but it appears that when a document is printed with in Preview mode, it will not notice that the Brochure checkbox in the Printer Settings has been checked.

I am not sure if I can fix this OpenOffice.org bug but I may have found a workaround. Can you follow the normal steps that you have been using (for other people the steps are in this NeoWiki article) with only one change: when you display the Print Options dialog, change the orientation to Portrait and click the OK button. Then, display the Print Options dialog a second time and change the orientation back to Landspace and click the OK button.

For me, toggling the orientation in the Print Options dialog seems to get the OpenOffice.org 3.1.1 code to recognize that it needs to do Brochure printing. Does my workaround work for you?

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Sat Jul 10, 2010 12:07 pm    Post subject:

Patrick, I think the problem may have existed before 3.1.1 One of my difficulties is that because the whole process is complex anyway, I have found it hard to get to a reliably reproducible recipe for the bug.

My practice for some time now has been to assume that if at the Print Options stage I see side by side pages on a landscape sheet, then I need to switch the format to Portrait and click OK, and then call up the Print Options again and switch the format to Landscape again and click OK. In other words I am not trusting the Print Options dialog display to be correct when it shows side by side pages on a Landscape sheet.

Thanks for giving time to this which has bugged me in a minor way for a while. At least I now know it is not something I am doing wrong.

If I was able to run OOo on my machine I'd try and reproduce the error and submit a bug, but I'm not confident to produce a report from my NeoOffice experience.

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Jul 10, 2010 12:12 pm    Post subject:

James3359 wrote:
My practice for some time now has been to assume that if at the Print Options stage I see side by side pages on a landscape sheet, then I need to switch the format to Portrait and click OK, and then call up the Print Options again and switch the format to Landscape again and click OK. In other words I am not trusting the Print Options dialog display to be correct when it shows side by side pages on a Landscape sheet.


Has that workaround worked reliably for me? If so, I can update the NeoWiki article to include these steps.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Jul 10, 2010 2:15 pm    Post subject:

pluby wrote:
Has that workaround worked reliably for me? If so, I can update the NeoWiki article to include these steps.


For some reason I cannot type today. What I meant to ask was if that workaround works reliably for you. Embarassed

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Sat Jul 10, 2010 10:53 pm    Post subject:

Yes. It has been a reliable workround.
_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jul 11, 2010 2:02 pm    Post subject:

I think I have found the place in the OpenOffice.org code where the Print Options dialog triggers the print code to recognize that the Brochure print option is set. While you still have to open the Print Options dialog, you should now be able to press the OK button without changing anything.

Can you install the following test patch and tell us if the opening the Print Options dialog once, not changing any values in that dialog, and pressing the OK button reliably results in the the File :: Print menu or Print toolbar button to properly rotate the content when brochure printing is enabled?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.1-Patch-1-Test-12-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.1-Patch-1-Test-12-PowerPC.dmg

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jul 11, 2010 2:29 pm    Post subject:

Ignore my last post. Shortly after I posted that test patch I realized that I could tweak the OpenOffice.org code to so that you do not need to open the Print Options dialog at all.

Can you install the following test patch and tell us if brochure printing works when you skip opening the Print Options dialog and select the File :: Print menu or Print toolbar button when in Preview mode?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.1-Patch-1-Test-13-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.1-Patch-1-Test-13-PowerPC.dmg

Patrick
Back to top
James3359
The Merovingian


Joined: Jul 05, 2005
Posts: 685
Location: North West England

PostPosted: Mon Jul 12, 2010 4:31 am    Post subject:

Patrick this seems to work for me now. I need to choose File::Printer Settings… to bring up the Printer Options dialog and select the brochure option. Then if I print from normal view I get two pages side by side at top of portrait sheet. If I print from Page Preview I get two pages side by side on landscape sheet. As you say, I do not need to bring up the Print Options dialog. This looks like a great fix - I can't at the moment think of any unintended consequences. Thank you very much for this.

Incidentally, if I choose Landscape A4 in the native Page Setup dialog that appears first when choosing Printer Settings… and click OK, and then select Brochure in the Printer Options dialog that changes the page format to A4 Landscape and screws up my layout, but if I then correct my page format using Format::Page… (A5, Portrait) and then print from the normal view it also prints correctly (side by side pages on landscape sheet).

[Am I the only person who finds it confusing that a Printer Settings… menu item brings up a Printer Options dialog, while another "Print options page view" button from the Page Preview toolbar brings up a dialog called Print Options? Is the name of the Printer Options dialog part of the underlying OOo code, or could it be changed to match the name of the menu item which calls it up?]

_________________
MacBook Pro
13-inch, Mid 2012
Processor 2.5 GHz Intel Core i5
Memory 4 GB 1600 MHz DDR3
Graphics Intel HD Graphics 4000 512 MB
OS X 10.9.3 (13D65)
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Jul 12, 2010 10:32 am    Post subject:

James3359 wrote:
[Am I the only person who finds it confusing that a Printer Settings… menu item brings up a Printer Options dialog, while another "Print options page view" button from the Page Preview toolbar brings up a dialog called Print Options? Is the name of the Printer Options dialog part of the underlying OOo code, or could it be changed to match the name of the menu item which calls it up?]


In theory, I could probably find a way to grab the menu name and use it for the dialog's title. However, even if it is feasible to implement, I definitely recommend against it because then the help content for several dozen languages would now have the wrong dialog name. Also, searching the web about the "Printer Settings" dialog would yield answers that refer to a different "set which printer to use" dialog that you can only see in OpenOffice.org.

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases 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.