Plugin changelog

1.5.0 – 2020-10-29

  • FEATURE: Provide settings for controlling when to print for different payment methods (e.g. when an order is placed for cash-on-delivery, but only when it is paid for credit card) in the plugin settings (i.e. using a filter is no longer required)
  • FIX: A logic error when printing different templates to different printers could result in extra unwanted copies
  • TWEAK: When adding an order note and using default settings, still include the used printers.
  • TWEAK: When adding an order note, indicate the printer by its name rather than internal ID.
  • TWEAK: Rename the label “print to this printer” as “enable this printer”, to clarify its role as a master-switch for the printer.

1.4.0 – 2020-10-28

  • FEATURE: Add support for producing the internal PDF via the mPDF engine, in conjunction with https://github.com/DavidAnderson684/woocommerce-printnode-mpdf – useful for RTL languages
  • TWEAK: Prevent an unwanted PHP coding notice when debugging template output in 1.3.0
  • TWEAK: For consistency, rename the filter woocommerce_print_orders_printnode_html_to_pdf_dompdf_options to woocommerce_printorders_printnode_html_to_pdf_dompdf_options

1.3.0 – 2020-10-16

  • FEATURE: Meta-box on order page now allows retrieval of both HTML and PDF for internal simple summary and PDF for all sources
  • TWEAK: Make the facility to show the internal output for an order always available (not just when there are configured print destinations)
  • TWEAK: Change the method used to replace redundant hyperlinks inside PDF documents
  • TWEAK: Update the bundled updater libraries to current versions

1.2.1 – 2020-09-24

  • TWEAK: Include a facility for seeing the raw printer information from PrintNode

1.2.0 – 2020/09/22

  • FEATURE: Provide a user-interface to allow each print source to be sent to different printers different numbers of times

1.1.1 – 2020/09/16

  • FEATURE: Add “print via PrintNode” action to the bulk action menu on the WooCommerce order list
  • TWEAK: Replace deprecated method call WC_Order::get_product_from_item()
  • TWEAK: Check that get_product() called on an item returns something before further processing it

1.0.7 – 2020/09/11

  • TWEAK: Add an extra parameter to schedule_event() so that more information on context can be logged
  • TWEAK: Update DomPDF to version 0.8.6
  • TWEAK: For consistency, the filter woocommerce_print_orders_printnode_via_cron has been renamed to woocommerce_printorders_printnode_via_cron
  • TWEAK: Call wp-cron.php on the WooCommerce ‘thank you’ page to help WP’s scheduler

1.0.6 – 2020/09/04

  • FEATURE: Provide a setting for the internally-generated ‘simple summary’ template allowing application of a zero margin on the PDF pages.
  • FIX: When a PrintNode printer provided no options, the WooCommerce order screen treated it as not yet set up
  • TWEAK: Update the bundled updater libraries to current versions

1.0.5 – 2020/08/05

  • TWEAK: Display the message “this printer does not have any configurable options” when an empty list is returned, not just no list.
  • TWEAK: Fix an incorrect call to printf() in the internal template
  • TWEAK: Add a filter woocommerce_print_orders_printnode_schedule_event_when to allow the time at which an event is scheduled to be modified (e.g. decide to print based on a time chosen in the order rather than when the order is placed).
  • TWEAK: Mark as supporting WP 5.5 (requires 4.5+; nothing has been done to remove compatibility with WP 4.4, but this is now the official support requirement)

1.0.4 – 2020/06/29

  • FEATURE: Shortly after sending a print job to PrintNode, the job status is now checked and logged to aid debugging
  • FIX: Version 1.0.2 introduced a regression in the handling of extra options for the “simple” template
  • FIX: The filter woocommerce_printnode_printnode_print_on_payment_complete was mis-named in our initial releases, and is now woocommerce_printorders_printnode_print_on_payment_complete; if you were using it, you will need to tweak it in your code.

1.0.2 – 2020/06/26

  • FIX: Fix some faulty code that inhibited printing upon order placement
  • TWEAK: Mark as compatible with WooCommerce 4.3
  • TWEAK: Update bundled updater library to latest version (1.8.5)
  • TWEAK: Provide the filter woocommerce_printorders_printnode_sources to allow external provision of sources

1.0.0 – 2020/06/18

  • RELEASE: First version