| View previous topic :: View next topic |
| Author |
Message |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Mon Feb 20, 2012 5:57 am Post subject: Saving PDF without background |
|
|
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 |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4600 Location: Netherlands
|
Posted: Mon Feb 20, 2012 11:43 pm Post subject: |
|
|
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 |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Tue Feb 21, 2012 1:12 am Post subject: |
|
|
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 |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4600 Location: Netherlands
|
Posted: Tue Feb 21, 2012 3:03 am Post subject: |
|
|
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 |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Tue Feb 21, 2012 3:07 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4600 Location: Netherlands
|
Posted: Tue Feb 21, 2012 4:18 am Post subject: |
|
|
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. 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 |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Tue Feb 21, 2012 4:24 am Post subject: |
|
|
| 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 |
|
 |
floris_v Moderator


Joined: 12 Jul 2007 Posts: 4600 Location: Netherlands
|
Posted: Tue Feb 21, 2012 4:26 am Post subject: |
|
|
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 |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Tue Feb 21, 2012 4:30 am Post subject: |
|
|
You don't know how much I'm printing and exporting
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 |
|
 |
mgroenescheij Super User

Joined: 20 Apr 2011 Posts: 862 Location: Australia
|
Posted: Wed Feb 22, 2012 12:32 am Post subject: |
|
|
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 |
|
 |
martho OOo Enthusiast

Joined: 17 Apr 2004 Posts: 140 Location: Germany
|
Posted: Wed Feb 22, 2012 12:40 am Post subject: |
|
|
| 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 |
|
 |
mgroenescheij Super User

Joined: 20 Apr 2011 Posts: 862 Location: Australia
|
Posted: Wed Feb 22, 2012 1:17 am Post subject: |
|
|
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 |
|
 |
|