Difference between revisions of "Documentation/OOoAuthors User Manual/Writer Guide/Printing envelopes2"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{WriterMailMergeTOC|PrevNext=block
+
{{WriterMailMergeTOC|ShowPrevNext=block
|Prev=Documentation/OOoAuthors User Manual/Writer Guide/Printing mailing labels
+
|PrevPage=Documentation/OOoAuthors User Manual/Writer Guide/Printing mailing labels
|Next=Documentation/OOoAuthors_User_Manual/Writer Guide/Using the Mail Merge Wizard to create a form letter}}__notoc__
+
|NextPage=Documentation/OOoAuthors_User_Manual/Writer Guide/Using the Mail Merge Wizard to create a form letter}}__notoc__
  
 
= Printing envelopes =
 
= Printing envelopes =
Instead of printing mailing labels, you may wish to printing directly onto envelopes. Printing envelopes involves two steps: setup and printing.
+
Instead of printing mailing labels, you may wish to print directly onto envelopes. There are two basic ways to create envelopes, one where the envelope is embedded within a letter, generally as the first page ('''Insert''' in the '''Envelope''' dialog), and another where the envelope is an independent document ('''New Doc.''' in the dialog). In each case the addressing data may be manually entered, for example by copying and pasting from the letter with which it is associated, or it may originate within an address data source.
 +
 
 +
This section assumes the use of an address data source and, for convenience, a free-standing envelope.
 +
 
 +
The production of envelopes involves two steps, set-up and printing, as described in this section.
  
 
== Setting up envelopes for printing ==
 
== Setting up envelopes for printing ==
Line 10: Line 14:
 
<ol>
 
<ol>
 
<li>Click '''Insert > Envelope''' from the menu bar.</li>
 
