10 Print Attachments
10.1 Overview ¶
The Print Attachments task prints the attachments of incoming emails directly on a configured printer. Typical use cases include sending invoices to the accounting mailbox with automatic printout or printing delivery notes for the shipping department.
The task is organized into several tabs: General, Printer Settings, Regular Attachments (filter), Embedded Images (optional), and ZIP Archives.
Profile settings, Print Attachments task: printer selection, attachment filter and scaling options
10.2 "General" tab ¶
10.2.1 Printer ¶
Selection of the printer from the list of printers configured under Program Options -> Printers (see chapter 40.14). If the desired printer has not yet been created, the New Printer… button helps create one directly.
Tip: Set up printers under Program Options as logical units (e.g. "Accounting-B/W", "Shipping-Color"). Multiple profiles can use the same printer definition.
10.2.2 Use default settings of the printer ¶
If enabled, the program takes orientation, color printing, margins, paper size and paper tray from the printer's settings. Copies, Collate, Two-sided printing (except Default), scaling, page range, rotation and centering from the Print settings tab still apply.
10.2.3 PDF printer (storage location) ¶
If the selected printer is a PDF printer (that is, not a physical printer but a print-to-PDF conversion), additional fields appear for the storage location of the generated PDF files:
| Field |
Description |
| PDF folder |
Destination directory for the generated PDFs, with placeholder support |
| PDF file name |
Schema for the file name, with placeholder support |
| If a file with this name already exists |
Add numbering, Overwrite, Skip, Add date processed, Add processing date and time |
10.2.4 Treat images embedded in the message text like attachments ¶
If enabled, inline images (images embedded in the message body) are also printed. Otherwise, only files marked as "real" attachments are considered. When enabled, the Embedded Images tab also appears with its own filter criteria.
10.3 "Printer Settings" tab ¶
If Use default settings of the printer is switched on on the "General" tab, the printer's orientation, color printing and margins apply; all other settings on this tab still take effect.
10.3.1 Copies ¶
Number of copies (1-999) and the Collate option for the copy order.
10.3.2 Two-sided printing and orientation ¶
| Two-sided printing |
Description |
| Default |
Uses the printer's default setting |
| Single-sided |
Single-sided printing |
| Two-sided, flip on short edge |
Double-sided, binding on the short edge (like a notepad) |
| Two-sided, flip on long edge |
Double-sided, binding on the long edge (like a book) |
Orientation either Portrait or Landscape.
10.3.3 Color printing ¶
Enables color printing. If disabled, the printer prints (if supported) in black and white.
10.3.4 Margins ¶
Four fields for the top/bottom/left/right margins. Values are entered in millimeters; in regions that do not use the metric system (determined by the region format set in Windows), in inches. The default is 12.7 mm (0.5 inches) - matching the familiar print layout of Outlook.
10.3.5 Layout ¶
| Option |
Description |
| Auto-rotate pages |
The configured orientation applies. If a page fits the sheet considerably better when rotated (at least 20 % larger), the program prints it in the other orientation, for example a landscape page in landscape. With Actual size, the sheet follows the page. Without the option, the configured orientation is kept. |
| Auto-center content |
Aligns the content in the center of the print page |
10.3.6 Scaling ¶
| Mode |
Description |
| Fit to page |
Scales to the full printable area |
| Actual size |
Keeps the original size (no scaling) |
| Custom scale (%) |
Freely selectable percentage (10-400 %) |
10.3.7 Page range ¶
The Page range… button opens a dialog for selecting the pages to print - for example "Page 1 only" or "Pages 1-5, 8".
10.3.8 Other options ¶
| Option |
Description |
| Print only first of same-named attachments |
If multiple attachments have an identical name, only the first one is printed |
| Print images in actual size |
Does not scale images to the page size |
| Shrink oversized images to page size |
Only shrinks images that are larger than the page |
Note: The program itself converts Word, Excel and RTF attachments to PDF for printing. No separate option is needed for this, and no Office installation either.
10.3.9 Font for plain-text attachments ¶
Font name, size, and the options Bold, Italic, and Underlined for TXT attachments.
10.4 "Regular Attachments" tab ¶
Filter criteria for the attachments to be printed - analogous to the "Attachment Filter" tab of the Save attachments task (see chapter 9.3). Fields include file name, file extension, file size, image width, image height, and e-invoice type, plus the option Respect leading and trailing spaces in filter values (see section 9.3.5).
Attachments without content (0 bytes) are skipped when printing and marked as "Skipped" in the log; the remaining tasks of the profile continue as usual.
10.5 "Embedded Images" tab ¶
Visible when the Treat images embedded in the message text like attachments option is enabled on the "General" tab. Filter criteria configurable separately, as for regular attachments, including the option Respect leading and trailing spaces in filter values.
10.6 "ZIP Archives" tab ¶
Also prints files from ZIP archives, if enabled.
Important: The filter of the "Regular Attachments" tab also applies to the ZIP archive itself and is applied before unpacking. If the file extension is restricted there, for example to pdf, a ZIP archive is sorted out and not printed. In that case add zip to the filter, for example pdf<OR>zip. The same applies to the filter on the file name. The files inside the archive, in contrast, are only subject to the file filter for ZIP contents. From version 4.14.0 a note appears when this filter sorts out ZIP archives although their content is meant to be printed.
| Field |
Description |
| Print files from ZIP archives |
Enables printing of the files from ZIP archives |
| Password (if required) |
Password for encrypted ZIP archives |
| File name of the files to print, fields Contains and Does not contain |
Filter on the names of the files inside the ZIP archive (area Filter (optional)) |
| Respect leading and trailing spaces in filter values |
Applies to the two filter fields (see section 9.3.5) |
10.7 Use case ¶
Print incoming invoices automatically - "General" tab: accounting printer, Use default settings of the printer cleared. "Printer Settings" tab: Two-sided, flip on long edge. "Regular Attachments" tab: file extension pdf, file name contains Invoice.
10.8 Tip ¶
- Test profiles with a PDF printer (instead of a physical printer) let you check print results without consuming paper