[Skip Navigation LinksBluePrint > Support > Configuring Blueprint > Autoprint Options]

Configuring Autoprinting (Enterprise Edition only)

This section provides details of how to configure Autoprinting in Blueprint for Outlook. There are easy steps to getting Blueprint to autoprint your messages:

  • 1. Blueprint Autoprint configuration


  • Configure the Blueprint Autoprint settings.

  • 2. Setup Outlook Rules


  • Configure Outlook rules to perform the print through either a custom action or a script


    Blueprint Autoprint Configuration

    When Blueprint for Outlook Enterprise edition is installed, you can configure autoprinting by clicking the Autoprint Options... button located on the main Blueprint tab.

    When the 'Autoprint options...' button is clicked, you will be prompted with the Blueprint Autoprint manager:

    Autoprint Actions

    This dialog provides the ability to configure one or more Blueprint Actions. Blueprint Actions are used to define the print operations which occurs when the Outlook rule is triggered. You can control printing the message, specific attachment types or both.

    For More Information on the printing options available, click Blueprint Actions >>

    By configuring multiple Blueprint actions, you can associate each action with a different Outlook rule. This provides a very powerful way to print in different ways, according to the configured Outlook rules.

    Note. When configuring multiple printing rules, ensure that the rules do not overlap for messages - Blueprint may print the same message if it matches multiple rules.

    Autoprint Options

    Number of seconds to allow attachment to print

    If you are printing both messages and attachments, you may experience messages not printed with their associated attachments. This happens because it is quicker to send the message print job to the printer than the attachments - Therefore subsequent messages are printed before the previous message attachments.

    To rectify this, Blueprint Autoprint Manager enables you to configure a delay after a Attachment Print has been requested. Blueprint defaults this to 4 seconds - However, if you find message and attachments are not printed together, this can be increased.

    Settings up Outlook Rules

    There are now 2 ways to configure Outlook rules to print messages: Custom actions and Scripting. Custom actions allow you to quickly and simply setup autoprint with little configuration. However, for more advanced users, the ability to run a script gives you unlimited control over how and when the print is performed:

    Custom Actions

    To configure Outlook's Rules to enable Blueprint autoprinting, perform the following:

  • 1. Within Outlook, click Tools -> Options -> Rules and Alerts
  • 2. Create a New rule. For example, create a new blank rule when messages arrive
  • 3. Configure your rules as required.
  • 4. When prompted with 'What do you want to do with the message?', click 'Perform a Custom Action'
  • 5. Within the Custom Action dialog, locate the action - 'Print with Blueprint' (see image below)
  • 6. Click the 'Change...' button to select the desired preconfigured Blueprint Action to be performed:
  • Note. You can also add/edit existing Blueprint Actions from this dialog by clicking 'Edit Settings...'

  • 7. Complete the rule.
  • Scripting (For Advanced Users)

    To gain more control over autoprinting, Blueprint allows the execution of the print action to be scripted using Outlook VBA script. If you are unsure about Outlook scripting, a great starting point is Outlookcode's 'Getting Started with Outlook VBA'

    To get you started, the following script provides the user with a 'yes/no' dialog to choose whether the message should be printed. This can be achieved by performing the following:

  • 1. Within Outlook, Bring up the VBA Environment (e.g. type Alt + F11)
  • 2. Expand the Project Explorer at upper left
  • 3. Double-click the built-in ThisOutlookSession module to open it. Accept the prompt to enable macros.
  • 4. Type or paste the following code into the ThisOutlookSession module:
  • Sub PrintWithPrompt(MyMail As MailItem)
      Dim Answer As String
      Answer = MsgBox("Print Message?", vbQuestion + vbYesNo, "Blueprint for Outlook")
      If Answer = vbYes Then
        Set myPrinter = CreateObject("bluPrint.Blueprinter")
        myPrinter.EntryID = MyMail.EntryID
        myPrinter.Action = <action name>
        myPrinter.printItem
      End If
    End Sub

    where <action name> is set to the Action name as specified in Blueprint Autoprint configuration section. For example: myPrinter.Action = "Print First Page"

  • 5. Save the project and exit the VBA Environment
  • 6. Configure the Outlook rule as required
  • 7. When prompted with 'What do you want to do with the message?', click 'Run a Script'
  • 8. Select the created script. Finish the rule.