Visio FMPrint Add-on

A recent newsgroup post asked about accessing a network printers management page from a Visio page, so I thought I would share some things that I discovered a while back.  Visio 2003 and Visio 2007 Professional edition include an add-on called FMPrint, which you can use with any shape in Visio.  I used it with some network printer shapes in a couple of add-ins myself. I’m not aware of any public documentation about this handy little add-on, so here is what I have discovered.
You can see the add-on in action by opening the Shapes Maps and Floor Plans Building Plan Resources stencil and dropping the Printer shape onto your page.  Alternativaly you can start a new Maps and Floor Plans Space Plan drawing. Notice the SmartTag in the bottom left corner which gives you access to the FMPrint add-on:

If you open the ShapeSheetSELRES_e28b5ce5-fd6b-45cd-af68-839c48db024eSELRES_3c86ab09-c348-43d6-bb46-3a8e764deba7SELRES_7ee59eae-24c4-4b67-a7c4-14f5a00ae6deSELRES_e9487652-b664-4177-9640-9abe274eac80, then you will see that there are three Shape Data rows; four Actions; and 1 SmartTag associated with the add-on.


Shape Data Rows

Name Label Value
visPrinterModel Printer Model Enter manually or returned by “Find printer …”
visPrinterLocation Printer Location Enter manually or returned by “Find printer …” or “Browse …”
visPrinterPath Printer Path Enter manually or returned by “Find printer …” or “Browse …”


Name Action Label Tag Name Button Face Disabled
visPrinter1 =RUNADDONWARGS(“FMPrint”,”/cmd=3″) “Set as &Default Printer” “PRN” “1100” =IF(LEN(Prop.visPrinterPath)>0,FALSE,TRUE)
visPrinter2 =RUNADDONWARGS(“FMPrint”,”/cmd=4″) “&Open print queue” “PRN” “986” =IF(LEN(Prop.visPrinterPath)>0,FALSE,TRUE)
visPrinter3 =RUNADDONWARGS(“FMPrint”,”/cmd=2″) “&Find a printer in the directory…” “PRN” “6371”
visPrinter4 .=RUNADDONWARGS(“FMPrint”,”/cmd=1″) “&Browse for a printer…” “PRN” “1745”


The visPrintern Actions appear under the SmartTag because they have the same TagName value.
Name Tag Name Description
visPrinter “PRN” =IF(Actions.visPrinter1.Disabled,”Configure Printer”,Prop.visPrinterModel)

Find a printer in the directory

This enables you to search your Active Directory to locate a specific printer…
When you select one, then the Printer Model, Location and Path values are automatically filled in.

Open print queue

Once you have a value for the Printer Path Shape Data (which can be manually entered or automatically filled in from Find or Browse functions), then you are able to open the printer queue…
This will give you access to the printer’s properties…
image image

Set as Default Printer

This function does give you the ability to set the selected printer as the default, but you may get a security warning….

Browse for printer

I have never managed to get this to return the Printer Model, and sometimes it just seems to hang, so I recommend either using Find or manually enter the values.
Well, that’s all I know about the FMPrint add-on … does anyone know more?
Posted in Visio. 1 Comment »

One Response to “Visio FMPrint Add-on”

  1. Chris Says:

    So they ripped out network scanning and create flowchart from CVS, but left this in?!
    How on Earth, Sir David, did you stumble upon this one?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.


O365 and SharePoint

Simplify Tasks

Want to learn the simple way?

Paul Turley's SQL Server BI Blog

sharing my experiences with the Microsoft data platform, SQL Server BI, Data Modeling, SSAS Design, Power Pivot, Power BI, SSRS Advanced Design, Power BI, Dashboards & Visualization since 2009

John Goldsmith's visLog

be smart, be clear, be visual ...

Mo's blog

Personal views on Dynamics 365 for Operations and Technical Architecture.

Chris Webb's BI Blog

Microsoft Power BI, Analysis Services, MDX, DAX, M, Power Pivot and Power Query

Azure Solutions for Office 365, and more...

Rob Fahrni



Life with Visio and other Microsoft Toys!

Nilsandrey's Weblog

Just another weblog

Things that Should be Easy

Every so often (too often in the IT industry) I encounter things that should have been very easy to do but turned out to be far too complicated. My favorite topics include SharePoint, .Net development, and software architecture, especially distributed systems.

Visio Guy

Smart graphics for visual people

%d bloggers like this: