WordPress Print To Error Log

TechnoTom’s Weblog

Just another WordPress.com weblog

Head Fault Error on Avery Printers [Error 5006]

Some Avery-Dennison printers have a print head that is automatically raised and lowered for printing by use of a stepper motor and sensor combination. This type of arrangement can be found on printers such as the 64-xx series and on the AP7.t machine.

Occasionally the raising or lowering of the head may not occur as it is supposed to, resulting in a ‘head fault error’ (error 5006). Should this error occur, and if it cannot be cleared, it is likely due to one of the following problems.

  1. Print head is not fully secured on the thermal print bar. Check to make sure that the head assembly is firmly positioned on the print bar.
  2. Problem with connection between peripheral device board and the print head (either a bad or loose cable, or malfunction on the board)
  3. Failure of the head stepper motor
  4. Broken or cracked sensor disk on the head stepper motor (requires replacement of the whole motor)
  5. Faulty head sensor

Persistent 5006 errors should be referred to a qualified service technician.

Baerst Blog

Archive of Baerst Writings

Calendar Print Assistant–Object Reference Error

Here is a weird edge case related to a null reference error thrown by the Outlook Calendar Print Assistant. If you stumbled upon this page there is a very good chance that you do not use Outlook, let alone the very application specific Calendar Print Assistant free tool from Microsoft. On the other hand, if you arrived here via a search engine then there is a very good chance that you do use both of the previously mentioned applications and are receiving an error message.

First, make sure that you are using the most current application for CPA. It’s not something that gets rev’d all-to-often, but there was an important update in mid-2010 to add support for 32-bit Outlook 2010. That information is readily available on the web from Microsoft. The reason that I am writing this post is that I eventually was able to track down the simple fix information, but I didn’t find it on Microsoft or Microsoft Answers. It came from those shady looking, ad driven support sites. I hesitate going to most of them because 1) information is hard to separate from ads and 2) I never feel like support is the primary purpose of the site. I figure that I will republish the fix on my site to get it out there and away from the junk support sites.

After installing Calendar Print Assistant and running it, I received an error that Outlook could not connect to the mailbox. The more specific error was a standard, “Object reference not set to an instance of an object.” Not exactly a lot to go on.

Cut to the chase. In addition to the executable standalone application there is also an Outlook dll Add-in installed to manage information transfer between Outlook and the Calendar Print Assistant application. In my situation, this dll had disabled itself due to the error condition or preceding it. I’m not sure which.

From within Outlook,

  • Outlook 2007 – Tools | Trust Center | Add-ins
  • Outlook 2010 – File | Options | Add-ins

Look for a Calendar Print Assistant Add-in. It may be in the Disabled Add-ins section. Enable it. If it’s not there you can add it by clicking add and navigating to

  • c:\program files\microsoft office\office12\cpaoaddin.dll

Once it’s enabled, restart Outlook and then try Calendar Print Assistant.

Yellow Triangle Blog | An IT professional’s guide to reality.

Published by IT professionals from the UK, all based upon real world IT problems and solutions.

Using PDF Creator deployed from a 64bit Print Server

PDF Creator is a PDFForge project: http://www.pdfforge.org/ the software is open source and is completely free to use at home or in a commercial environment.

This blog post will explain how to install and configure PDF Creator for use in a corporate environment on a 64-bit print server using the auto-save option to create files on a network share without prompting the user.

Once installed and configured on the print server, the program does not need to be directly installed on any client machines. Clients should map the printer by browsing to \\printserver\pdfcreator or by browsing from the ‘add printer’ wizard.

This blog post was written using a 64-bit Windows 2008 R2 Print Server using Version 1_4_0 of the PDF Creator software.

Installing PDF Creator

On the print server, run PDFCreator-1_4_0_setup.exe

Make sure you tick “Expert Settings”

Choose Server Installation

Tick the box for extra drivers (this adds 32 bit drivers to the printer for 32-bit clients to use)

Leave custom installation selected unless you need support for additional languages

Untick the add-ons that you do not want to install

Configuring PDF Creator

Now the software is installed, log on to the print server and run “PDF Creator Settings” from the start menu

Go to autosave and tick the ‘Use Auto-save’ box

username 20120101120000.pdf – (username, year, month, day, hour, min, sec)
Tick “Use this directory for auto-save”

Set this to the network location for the auto-save

Click save, close the PDF Creator Options dialog box.

PDF Creator is now installed and as long as someone is logged on to the print server, the application will work.

Creating the PDF Creator service

To get PDF Creator running without anyone being logged in to the server you need to configure it to run as a service.

Copy srvany.exe from the Windows Server 2003 Resource Kit to
C:\Program Files\oldResourceKitTools on the print server.

Open a dos prompt on the print server and type the following: (note the space after the ‘=’ signs)

C:\> sc create pdfcreator start= auto binPath= “C:\Program Files\oldResourceKitTools\srvany.exe” DisplayName= “PDFCreator”

Check that the service has been created successfully by using the following command:

C:\ sc query pdfcreator

You should see the following output:

SERVICE_NAME: pdfcreator
WIN32_EXIT_CODE : 0 (0x0)

