• Contact
  • Company
  • Login / My Account
  • Shopping Cart (0)
Document Conversion Made Easy!
Peernet Menu
  • Products
      • Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG, etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • enterprise-licensingEnterprise Licensing for your Corporation
      • discounts-multiple-licensesDiscounts for Purchasing Multiple Licenses
      • distribute-bundle-peernet-softwareDistribute PEERNET Software Bundled with your Product
  • Purchase
      • Purchase Virtual Printers
        • tiff-image-printer-iconTIFF Image Printer – Create TIFF Images
        • raster-image-printer-iconRaster Image Printer – Create TIFF, PDF, JPEG etc.
        • pdf-image-printer-iconPDF Image Printer – Create Searchable PDF
      • Purchase PDF Editor
        • pdf-creator-plus-iconPDF Creator Plus – Merge, Edit, Create Searchable PDF
      • Purchase Batch Converters
        • document-conversion-service-iconDocument Conversion Service – Unattended 24/7 Batch Converter
        • file-conversion-center-iconFile Conversion Center – Desktop Batch Converter
      • Purchase Reporting Software
        • peernet-reports-iconPEERNET Reports – Barcode, Report and Label Software
      • peernet-online-store-purchase-optionsPurchase Options
      • peernet-software-license-levelsLicense Levels
      • peernet-software-purchase-resellerFind Resellers
      • peernet-software-sales-faqsSales FAQ
  • Learn & Support
        • peernet-help-centerTutorials
          • Learn the Basics or Go Beyond with Video Tutorials, FAQs and Guides

            At PEERNET we pride ourselves on providing the best support and the fastest response times in the industry.
          • Select Software Tutorials:
              • tiff-image-printer-iconTIFF Image Printer
              • raster-image-printer-iconRaster Image Printer
              • pdf-image-printer-iconPDF Image Printer
              • pdf-creator-plus-iconPDF Creator Plus
              • document-conversion-service-iconDocument Conversion Service
              • file-conversion-center-iconFile Conversion Center
              • peernet-reports-iconPEERNET Reports
        • peernet-software-faqsSales FAQ
          • Popular Topics

            Find all the answers you need to our most frequently asked questions.
              • Download & Install
                • How do I download software I already purchased?
              • Purchasing & Renewing
                • How do I purchase PEERNET software?
                • What license level do I need?
                • How do I add licenses to an existing serial number?
                • How do I renew my annual subscription?
              • Licensing & Operating
                • How do I activate my new PEERNET software?
                • How do I activate my software without an internet connection?
                • Where do I find my serial number?
                • How do I move my software to a new computer?
                • How do I update/upgrade my software to the latest release?
            • Read all Sales FAQs
  • Blog
  • Menu Menu
run-at-end-command-image-printers-12

Migrating the Run At End Command to Image Printers 12

May 3, 2021/by Robert Massart

With the release of version 12 of TIFF Image Printer, PDF Image Printer and Raster Image Printer, the Run Commands settings have been reworked. The run commands can be used to perform an action after a successful print or a failed print. You can run commands from a batch file (.bat), an executable (.exe) or a command (.com).

A commonly used Run Command setting for existing Image Printer users is Run at End. The method of configuring the Image Printer to run a command at the end of each print has changed in version 12. Prior to version 12, the Run at End command passed the location and name of the created file using the macro $(OutputFileName). Other macros could also be passed to the command.

tiff-image-printer-version-11-run-at-end-of-job

As of version 12, there are now two Run at End commands, one which runs on success after all the files have been created, and one which runs on failure. The success command always includes a text file containing a list of files created as the last parameter. Essentially, rather then being passed the output location and file name directly, version 12 is passing the location and name of a text file which contains the output location and file name of file(s) created.

tiff-image-printer-version-12-run-commands

To prevent existing users from having to make changes to their run command code, we have created a PNExec12.exe tool which allows you to reproduce the previous Run at End command behavior in the current version. It allows you to execute a command ( *.exe) for each file created, making it easier to migrate from earlier versions. The PNExec12.exe tool can be found here when you have the software installed: C:\Program Files\Your Image Printer 12\RunCommands\.

tiff-image-printer-version-12-run-commands-folder

PNExec12.exe is able to take the created text file and parse out the output file name and location information so that it can be used by your command directly as it was in previous versions.

tiff-image-printer-version-12-run-pnexec12-on-success

For detailed instructions on how to use PNExec12.exe with your run commands, and available macros and command line arguments, please see the User Guide for your Image Printer and navigate to: Working with Image Printer > Using the Run Commands > Execute a Command for Each File Created.


If you are new to the PEERNET family of image printers, the best way to get started is by downloading our free trial. This is a fully functional trial with a watermark added to all output files. As always, the PEERNET support team is more than happy to answer any of your questions and help you evaluate the trial.

https://www.peernet.com/wp-content/uploads/run-at-end-command-image-printers-12.jpg 1000 1000 Robert Massart https://www.peernet.com/wp-content/uploads/peernet-logo.png Robert Massart2021-05-03 14:13:402021-12-05 12:49:58Migrating the Run At End Command to Image Printers 12
  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports
Search Search

Recent Posts

  • PNSrv11Lib to PNSrv12Lib: Migration Made Easy
  • Migrating to Version 12: Compatibility Mode Quick Start Guide
  • Well Logs: Stitch PDF Pages into a Continuous TIFF Image
  • Dynamic Stamp Content
  • Convert to PDF: The Power of On-Premise PDF Creation

INTERESTING LINKS

Below are some interesting links for you! Enjoy your stay :)

RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

OUR PRODUCTS

  • Document Conversion Service
  • TIFF Image Printer
  • Raster Image Printer
  • PDF Image Printer
  • PDF Creator Plus
  • File Conversion Center
  • PEERNET Reports

LATEST NEWS

  • PNSrv11Lib to PNSrv12Lib: Migration Made EasyMarch 14, 2025 - 2:10 pm
  • Migrating to Version 12: Compatibility Mode Quick Start GuideMarch 14, 2025 - 2:09 pm
  • Well Logs: Stitch PDF Pages into a Continuous TIFF ImageMarch 14, 2025 - 2:08 pm
  • Dynamic Stamp ContentNovember 4, 2024 - 4:47 pm

BUSINESS INFORMATION

Toll Free: 1-800-883-7980 North America

Tel: 1-613-224-6894

Our office hours are Monday to Friday, from 0900 hrs to 1700 hrs, Eastern Standard Time.

Email Address: [email protected]
Copyright © 1997-2026. All rights reserved. Terms and Conditions | Disclaimer | Privacy Policy | Trademarks.
PEERNET® is a registered trademark of PEERNET Inc.
  • Link to Youtube
  • Link to Rss this site
  • Products
  • Purchase
  • Company
  • Contact
Link to: How to Downgrade to Adobe Reader DC 32-bit? Link to: How to Downgrade to Adobe Reader DC 32-bit? How to Downgrade to Adobe Reader DC 32-bit?downgrade-adobe-reader-32-bit Link to: Appending Multiple Files Into a Single TIFF File Link to: Appending Multiple Files Into a Single TIFF File appending-multiple-files-to-single-tiff-fileAppending Multiple Files Into a Single TIFF File
Scroll to top Scroll to top Scroll to top