Tech Blog

Archive for June 1st, 2007

CFPRINT Tag -New in Scorpio (ColdFusion 8)

by Rolando on Jun.01, 2007, under ColdFusion

Ben Forta mentioned a couple of days a go a new tag introduced with Scorpio, called CFPRINT.  If you don’t run Intranet applications this tag might not be of your interest, however if you do, you might need to perform tasks such as printing nightly sales reports, monthly inventory reports or just print customer’s orders as they come in.  CFPRINT automates this process for you, so that now human intervention is needed or hacks.

The ColdFusion service must be running under a user with rights to print through the Network or Local computer depending on your setup.  Remember this will work as long as you have your printer available to your Local Network where the CF Server resides.  This means that if you have multiple locations for your business and have a remote printer available to your local network you should be able to print then to that remote location.  This is great if you receive all your orders in a central location but then redistribute those depending on the proximity of the customer or just depending on inventory availability, etc.

You can see a list of all available printers through the ColdFusion Administrator.  Ben also mentioned in his post a new function that came along with the CFPRINT tag, called GetPrinterInfo().  As the name suggests this will return information pertinent to the requested printer.

You can read Ben’s Post here

Leave a Comment : more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...