export a document as a pdf file in a smaller format (A5) and changing other settings

Asked by tellylesson 7T

Hello,

I need to convert an OpenOffice.org Writer document into a pdf-file in a smaller format (A5, width: 148 mm, height: 210 mm). I also need to embed the typeface (fontstyle) and to change the paper feed setting and the graphics scale. This is apparently possible with Adobe Reader. I know that in OpenOffice.org Writer exporting a document as pdf-file is easy, but I don't see any possibility to change the format and the above mentioned settings. I use Open Office 2.4.1 on Ubuntu 8.10 (Intrepid Ibex), by the way.

Could anyone help me with this? Thanks a lot.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Solved by:
tellylesson 7T
Solved:
Last query:
Last reply:
Revision history for this message
Tony Pursell (ajpursell) said :
#1

The help for PDF export says "All fonts that were used in the source document will be embedded into the generated PDF file.".

By changing the format to A5, do you mean you want to scale down an A4 document to A5? If so, you can always do that when you print from Adobe reader. If you want to export it as an A5 PDF document, then the Writer document will have to be A5 (as set by Format > Page).

Does this help?

Tony

Revision history for this message
tellylesson 7T (sven-sonntagskind) said :
#2

Thanks a lot, Tony. I really appreciate your help. I need more assistance, though.

What I want to do is to scale down an A4 document to A5, but only when exporting it as a pdf file. Otherwise it would change the whole layout of my document. I need to send this document to a publishing house and they want to have it as A5-pdf-file which is scaled down from an A4 text document. They say that's possible with "Adobe pdf" and exactly describe how to do it.

Can I install Adobe reader on Ubuntu 8.10? I could not find it in the repository list of software available on Ubuntu 8.10. So yesterday I had a look at Adobe's website and there it said that the free trial version of Adobe reader would only work on Windows. I don't have windows. Is there another way to install it on my Ubuntu-computer?

Thank you.

tellylesson 7T

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

To install Adobe Reader acroread you can add the medibuntu repository to your repositories list then install acroread please read below:

------------------------------

Play mp3 and dvd under Ubuntu install skype googleearth acroread and other stuffs using Medibuntu

First please install https://help.ubuntu.com/community/RestrictedFormats

You need to have extra repositories enabled..

Please first enable the universe and multiverse repository:

Open System → Administration → Software sources → [ Tab Ubuntu software ]

enable "Community-maintained Open Source software ( universe )"
enable "Proprietary drivers for devices ( restricted )"
enable "Software restrictecd by copyright or legal issue ( multiverse )"

Close and confirm the repository reload.

Type the following command in a terminal (applications → accessories → terminal)

sudo aptitude install vlc smplayer mplayer

To get better dvd playback and optional packages here the medibuntu available software list http://packages.medibuntu.org/
you need to add the medibuntu http://www.medibuntu.org/ repository to your /etc/apt/sources.list file:
( here the medibuntu howto https://help.ubuntu.com/community/Medibuntu but see below )

In short type or better copy and paste the rows, below one row a time then press enter:

ubu_codename=$(sudo lsb_release -c | cut -d: -f 2 | sed 's/^[ \t]*//;s/[ \t]*$//')
sudo wget http://www.medibuntu.org/sources.list.d/$ubu_codename.list -O /etc/apt/sources.list.d/medibuntu.list
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update

Now to install, type:

sudo apt-get update
sudo apt-get install ubuntu-restricted-extras libxine1-ffmpeg
sudo aptitude install libdvdread3 libdvdnav4 libdvdcss2 regionset gnome-mplayer
sudo aptitude install non-free-codecs w32codecs
sudo aptitude install gstreamer0.10-pitfdll gstreamer0.10-plugins-good
sudo aptitude install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

give your user password when requested, you don't see nothing when you type it, then press enter.

You can also install other Medibuntu repository provided optional software http://packages.medibuntu.org/ :

sudo apt-get install skype
sudo apt-get install googleearth
sudo apt-get install acroread

Hope this helps

Revision history for this message
Tony Pursell (ajpursell) said :
#4

For the record, the Ubuntu document viewer will print an A4 OOo document (exported to PDF) in A5. All you do is go File > Print Setup > Paper Size > A5 and Apply then File > Pint.

File > Properties > Fonts will show the embedded fonts.

But that is now what you want. You want the document scaled down to A5 before export to PDF. So any manipulation in Acroread or Ubuntu document viewer for printing won't do.

Perhaps you can tell us what instructions the publishing house gave you. Perhaps they are using the Adobe publisher (which is a Windows program which you have to pay for, and not the free Adobe reader). If they know how to do it, maybe they can do it for you!

Tony

Revision history for this message
tellylesson 7T (sven-sonntagskind) said :
#5

Thank you very much.

The the publishing house recommended to install and use the Adobe PDF printer driver to convert the document into a pdf file. But I'll ask them. Maybe they can do it for me.

Regards

tellylesson 7T

Revision history for this message
Tony Pursell (ajpursell) said :
#6

Here is a possible solution ...

Install the package cups-pdf. This gives you a "PDF printer". I.e. the printer output goes to a pdf file. Do this install with Synaptic Package Manager or the commands:

sudo apt-get update
sudo apt-get install cups-pdf

give your user password when requested, you don't see anything when you type it, then press enter.

Create a folder in your home directory called PDF. This is where the PDF printer saves the pdf file.

Export your OOo document to PDF. Open this PDF in Ubuntu document viewer. Use it to 'print' to the PDF printer with the paper size set to A5 (as described above). The properties of the resulting PDF (in your new PDF folder) should say it is A5. (However, I cannot tell if it is or not because Ubuntu document viewer always prints to the size you ask it to, whatever the original size).

Tony

Revision history for this message
Tony Pursell (ajpursell) said :
#7

Sorry, I didn't see your reply before sending mine. Of course, the Adobe PDF printer driver is for Windows. It may print to A5, but I don't have it in my Windows so I can't test that. The cups-pdf printer driver for Linux has an option to change to A5 but it doesn't seem to work. That is why I did it via Ubuntu document viewer's Paper Size.

One other point. If you do send a file to the publisher, they probably won't be able to read an odt file. So save as a Word 97 doc or send them a PDF.

By the way, if this solves your problem, please mark the question as Solved.

Tony

Revision history for this message
tellylesson 7T (sven-sonntagskind) said :
#8

Great! Thanks, Tony. Converting the document with the "cups-pdf" printer solved the problem.

The only thing is, that it says under "properties" - "Document" of the new, converted pdf-file "A5, Portrait (149 x 210 mm)". But A5 should be 148 x 210 mm. Do you think just the description is incorrect or that the format is 1 mm too large?

Yes, you are right: I have to send them the document as pdf-file (or on paper).

tellylesson 7T

Revision history for this message
Tony Pursell (ajpursell) said :
#9

I really don't know the answer to your question as there is no actual physical size to measure. We just have what the properties tell us. The DIN 476 standard allows a +/- 1mm tolerance.

Tony