Modifying the registry

  • On the print server, run Registry Editor (regedit.exe)
  • Browse to HKEY_LOCAL_MACHINE\SYSTEM\Curent\ControlSet\Services\pdfcreator
  • Right-click on ‘pdf creator’ and choose new > key
    Name this new key ‘Parameters’ (no quotes)
  • Right-click on the new ‘Parameters’ key and choose new > string value
    Name this new string value ‘Application’ (no quotes)
    double click on the ‘Application’ string and enter the path to the PDF Creator.exe
    (C:\Program Files (x86)\PDFCreator\PDFCreator.exe”
  • Close Registry Editor (regedit.exe)

Configure and test the service

Create a domain user account and give it write access to “C:\Program Files (x86)\PDFCreator” on the print server.

  • Run Services.msc on the print server
  • Right-click on the ‘PDF Creator’ service and choose Properties
  • Choose the ‘Log On’ tab
  • Select ‘This account’ and enter the user details for the account you created in AD.
  • Click OK

Reboot the Print Server

After the reboot, run services.msc and make sure the ‘PDF Creator’ service is now Running.

Test by sending a document to the ‘PDF Creator’ printer. (This document should auto create in the \\server\share location you created in the auto-save options).


English (Australia)

Mailchimp for WordPress


Mailchimp for WordPress

Allowing your visitors to subscribe to your newsletter should be easy. With this plugin, it finally is.

This plugin helps you grow your Mailchimp lists and write better newsletters through various methods. You can create good looking opt-in forms or integrate with any existing form on your site, like your comment, contact or checkout form.

Some (but not all) features

Connect with your Mailchimp account in seconds.

Sign-up forms which are good looking, user-friendly and mobile optimized. You have complete control over the form fields and can send anything you like to Mailchimp.

Seamless integration with the following plugins:

  • Default WordPress Comment Form
  • Default WordPress Registration Form
  • Contact Form 7
  • WooCommerce
  • Gravity Forms
  • Ninja Forms 3
  • WPForms
  • BuddyPress
  • MemberPress
  • Events Manager
  • Easy Digital Downloads

A multitude of available add-on plugins:

Well documented. Our knowledge base is updated daily.

Developer friendly. For inspiration, check out our repository of example code snippets.

Become a Premium user

Mailchimp for WordPress has a Premium add-on which comes with several additional benefits.

  • Multiple forms
  • Advanced e-commerce integration for WooCommerce
  • Email notifications
  • An easy way to style your forms
  • Detailed reports & statistics

What is Mailchimp?

Mailchimp is a newsletter service that allows you to send out email campaigns to a list of email subscribers. It is free for lists up to 2000 subscribers, which is why it is the newsletter-service of choice for thousands of businesses.

This plugin allows you to tightly integrate your WordPress site with your Mailchimp account.

Use the WordPress.org plugin forums for community support where we try to help all of our users. If you found a bug, please create an issue on Github where we can act upon them more efficiently.

If you’re a premium user, please use the email address inside the plugin for support as that will guarantee a faster response time.

Please take a look at the Mailchimp for WordPress knowledge base as well.

Add-on plugins

There are several add-on plugins available, which help you get even more out of your site.


The plugin is translated using Transifex. If you want to help out, please head over to the translation project on Transifex.


This plugin is being developed on GitHub. If you want to collaborate, please look at ibericode/mailchimp-for-wordpress.

Customizing the plugin

The plugin provides various filter & action hooks that allow you to modify or extend default behavior. We’re also maintaining a collection of sample code snippets.


  • Create beautiful sign-up forms that blend in with your theme.
  • Integrate with any other plugin out there.
  • Add a highly converting top bar form to your site.
  • Style your form with our Styles Builder (premium feature).
  • Integrate your WooCommerce store with Mailchimp (premium feature).
  • Dive into detailed sign-up statistics (premium feature).


Installing the plugin

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Mailchimp for WordPress and click “Install now
  2. Alternatively, download the plugin and upload the contents of mailchimp-for-wp.zip to your plugins directory, which usually is /wp-content/plugins/ .
  3. Activate the plugin
  4. Set your API key in the plugin settings.

Configuring Sign-Up Form(s)

  1. Go to Mailchimp for WP > Forms
  2. Select at least one list to subscribe people to.
  3. (Optional) Add more fields to your form.
  4. Embed a sign-up form in pages or posts using the [mc4wp_form] shortcode.
  5. Show a sign-up form in your widget areas using the “Mailchimp Sign-Up Form” widget.

Show a sign-up form from your theme files by using the following PHP function.

More detailed documentation can be found in the Mailchimp for WordPress knowledge base.

How to display a form in posts or pages?

Use the [mc4wp_form] shortcode.

How to display a form in widget areas like the sidebar or footer?

Go to Appearance > Widgets and use the Mailchimp for WP Form widget that comes with the plugin.

Where can I find my API key to connect to Mailchimp?

How to add a sign-up checkbox to my Contact Form 7 form?

Use the following shortcode in your CF7 form to display a newsletter sign-up checkbox.

The form shows a success message but subscribers are not added to my list(s)?

If the form shows a success message, there is no doubt that the sign-up request succeeded. Mailchimp could have a slight delay sending the confirmation email though, please just be patient and make sure to check your SPAM folder.

When you have double opt-in disabled, new subscribers will be seen as imports by Mailchimp. They will not show up in your daily digest emails or statistics. We always recommend leaving double opt-in enabled.

How can I style the sign-up form?

You can use custom CSS to style the sign-up form if you do not like the themes that come with the plugin. The following selectors can be used to target the various form elements.

You can add your custom CSS to your theme stylesheet or (easier) by using a plugin like Simple Custom CSS

I’m getting an “HTTP Error” when trying to connect to Mailchimp

If you’re getting an HTTP Error after entering your API key, please contact your webhost and ask them if they have PHP CURL installed and updated to the latest version (7.58.x). Make sure requests to https://api.mailchimp.com/ are allowed as well.

How do I show a sign-up form in a pop-up?

We recommend the Boxzilla pop-up plugin for this. You can use the form shortcode in your pop-up box to show a sign-up form.

My question is not listed

Please head over to the Mailchimp for WordPress knowledge base for more detailed documentation.

Leave a Reply

Your email address will not be published. Required fields are marked *