Getting Started Guide

Chapter 10
Printing, Exporting, and E mailing





Copyright

This document is Copyright © 2010 by its contributors as listed below. You may distribute it and/or modify it under the terms of either the GNU General Public License (http://www.gnu.org/licenses/gpl.html), version 3 or later, or the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0/), version 3.0 or later.

All trademarks within this guide belong to their legitimate owners.

Contributors

Ron Faile Jr.

Feedback

Please direct any comments or suggestions about this document to: documentation@libreoffice.org

Acknowledgments

This chapter is based on Chapter 10 of Getting Started with OpenOffice.org. The contributors to that chapter are:

Jean Hollis Weber
Agnes Belzunce
Michael Kotsarinis
Peter Kupfer
Robert Scott
Janet M. Swisher
Joe Sellman

Publication date and software version

Published 30 December 2010. Based on LibreOffice 3.3.

Note for Mac users

Some keystrokes and menu items are different on a Mac from those used in Windows and Linux. The table below gives some common substitutions for the instructions in this chapter. For a more detailed list, see the application Help.

Windows/Linux

Mac equivalent

Effect

Tools Options menu selection

LibreOffice Preferences

Access setup options

Right-click

Control+click

Opens context menu

Ctrl (Control)

z (Command)

Used with other keys

F5

Shift+z+F5

Opens the Navigator

F11

z+T

Opens the Styles & Formatting window



Contents

Copyright 2

Note for Mac users 2

Introduction 4

Quick printing 4

Controlling printing 4

Selecting general printing options 5

Printing multiple pages on a single sheet of paper 6

Selecting pages/sheets/slides to print 7

Writer 7

Calc 8

Impress and Draw 9

Printing handouts, notes, or outlines in Impress 10

Printing a brochure 10

Printing envelopes, labels, business cards 11

Printing in black and white (on a color printer) 12

Previewing pages/sheets before printing 12

Writer 12

Calc 13

Exporting to PDF 13

Quick export to PDF 13

Controlling PDF content and quality 14

General page of PDF Options dialog 14

Initial View page of PDF Options dialog 16

User Interface page of PDF Options dialog 16

Links page of PDF Options dialog 17

Security page of PDF Options dialog 18

Exporting to other formats 20

E-mailing documents 20

E-mailing a document to several recipients 20

Digital signing of documents 23

Removing personal data 24



Introduction

This chapter provides general information about printing, exporting, and e-mailing documents from LibreOffice.

Quick printing

Click the Print File Directly icon to send the entire document to the default printer defined for your computer.

Note

You can change the action of the Print File Directly icon to send the document to the printer defined for the document instead of the default printer for the computer. Go to Tools Options Load/Save General and select the Load printer settings with the document option.

Controlling printing

For more control over printing, use the Print dialog (File Print or Ctrl+P).

Frame15

The Print dialog has four tabs, from which you can choose a range of options, as described in the following sections.

Note

The options selected on the Print dialog apply to this printing of this document only.

To specify default printing settings for LibreOffice, go to Tools Options LibreOffice – Print and Tools Options LibreOffice Writer – Print. See Chapter 2, Setting Up LibreOffice, for more details.

The different components of LibreOffice have different available print settings, as summarized in Table 1.

Table 1: Print options in LibreOffice components

Feature

Writer

Calc

Impress

Draw

Select pages/sheets/slides to print

Yes

Yes

Yes

Yes

Print multiple pages/sheets/slides on one page

Yes

Yes

Yes

Yes

Print a brochure

Yes

No

Yes

Yes

Print envelopes

Yes

No

No

No

Print labels or business cards

Yes

No

No

No

Preview pages/sheets before printing

Yes

Yes

No

No

Selecting general printing options

On the General tab of the Print dialog, you can choose:

Frame4

Select the Properties button to display a dialog where you can choose portrait or landscape orientation, which paper tray to use, and the paper size to print on.

On the Options tab of the Print dialog (Figure 3), the last item, Use only paper tray from printer preference, is not available in Calc.

Frame5

Printing multiple pages on a single sheet of paper

You can print multiple pages of a document on one sheet of paper. To do this:

  1. In the Print dialog, select the Page Layout tab (Figure 4).

Frame1

  1. In the Layout section, select from the drop-down list the number of pages to print per sheet. The preview panel on the left of the Print dialog shows how the printed document will look.

When printing more than 2 pages per sheet, you can choose the order in which they are printing across and down the paper. The two pictures below show the difference.

  1. In the Page sides section, select whether to print all pages or only some pages.

  2. Click the Print button.

Tip

In Writer, to print two pages per sheet in “facing pages” (book layout) style, print from Print Preview instead. See page 12.

Selecting pages/sheets/slides to print

In addition to printing a full document, you can choose to print individual pages/sheets/slides, ranges of pages/sheets/slides, or a selection of a document. The details vary slightly in Writer, Calc, Draw and Impress, as described in this section.

Writer

Printing an individual page:

  1. Choose File Print from the menu bar.

  2. On the Print dialog, select the page to print.

    1. In the Ranges and copies section of the General page, select the Pages option.

    2. Enter the sequence number of the page you want to print. The preview box changes to show the selected page.

If you have restarted page numbering within the document, the sequence number is not the same as the page number.

  1. Click the Print button.

Printing a range of pages:

  1. Choose File Print from the menu bar.

  2. On the Print dialog, select the range of pages to print.

    1. In the Ranges and copies section of the General page, select the Pages option.

    2. Enter the sequence numbers of the pages to print (for example, 1–4 or 1,3,7,11).

  3. Click the Print button.

Printing a selection of text:

  1. In the document, select the material (text and graphics) to print.

  2. Choose File Print from the menu bar.

  3. The Ranges and copies section of the Print dialog now includes a Selection option and the preview box shows the selected material. See Figure 5.

  4. Click the Print button.

Frame3

Calc

You can choose single sheets, multiple sheets, and selections of cells for printing.

Frame8

Printing an individual sheet:

  1. In the spreadsheet, click on the sheet tab to select the sheet you want to print.

  2. Choose File Print from the menu bar.

  3. In the Ranges and copies section of the Print dialog, choose the Selected sheets option.

  4. Click the Print button.

Printing a range of sheets:

  1. In the spreadsheet, select the sheets to print.

    1. Select the first sheet.

    2. Hold down the Control key.

    3. Click on the additional sheet tabs.

    4. Release the Control key when all required sheets are selected.

  2. Choose File Print from the menu bar.

  3. In the Ranges and copies section of the Print dialog, choose the Selected sheets option.

  4. Click the Print button.

Printing a selection of cells:

  1. In the document, select the section of cells to print.

  2. Choose File Print from the menu.

  3. In the Ranges and copies section of the Print dialog, select the Selected cells option.

  4. Click the Print button.

Caution

After printing, be sure to deselect the extra sheets. If you keep them selected, the next time you enter data on one sheet, you enter data on all the selected sheets. This might not be what you want.

Impress and Draw

You can choose individual slides, ranges of slides, or selections of slides for printing.

Printing an individual slide:

  1. Choose File Print from the menu bar.

  2. Select the slide to print.

    1. In the Ranges and copies section of the Print dialog, select the Slides option.

    2. Enter the number of the slide to print.

  3. Click the Print button.

Printing a range of pages:

  1. Choose File Print from the menu bar.

  2. Select the slides to print.

    1. In the Ranges and copies section of the Print dialog, select the Slides option.

    2. Enter the number of the slides to print (for example 1-4 or 1,3,7,11).

  3. Click the Print button.

Printing a selection of a slide, or a selection from multiple slides:

  1. In the document, select the section of the slide to print.

  2. Choose File Print from the menu bar.

  3. Select the Selection option in the Ranges and copies section of the Print dialog.

  4. Click the Print button.

Printing handouts, notes, or outlines in Impress

Handouts prints the slides in reduced size on the page, from one to nine slides per page. The slides can be printed horizontally (landscape orientation) or vertically (portrait orientation) on the page.

Notes prints a single slide per page with any notes entered for that slide in Notes View.

Outline prints the title and headings of each slide in outline format.

To print handouts, notes, or outlines:

  1. Choose File Print from the menu bar.

  2. In the Print section of the Print dialog, select the required option.

  3. For Handouts, you can then choose how many slides to print per page, and the order in which they are printed.

  4. Click the Print button.

Printing a brochure

In Writer, Impress, and Draw, you can print a document with two pages on each side of a sheet of paper, arranged so that when the printed pages are folded in half, the pages are in the correct order to form a booklet or brochure.

Tip

Plan your document so it will look good when printed half size; choose appropriate margins, font sizes, and so on. You may need to experiment.

To print a brochure on a single-sided printer:

  1. Choose File Print.

  2. In the Print dialog, click Properties.

  3. Check the printer is set to the same orientation (portrait or landscape) as specified in the page setup for your document. Usually the orientation does not matter, but it does for brochures. Click OK to return to the Print dialog.

  4. Select the Page layout tab in the Print dialog.

  5. Select the Brochure option.

  6. In the Page sides section, select Back sides / left pages option from the Include drop-down list.

  1. Click the Print button.

  2. Take the printed pages out of the printer, turn the pages over, and put them back into the printer in the correct orientation to print on the blank side. You may need to experiment a bit to find out what the correct arrangement is for your printer.

  3. On the Print dialog, in the Page sides section, select Front sides / right pages option from the Include drop down box.

  4. Click the Print button.

Tip

If your printer can print double-sided automatically, choose All pages.

Printing envelopes, labels, business cards

Printing envelopes, labels, or business cards using Writer involves two steps: setup and printing.

For details of how to set these up, see Chapter 11, Using Mail Merge, in the Writer Guide. To print:

  1. Choose File Print from the menu bar.

  2. On the Print dialog, under Ranges and copies, choose Pages and type 1 in the box. Click the Print button.

Printing in black and white (on a color printer)

You may wish to print documents in black and white on a color printer. Several choices are available. Please note that some color printers may print in color regardless of the settings you choose.

Change the printer settings to print in black and white or grayscale:

  1. Choose File Print to open the Print dialog.

  2. Click Properties to open the Properties dialog for the printer. The available choices vary from one printer to another, but you should find options for the Color settings. See your printer’s help or user manual for more information.

  3. The choices for color might include black and white or grayscale. Choose the required setting.

  4. Click OK to confirm your choice and return to the Print dialog,

  5. Click the Print button to print the document.

Tip

Grayscale is best if you have any graphics in the document.

Change the LibreOffice settings to print all color text and graphics as grayscale:

  1. Choose Tools Options LibreOffice Print.

  2. Select the Convert colors to grayscale option. Click OK to save the change.

  3. Open the Print dialog (File Print).

  4. Click the Print button to print the document.

Change the LibreOffice Writer (or Calc, Impress, Draw) settings to print all color text as black, and all graphics as grayscale:

  1. Choose Tools Options LibreOffice Writer Print.

  2. Under Contents, select the Print text in black option. Click OK to save the change.

  3. Open the Print dialog (File Print).

  4. Click the Print button to print the document.

Previewing pages/sheets before printing

You can use the previewing options in Writer and Calc to view the document as it will be printed. Different viewing options are available.

Writer

The normal page view in Writer shows you what each page will look like when printed and you can edit the pages in that view. If you are designing a document to be printed double-sided, you may want to see what facing pages look like. Writer provides two ways to do this:

To use Page Preview:

  1. Choose File Page Preview (or click the Page Preview button on the Standard toolbar).

Writer now displays the Page Preview toolbar instead of the Formatting toolbar.

Frame2

  1. Select the required preview icon: Two Pages (), Multiple Pages () or Book Preview ().

  2. To print the document from this view, click the Print document icon() to open the Print dialog.

  3. Choose the print options and click the Print button.

Calc

To preview the sheets in Calc before printing:

  1. Choose File Page Preview.

The Calc window now displays the Page Preview toolbar instead of the Formatting toolbar.

Frame7

  1. To print the document from this view, click the Print document icon to open the Print dialog.

  2. Choose the print options and click the Print button.

Exporting to PDF

LibreOffice can export documents to PDF (Portable Document Format). This industry-standard file format is ideal for sending the file to someone else to view using Adobe Reader or other PDF viewers.

The process and dialogs are the same for Writer, Calc, Impress, and Draw, with a few minor differences mentioned in this section.

Quick export to PDF

Click the Export Directly as PDF icon to export the entire document using your default PDF settings. You are asked to enter the file name and location for the PDF file, but you do not get a chance to choose a page range, the image compression, or other options.

Controlling PDF content and quality

For more control over the content and quality of the resulting PDF, use File Export as PDF. The PDF Options dialog opens. This dialog has five pages (General, Initial View, User Interface, Links, and Security). Select the appropriate settings, and then click Export. Then you are asked to enter the location and file name of the PDF to be created, and click Save to export the file.

General page of PDF Options dialog

On the General page, you can choose which pages to include in the PDF, the type of compression to use for images (which affects the quality of images in the PDF), and other options.

Frame16

Range section

Images section

Note

EPS (Encapsulated PostScript) images with embedded previews are exported only as previews. EPS images without embedded previews are exported as empty placeholders.

General section

Initial View page of PDF Options dialog

On the Initial View page, you can choose how the PDF opens by default in a PDF viewer. The selections should be self-explanatory.

Frame17

User Interface page of PDF Options dialog

On the User Interface page (Figure 17), you can choose more settings to control how a PDF viewer displays the file. Some of these choices are particularly useful when you are creating a PDF to be used as a presentation or a kiosk-type display.

Window options section

User interface options section

Frame20

Transitions

In Impress, displays slide transition effects as their respective PDF effects.

Bookmarks

Select how many heading levels are displayed as bookmarks, if Export bookmarks is selected on the General page.

Links page of PDF Options dialog

On the Links page, you can choose how links are exported to PDF.

Export bookmarks as named destinations

If you have defined Writer bookmarks, Impress or Draw slide names, or Calc sheet names, this option exports them as “named destinations” to which Web pages and PDF documents can link.

Convert document references to PDF targets

If you have defined links to other documents with OpenDocument extensions (such as .ODT, .ODS, and .ODP), this option converts the files names to .PDF in the exported PDF document.

Frame6

Export URLs relative to file system

If you have defined relative links in a document, this option exports those links to the PDF.

Cross-document links

Defines the behavior of links clicked in PDF files.

Security page of PDF Options dialog

PDF export includes options to encrypt the PDF (so it cannot be opened without a password) and apply some digital rights management (DRM) features.

Note

Permissions settings are effective only if the user’s PDF viewer respects the settings.

Figure 14 shows the pop-up dialog displayed when you click the Set open password button on the Security page of the PDF Options dialog.

Frame18

Frame19

Exporting to other formats

LibreOffice uses the term “export” for some file operations involving a change of file type. If you cannot find what you want under File Save As, look under File Export as well.

LibreOffice can export files to XHTML. In addition, LibreOffice Draw and LibreOffice Impress can export to Adobe Flash (.swf) and a range of image formats.

To export to one of these formats, choose File Export. On the Export dialog, specify a file name for the exported document, then select the required format in the File format list and click the Export button.

E-mailing documents

LibreOffice provides several ways to quickly and easily send documents as an e-mail attachment in one of three formats: OpenDocument (LibreOffice’s default format), Microsoft Office formats, or PDF.

Note

Documents can only be sent from the LibreOffice menu if a mail profile has been set up.

To send the current document in OpenDocument format:

  1. Choose File Send Document as E-mail. LibreOffice opens your default e-mail program. The document is attached.

  2. In your e-mail program, enter the recipient, subject, and any text you want to add, then send the e-mail.

File Send E-mail as OpenDocument Text (or Spreadsheet or Presentation) has the same effect.

If you choose E-mail as Microsoft [Word, Excel, or Powerpoint], LibreOffice first creates a file in one of those formats and then opens your e-mail program with the file attached.

Similarly, if you choose E-mail as PDF, LibreOffice first creates a PDF using your default PDF settings (as when using the Export Directly as PDF toolbar button) and then opens your email program with the .PDF file attached.

E-mailing a document to several recipients

To e-mail a document to several recipients, you can use the features in your e-mail program or you can use LibreOffice’s mail merge facilities to extract email addresses from an address book.

You can use LibreOffice’s mail merge to send e-mail in two ways:

To use the Mail Merge Wizard to send a previously-created Writer document:

  1. Click Tools Mail Merge Wizard. On the first page of the wizard, select Use the current document and click Next.

Frame24

  1. On the second page, select E-mail message and click Next.

Frame25

  1. On the third page, click the Select Address List button. Select the required address list (even if only one is shown) and then click OK. (If the address list you need is not shown here, you can click Add to find it and add it to the list.)

Frame26

  1. Back on the Select address list page, click Next. On the Create salutation page, deselect This document should contain a salutation.

Frame27

  1. In the left-hand list, click 8. Save, print or send. LibreOffice displays a “Creating documents” message and then displays the Save, print or send page of the Wizard.

  2. Select Send merged document as E-Mail. The lower part of the page changes to show e-mail settings choices.

Frame28

  1. Type a subject for your email and click Send documents. LibreOffice sends the e-mails.

Digital signing of documents

To sign a document digitally, you need a personal key, also known as a certificate. A personal key is stored on your computer as a combination of a private key, which must be kept secret, and a public key, which you add to your documents when you sign them. You can get a certificate from a certification authority, which may be a private company or a governmental institution.

When you apply a digital signature to a document, a kind of checksum is computed from the document’s content plus your personal key. The checksum and your public key are stored together with the document.

When someone later opens the document on any computer with a recent version of LibreOffice, the program will compute the checksum again and compare it with the stored checksum. If both are the same, the program will signal that you see the original, unchanged document. In addition, the program can show you the public key information from the certificate. You can compare the public key with the public key that is published on the web site of the certificate authority. Whenever someone changes something in the document, this change breaks the digital signature.

On Windows operating systems, the Windows features of validating a signature are used. On Solaris and Linux systems, files that are supplied by Thunderbird, Mozilla or Firefox are used. For a more detailed description of how to get and manage a certificate, and signature validation, see “About Digital Signatures” in the LibreOffice Help.

To sign a document:

  1. Choose File Digital Signatures.

  2. If you have not saved the document since the last change, a message box appears. Click Yes to save the file.

  3. After saving, you see the Digital Signatures dialog. Click Add to add a public key to the document.

  4. In the Select Certificate dialog, select your certificate and click OK.

  5. You see again the Digital Signatures dialog, where you can add more certificates if you want. Click OK to add the public key to the saved file.

A signed document shows an icon in the status bar. You can double-click the icon to view the certificate.

Removing personal data

You may wish to ensure that personal data, versions, notes, hidden information, or recorded changes are removed from files before you send them to other people or create PDFs from them.

In Tools Options LibreOffice Security Options, you can set LibreOffice to remind (warn) you when files contain certain information and remove personal information automatically on saving.

To remove personal and some other data from a file, go to File Properties. On the General tab, uncheck Apply user data and then click the Reset button. This removes any names in the created and modified fields, deletes the modification and printing dates, and resets the editing time to zero, the creation date to the current date and time, and the version number to 1.

To remove version information, either go to File Versions, select the versions from the list and click Delete, or use Save As and save the file with a different name.