<li>Click '''Insert > Envelope''' from the menu bar.</li>
<li>In the Envelope dialog box, start with the '''Envelope''' tab (shown below). Verify, add, or edit the information in the Addressee and Sender boxes (Sender is the “from” on the envelope). You can use the right-hand dropdown lists to select the database or table from which you can draw the envelope information. Use the same method as described in [[#Creating a form letter|Creating a form letter]].</li>
+
<li>In the Envelope dialog box, select the '''Format''' tab (shown below), where you can select the envelope format to use. You can then arrange the layout of the envelope to suit your requirements, together with the character and paragraph attributes to be used in the Sender and Addressee areas. These attributes are accessed using the '''Edit''' buttons to the right of the dialog, next to the word ''Format''.</li>
  
[[Image:WG11-18.png|Choosing addressee and senderinformation]]<br>Choosing addressee and sender information for envelopes.
+
{{Tip|At this stage it is not possible to vary the dimensions of the frames that will hold the Sender and Addressee information, but once the envelope has been created this will become possible and you may wish to make some cosmetic adjustments.}}
  
<li>On the '''Format''' tab, verify or edit the positioning of the addressee and the sender information. The preview area on the lower right shows the effect of your positioning choices. To format the text of these blocks, click the '''Edit''' buttons to the right.</li>
+
[[Image:WG11-19.png|Envelope formatting dialog]]<br>''Envelope formatting dialog.''
  
* In ''Character'', you can choose fonts, sizes, underlines or color, rotating/scaling, backgrounds and more.
+
<li>The next step is to select the '''Printer''' tab, from where you may choose the printer you intend to use, its setup—for example, specification of the tray holding envelopes—and other printer-related options such as envelope orientation and shifting. You may need to experiment with these settings to achieve the best results with your printer.</li>
* In ''Paragraph'', you can choose indenting, alignment, flow, tabs and more.
+
  
[[Image:WG11-19.png|Choosing positioning and size of elements]]<br>Choosing positioning and size of elements for an envelope.
+
[[Image:WG11-20.png|Choosing printer options]]<br>''Choosing printer options for an envelope.''
  
<li>In the lower left of this tab, choose the envelope format from the dropdown list. The width and height of the selected envelope then show in the boxes below the selected format. If you chose a pre-existing format, just verify these sizes. If you chose ''User defined'' in the Format list, edit the sizes.</li>
+
<li>You now have the choice of creating the Addressee fields by dragging and dropping from the data source headings (as described in [[Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating a form letter|Creating a form letter]], or using the facilities of the '''Envelope''' tab.</li>
<li>After formatting, select the '''Printer''' tab to choose printer options such as envelope orientation and shifting. You may need to experiment a bit to see what works best for your printer. You can also choose a different printer or alter the printer setup (for example, specify the tray that holds envelopes) for this print job.</li>
+
  
[[Image:WG11-20.png|Choosing printer options]]<br>Choosing printer options for an envelope.
+
If you prefer dragging and dropping, than click '''New Doc.''', drag your data source headings into the Addressee area on your new envelope and skip to step 7), otherwise continue with steps 5 and 6.
  
<li>When you have finished formatting, click either the '''New Doc''' or '''Insert''' button to finish. '''New Doc''' makes only the envelopes or starts a new document with the envelopes. '''Insert''' inserts the envelopes into your existing document as page 1.<br/> To not proceed with this envelope, click '''Cancel''' or press the ''Esc'' key. You can also click '''Reset''' to remove your changes and return to the original settings when the dialog box opened.</li>
+
<li>Select the '''Envelope''' tab. Verify, add, or edit the information in the Addressee and Sender boxes (Sender is the “from” on the envelope). You can use the right-hand dropdown lists to select the database and table from which you can access the Addressee information, in a similar fashion to that described for [[Documentation/OOoAuthors_User_Manual/Writer_Guide/Printing mailing labels|Printing mailing labels]], paragraphs 3, 4 and 5. The similarity of the method with the figures in that section will be clear.</li>
<li>To remove blank lines from the addresses, use the technique described in steps 1 through 5 in [[#Removing blank lines in addresses|Removing blank lines in addresses]].</li>
+
 
 +
[[Image:WG11-18.png|Choosing addressee and sender information for envelopes]]<br>''Choosing addressee and sender information for envelopes.''
 +
 
 +
<li>When you have finished formatting, click either the '''New Doc.''' or '''Insert''' button to finish. As might be expected, '''New Doc''' creates only the envelope template in a new document, whereas '''Insert''' inserts the envelope into your current document as page 1.</li>
 +
 
 +
If you don’t want to proceed with this envelope, click '''Cancel''' or press the ''Esc'' key. You can also click '''Reset''' to remove your changes and return to the original settings when the dialog box opened.
 +
 
 +
<li>Quite often some of the fields in your address data source will be unused, leading to blank lines in your envelope Addressee area. If this is not important, you can skip the next few paragraphs and go straight to [[#Merging and printing the envelopes|Merging and printing the envelopes]], otherwise continue as described here.</li>
 +
 
 +
{{Tip|The following procedure is very similar to that used for a similar purpose in the section on printing mailing labels. It is reproduced here for purposes of clarity.}}
 +
 
 +
<ol style="list-style-type:lower-alpha">
 +
<li>First ensure that the envelope is showing the field contents (data source headings), rather than their underlying field names. If this is not the case, then either press ''Ctrl+F9 ''or select '''View > Field Names''' to toggle the view.</li>
 +
<li>Next, ensure that you can see non‑printing characters, such as paragraph marks, line breaks and so on. If these are not already visible, select '''View > Nonprinting Characters''' from the menu bar, or press ''Ctrl+F10'', or click on the large paragraph icon [[Image:ParagraphIcon.png]] in the Standard toolbar.</li>
 +
 
 +
You will now see that address field separation is created by line breaks [[Image:LineBreakSym.png]], rather than paragraphs [[Image:ParagraphSym.png]]. As the suppression of blank address fields depends on hiding paragraphs, not lines, you need to replace line breaks with paragraphs as follows.
 +
 
 +
<li>Click at the end of the first data source address field. Press ''Delete'' to remove the new line and then press ''Return'' (or the ''Enter'' key) to insert a paragraph. Repeat this action for each data source address field.</li>
 +
 
 +
If the line spacing in the Addressee area is not satisfactory, you may wish to correct this before proceeding, by modifying the paragraph style associated with the address. Unless you have changed it, the address uses the Default style.
 +
 
 +
{{Warn|The objective of c) above is to replace all line breaks at the end of data source address fields with paragraphs.}}
 +
 
 +
<li>Click again at the end of the first paragraph to be suppressed and then select '''Insert > Fields > Other'''. Select the '''Functions''' tab and then click on Hidden Paragraph in the '''Type''' column. Now click in the '''Condition''' box and enter the details of the condition that defines a blank address field. It has the general form of: <nowiki>![Database.Table.Database field]</nowiki> where the ‘!’ (NOT) character indicates the negative case and the square brackets delineate the condition.</li>
 +
 
 +
For example, in our Points database the condition to test if the Last Name field is empty would be: <nowiki>![Points.Sheet1.Last Name]</nowiki>.
 +
 
 +
To test for multiple conditions, use the operators ''AND'' and/or ''OR'' between the conditional statements, for example: <nowiki>![Points.Sheet1.Title]AND![Points.Sheet1.Last Name]</nowiki>.
 +
 
 +
Click '''Insert,''' but do not close the dialog until all lines have been amended.
 +
 
 +
<li>Repeat for each paragraph to be conditionally suppressed, remembering to advance the cursor to the end of the line in question before changing the last element of the condition and '''Insert'''ing the result.</li>
 +
</ol>
 
</ol>
 
</ol>
  
Line 33: Line 67:
 
To merge addresses and print the envelopes:
 
To merge addresses and print the envelopes:
 
<ol>
 
<ol>
<li>Choose '''File > Print'''. The following dialog appears. Click '''Yes'''. Do not select the checkbox.</li>
+
<li>Choose '''File > Print'''. The following dialog appears. Click '''Yes'''.</li>
  
[[Image:WG11-msg.png|Confirmation dialog]]<br>Confirmation dialog for merging database fields.
+
[[Image:WG11-msg.png|Confirmation dialog]]<br>''Confirmation dialog for merging database fields.''
  
 
<li>The Mail Merge dialog appears. As with form letters and mailing labels, you can choose to print envelopes for one, several or all address records in the database.</li>
 
<li>The Mail Merge dialog appears. As with form letters and mailing labels, you can choose to print envelopes for one, several or all address records in the database.</li>
Line 41: Line 75:
 
[[Image:WG11-22.png|Choosing records]]<br>Choosing records to use when printing envelopes.
 
[[Image:WG11-22.png|Choosing records]]<br>Choosing records to use when printing envelopes.
  
<li>Make your selections and then click '''OK''' to print direct to the printer. If you wish to check the envelopes before printing them, see [[#Saving as a file rather than printing|Saving as a file rather than printing]] for instructions.</li>
+
<li>Make your selections and then click '''OK''' to print direct to the printer. If you wish to check the envelopes before printing them, see Step 9) of [[Documentation/OOoAuthors_User_Manual/Writer_Guide/Creating a form letter|Creating a form letter]] for instructions.</li>
 
</ol>
 
</ol>
  
 
{{Manual}}
 
{{Manual}}

Latest revision as of 19:27, 14 July 2018



Printing envelopes

Instead of printing mailing labels, you may wish to print directly onto envelopes. There are two basic ways to create envelopes, one where the envelope is embedded within a letter, generally as the first page (Insert in the Envelope dialog), and another where the envelope is an independent document (New Doc. in the dialog). In each case the addressing data may be manually entered, for example by copying and pasting from the letter with which it is associated, or it may originate within an address data source.

This section assumes the use of an address data source and, for convenience, a free-standing envelope.

The production of envelopes involves two steps, set-up and printing, as described in this section.

Setting up envelopes for printing

To set up envelopes to be printed with your letters:

  1. Click Insert > Envelope from the menu bar.
  2. In the Envelope dialog box, select the Format tab (shown below), where you can select the envelope format to use. You can then arrange the layout of the envelope to suit your requirements, together with the character and paragraph attributes to be used in the Sender and Addressee areas. These attributes are accessed using the Edit buttons to the right of the dialog, next to the word Format.
  3. Tip.png At this stage it is not possible to vary the dimensions of the frames that will hold the Sender and Addressee information, but once the envelope has been created this will become possible and you may wish to make some cosmetic adjustments.


    Envelope formatting dialog
    Envelope formatting dialog.

  4. The next step is to select the Printer tab, from where you may choose the printer you intend to use, its setup—for example, specification of the tray holding envelopes—and other printer-related options such as envelope orientation and shifting. You may need to experiment with these settings to achieve the best results with your printer.
  5. Choosing printer options
    Choosing printer options for an envelope.

  6. You now have the choice of creating the Addressee fields by dragging and dropping from the data source headings (as described in Creating a form letter, or using the facilities of the Envelope tab.
  7. If you prefer dragging and dropping, than click New Doc., drag your data source headings into the Addressee area on your new envelope and skip to step 7), otherwise continue with steps 5 and 6.

  8. Select the Envelope tab. Verify, add, or edit the information in the Addressee and Sender boxes (Sender is the “from” on the envelope). You can use the right-hand dropdown lists to select the database and table from which you can access the Addressee information, in a similar fashion to that described for Printing mailing labels, paragraphs 3, 4 and 5. The similarity of the method with the figures in that section will be clear.
  9. Choosing addressee and sender information for envelopes
    Choosing addressee and sender information for envelopes.

  10. When you have finished formatting, click either the New Doc. or Insert button to finish. As might be expected, New Doc creates only the envelope template in a new document, whereas Insert inserts the envelope into your current document as page 1.
  11. If you don’t want to proceed with this envelope, click Cancel or press the Esc key. You can also click Reset to remove your changes and return to the original settings when the dialog box opened.

  12. Quite often some of the fields in your address data source will be unused, leading to blank lines in your envelope Addressee area. If this is not important, you can skip the next few paragraphs and go straight to Merging and printing the envelopes, otherwise continue as described here.
  13. Tip.png The following procedure is very similar to that used for a similar purpose in the section on printing mailing labels. It is reproduced here for purposes of clarity.


    1. First ensure that the envelope is showing the field contents (data source headings), rather than their underlying field names. If this is not the case, then either press Ctrl+F9 or select View > Field Names to toggle the view.
    2. Next, ensure that you can see non‑printing characters, such as paragraph marks, line breaks and so on. If these are not already visible, select View > Nonprinting Characters from the menu bar, or press Ctrl+F10, or click on the large paragraph icon ParagraphIcon.png in the Standard toolbar.
    3. You will now see that address field separation is created by line breaks LineBreakSym.png, rather than paragraphs ParagraphSym.png. As the suppression of blank address fields depends on hiding paragraphs, not lines, you need to replace line breaks with paragraphs as follows.

    4. Click at the end of the first data source address field. Press Delete to remove the new line and then press Return (or the Enter key) to insert a paragraph. Repeat this action for each data source address field.
    5. If the line spacing in the Addressee area is not satisfactory, you may wish to correct this before proceeding, by modifying the paragraph style associated with the address. Unless you have changed it, the address uses the Default style.

      Documentation caution.png The objective of c) above is to replace all line breaks at the end of data source address fields with paragraphs.
    6. Click again at the end of the first paragraph to be suppressed and then select Insert > Fields > Other. Select the Functions tab and then click on Hidden Paragraph in the Type column. Now click in the Condition box and enter the details of the condition that defines a blank address field. It has the general form of: ![Database.Table.Database field] where the ‘!’ (NOT) character indicates the negative case and the square brackets delineate the condition.
    7. For example, in our Points database the condition to test if the Last Name field is empty would be: ![Points.Sheet1.Last Name].

      To test for multiple conditions, use the operators AND and/or OR between the conditional statements, for example: ![Points.Sheet1.Title]AND![Points.Sheet1.Last Name].

      Click Insert, but do not close the dialog until all lines have been amended.

    8. Repeat for each paragraph to be conditionally suppressed, remembering to advance the cursor to the end of the line in question before changing the last element of the condition and Inserting the result.

Merging and printing the envelopes

To merge addresses and print the envelopes:

  1. Choose File > Print. The following dialog appears. Click Yes.
  2. Confirmation dialog
    Confirmation dialog for merging database fields.

  3. The Mail Merge dialog appears. As with form letters and mailing labels, you can choose to print envelopes for one, several or all address records in the database.
  4. Choosing records
    Choosing records to use when printing envelopes.

  5. Make your selections and then click OK to print direct to the printer. If you wish to check the envelopes before printing them, see Step 9) of Creating a form letter for instructions.
Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools