Getting Started Guide
Chapter
10
Printing, Exporting, and E mailing
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.
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
Selecting general printing options 5
Printing multiple pages on a single sheet of paper 6
Selecting pages/sheets/slides to print 7
Printing handouts, notes, or outlines in Impress 10
Printing envelopes, labels, business cards 11
Printing in black and white (on a color printer) 12
Previewing pages/sheets before printing 12
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
E-mailing a document to several recipients 20
This chapter provides general information about printing, exporting, and e-mailing documents from LibreOffice.
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. |
For more control over printing, use the Print dialog (File → Print or Ctrl+P).
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:
The printer (from the printers available)
Which pages to print, the number of copies to print, and whether to collate multiple copies (Range and copies section)
Whether to print any comments that are in the document, and where to print the comments.
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.
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:
In the Print dialog, select the Page Layout tab (Figure 4).
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.
In the Page sides section, select whether to print all pages or only some pages.
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.
Printing an individual page:
Choose File → Print from the menu bar.
On the Print dialog, select the page to print.
In the Ranges and copies section of the General page, select the Pages option.
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.
Click the Print button.
Printing a range of pages:
Choose File → Print from the menu bar.
On the Print dialog, select the range of pages to print.
In the Ranges and copies section of the General page, select the Pages option.
Enter the sequence numbers of the pages to print (for example, 1–4 or 1,3,7,11).
Click the Print button.
Printing a selection of text:
In the document, select the material (text and graphics) to print.
Choose File → Print from the menu bar.
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.
Click the Print button.
You can choose single sheets, multiple sheets, and selections of cells for printing.
Printing an individual sheet:
In the spreadsheet, click on the sheet tab to select the sheet you want to print.
Choose File → Print from the menu bar.
In the Ranges and copies section of the Print dialog, choose the Selected sheets option.
Click the Print button.
Printing a range of sheets:
In the spreadsheet, select the sheets to print.
Select the first sheet.
Hold down the Control key.
Click on the additional sheet tabs.
Release the Control key when all required sheets are selected.
Choose File → Print from the menu bar.
In the Ranges and copies section of the Print dialog, choose the Selected sheets option.
Click the Print button.
Printing a selection of cells:
In the document, select the section of cells to print.
Choose File → Print from the menu.
In the Ranges and copies section of the Print dialog, select the Selected cells option.
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. |
You can choose individual slides, ranges of slides, or selections of slides for printing.
Printing an individual slide:
Choose File → Print from the menu bar.
Select the slide to print.
In the Ranges and copies section of the Print dialog, select the Slides option.
Enter the number of the slide to print.
Click the Print button.
Printing a range of pages:
Choose File → Print from the menu bar.
Select the slides to print.
In the Ranges and copies section of the Print dialog, select the Slides option.
Enter the number of the slides to print (for example 1-4 or 1,3,7,11).
Click the Print button.
Printing a selection of a slide, or a selection from multiple slides:
In the document, select the section of the slide to print.
Choose File → Print from the menu bar.
Select the Selection option in the Ranges and copies section of the Print dialog.
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:
Choose File → Print from the menu bar.
In the Print section of the Print dialog, select the required option.
For Handouts, you can then choose how many slides to print per page, and the order in which they are printed.
Click the Print button.
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:
Choose File → Print.
In the Print dialog, click Properties.
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.
Select the Page layout tab in the Print dialog.
Select the Brochure option.
In the Page sides section, select Back sides / left pages option from the Include drop-down list.
Click the Print button.
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.
On the Print dialog, in the Page sides section, select Front sides / right pages option from the Include drop down box.
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:
Choose File → Print from the menu bar.
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:
Choose File → Print to open the Print dialog.
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.
The choices for color might include black and white or grayscale. Choose the required setting.
Click OK to confirm your choice and return to the Print dialog,
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:
Choose Tools → Options → LibreOffice → Print.
Select the Convert colors to grayscale option. Click OK to save the change.
Open the Print dialog (File → Print).
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:
Choose Tools → Options → LibreOffice Writer → Print.
Under Contents, select the Print text in black option. Click OK to save the change.
Open the Print dialog (File → Print).
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.
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:
View Layout (editable view): use the Facing Pages (Book Preview) button on the status bar.
Page Preview (read-only view).
To use Page Preview:
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.
Select the required preview icon: Two Pages (), Multiple Pages () or Book Preview ().
To print the document from this view, click the Print document icon() to open the Print dialog.
Choose the print options and click the Print button.
To preview the sheets in Calc before printing:
Choose File → Page Preview.
The Calc window now displays the Page Preview toolbar instead of the Formatting toolbar.
To print the document from this view, click the Print document icon to open the Print dialog.
Choose the print options and click the Print button.
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.
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.
Range section
All: Exports the entire document to PDF.
Pages: To export a range of pages, use the format 3-6 (pages 3 to 6). To export single pages, use the format 7;9;11 (pages 7, 9, and 11). You can also export a combination of page ranges and single pages, by using a format like 3-6;8;10;12.
Selection: Exports all the selected material.
Images section
Lossless compression: Images are stored without any loss of quality. Tends to make large files when used with photographs. Recommended for other kinds of images or graphics.
JPEG compression: Allows for varying degrees of quality. A setting of 90% works well with photographs (small file size, little perceptible loss of quality).
Reduce image resolution: Lower-DPI (dots per inch) images have lower quality. For viewing on a computer screen generally a resolution of 72dpi (for Windows) or 96dpi (GNU/Linux) is sufficient, while for printing it is generally preferable to use at least 300 or 600 dpi, depending on the capability of the printer. Higher dpi settings greatly increase the size of the exported file.
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
PDF/A-1a: PDF/A is an ISO standard for long-term preservation of documents, by embedding all the information necessary for faithful reproduction (such as fonts) while forbidding other elements (including forms, security, and encryption). PDF tags are written. If you select PDF/A-1a, the forbidden elements are greyed-out (not available).
Tagged PDF: Tagged PDF contains information about the structure of the document’s contents. This can help to display the document on devices with different screens, and when using screen reader software. Some tags that are exported are table of contents, hyperlinks, and controls. This option can increase file sizes significantly.
Create PDF form - Submit format: Choose the format of submitting forms from within the PDF file. This setting overrides the control’s URL property that you set in the document. There is only one common setting valid for the whole PDF document: PDF (sends the whole document), FDF (sends the control contents), HTML, and XML. Most often you will choose the PDF format.
Export bookmarks: Exports headings in Writer documents, and page names in Impress and Draw documents, as “bookmarks” (a table of contents list displayed by most PDF viewers.
Export comments: Exports comments in Writer and Calc documents as PDF notes. You may not want this! In Impress, exports a set of Comments pages following the set of slides.
Export automatically inserted blank pages: If selected, automatically inserted blank pages are exported to the PDF. This is best if you are printing the PDF double-sided. For example, books usually have chapters set to always start on an odd-numbered (right-hand) page. When the previous chapter ends on an odd page, LibreOffice inserts a blank page between the two odd pages. This option controls whether to export that blank page.
Embed standard fonts: In previous versions of LibreOffice, the standard fonts (Times, Helvetica, Courier, Symbol, and ZapfDingbats) were only embedded into the PDF when the resulting file was of the PDF/A type, since the PDF/A standards requires this. In version 3.3, you can choose to embed these fonts in all PDF documents created by LibreOffice to enhance display accuracy in PDF viewers.
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.
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
Resize window to initial page. Causes the PDF viewer window to resize to fit the first page of the PDF.
Center window on screen. Causes the PDF viewer window to be centered on the computer screen.
Open in full screen mode. Causes the PDF viewer to open full-screen instead of in a smaller window.
Display document title. Causes the PDF viewer to display the document’s title in the title bar.
User interface options section
Hide menubar. Causes the PDF viewer to hide the menu bar.
Hide toolbar. Causes the PDF viewer to hide the toolbar.
Hide window controls. Causes the PDF viewer to hide other window controls.
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.
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.
With an open password set, the PDF can only be opened with the password. Once opened, there are no restrictions on what the user can do with the document (for example, print, copy, or change it).
With a permissions password set, the PDF can be opened by anyone, but its permissions can be restricted. See Figure 19. After you set a password for permissions, the other choices on the Security page become available.
With both the open password and permission password set, the PDF can only be opened with the correct password, and its permissions can be restricted.
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.
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.
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:
Choose File → Send → Document as E-mail. LibreOffice opens your default e-mail program. The document is attached.
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:
Use the Mail Merge Wizard to create the document and send it. See Chapter 11, Using Mail Merge, of the Writer Guide for details.
Create the document in Writer without using the Wizard, then use the Wizard to send it. This method is described here.
To use the Mail Merge Wizard to send a previously-created Writer document:
Click Tools → Mail Merge Wizard. On the first page of the wizard, select Use the current document and click Next.
On the second page, select E-mail message and click Next.
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.)
Back on the Select address list page, click Next. On the Create salutation page, deselect This document should contain a salutation.
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.
Select Send merged document as E-Mail. The lower part of the page changes to show e-mail settings choices.
Type a subject for your email and click Send documents. LibreOffice sends the e-mails.
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:
Choose File → Digital Signatures.
If you have not saved the document since the last change, a message box appears. Click Yes to save the file.
After saving, you see the Digital Signatures dialog. Click Add to add a public key to the document.
In the Select Certificate dialog, select your certificate and click OK.
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.
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.