OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Saving PDF without background

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
martho
OOo Enthusiast
OOo Enthusiast


Joined: 17 Apr 2004
Posts: 140
Location: Germany

PostPosted: Mon Feb 20, 2012 5:57 am    Post subject: Saving PDF without background Reply with quote

Hello,

I have a document-template which I always need to print without background and then export as PDF with background.
This ends up in:
- Opening the print-dialog
- Enabling the background
- Printing
- Opening the print-dialog again
- Disabled the background
- Leave the print-dialog with "cancel"
- Open the PDF-Export and exporting the PDF

Isn't there a more convenient way to enable the background in PDF-export?
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Mon Feb 20, 2012 11:43 pm    Post subject: Reply with quote

Maybe you should first save the file, then export to PDF with the background still enabled, then disable the background and print, then close the file without saving.

If your problem has been solved, please edit the first post in this thread and add [Solved] to the title bar.
_________________
LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum
Back to top
View user's profile Send private message
martho
OOo Enthusiast
OOo Enthusiast


Joined: 17 Apr 2004
Posts: 140
Location: Germany

PostPosted: Tue Feb 21, 2012 1:12 am    Post subject: Reply with quote

Thats true, that would save me a step. But it's often enough that I need only to print the document or ONLY to export the document as a PDF, so it's a 50:50 chance to do it right or wrong.

I think the main problem is the missing possibility to switch of the background in the pdf-export. It's not very intrusively to open the print-dialog, change the background-setting, close it with "cancel" (to avoid printing) and then use the pdf-dialog to export the document.
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Tue Feb 21, 2012 3:03 am    Post subject: Reply with quote

I'm confused - you want to export to PDF with background or without?
_________________
LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum
Back to top
View user's profile Send private message
martho
OOo Enthusiast
OOo Enthusiast


Joined: 17 Apr 2004
Posts: 140
Location: Germany

PostPosted: Tue Feb 21, 2012 3:07 am    Post subject: Reply with quote

Sorry:
PDF: With background
Printing: Without background

But if there would be a possibility to switch the background off in PDF-export-dialog, I guess it would also be possible to switch it on Wink
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Tue Feb 21, 2012 4:18 am    Post subject: Reply with quote

It seems that the option to suppress printing of the page background is only available in the Print dialog box, not in the direct Export to PDF dialog box. Anyway, while having to tick or un-tick that option seems annoying, making a macro that solves it for you may cost more time than just this discussion, let alone ticking and un-ticking that option a great number of times. Wink Is it worth it? I just found that recording a macro doesn't do the trick - it doesn't record the essential actions.
_________________
LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum
Back to top
View user's profile Send private message
martho
OOo Enthusiast
OOo Enthusiast


Joined: 17 Apr 2004
Posts: 140
Location: Germany

PostPosted: Tue Feb 21, 2012 4:24 am    Post subject: Reply with quote

Thanks again for your reply. A macro is a good idea, but I think to set a property for printing you have to actually do the printing (the properties are only set for THIS printing-action and not saved for later or for the GUI). But I'll check.
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Tue Feb 21, 2012 4:26 am    Post subject: Reply with quote

If you aren't an experienced OOo macro programmer I'd just forget about that option, it will take you a lot of time to find the necessary bits - much more than you will ever save.
_________________
LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum
Back to top
View user's profile Send private message
martho
OOo Enthusiast
OOo Enthusiast


Joined: 17 Apr 2004
Posts: 140
Location: Germany

PostPosted: Tue Feb 21, 2012 4:30 am    Post subject: Reply with quote

You don't know how much I'm printing and exporting Laughing

No, just kidding. I did some macros in OO-Basic, but you cannot do everything with it. I'll have a look so thanks anyway.
Back to top
View user's profile Send private message
mgroenescheij
Super User
Super User


Joined: 20 Apr 2011
Posts: 870
Location: Australia

PostPosted: Wed Feb 22, 2012 12:32 am    Post subject: Reply with quote

Hi,

Why don't you use different Page Styles for Printing and PDF Export?

Martin
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
martho
OOo Enthusiast
OOo Enthusiast


Joined: 17 Apr 2004
Posts: 140
Location: Germany

PostPosted: Wed Feb 22, 2012 12:40 am    Post subject: Reply with quote

Sounds like a great idea! But how does it work? Where can you say: Use this pagestyle for printing and that for PDF-export?
Back to top
View user's profile Send private message
mgroenescheij
Super User
Super User


Joined: 20 Apr 2011
Posts: 870
Location: Australia

PostPosted: Wed Feb 22, 2012 1:17 am    Post subject: Reply with quote

Hi,

Create a Page Style with Background e.g A4 Background and one without a Background e.g. A4 No Background.

Now record two different Macro's One when you update the Pages Style with Background and Export PDF, the other one when you update the Page Style without Backlground and print.
All you have to do is run one of these the Macros.

Martin
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group