• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Using Visio in Education for GIS
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Visualize Complex Processes with Microsoft Visio
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / Visio / Visio FMPrint Add-on

Published on May 25, 2008 by David Parker

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:
image
 ELRES_e9487652-b664-4177-9640-9abe274eac80SELRES_7ee59eae-24c4-4b67-a7c4-14f5a00ae6deSELRES_3c86ab09-c348-43d6-bb46-3a8e764deba7SELRES_e28b5ce5-fd6b-45cd-af68-839c48db024e

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.

image

Shape Data Rows

NameLabelValue
visPrinterModelPrinter ModelEnter manually or returned by “Find printer …”
visPrinterLocationPrinter LocationEnter manually or returned by “Find printer …” or “Browse …”
visPrinterPathPrinter PathEnter manually or returned by “Find printer …” or “Browse …”

Actions

NameActionLabelTag NameButton FaceDisabled
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”

SmartTag

The visPrintern Actions appear under the SmartTag because they have the same TagName value.
NameTag NameDescription
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…
image
When you select one, then the Printer Model, Location and Path values are automatically filled in.
image

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…
image
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….
image

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.
image
Well, that’s all I know about the FMPrint add-on … does anyone know more?

Related

Filed Under: Visio

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Comments

  1. Chris says

    June 5, 2008 at 12:17 pm

    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?

    Reply

Leave a Reply Cancel reply

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

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript LayerManager Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Setup and Deployment Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Validation VBA Video Visio Visio 2007 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • Amazon
  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Search this website

Recent posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Copyright © 2025 · Executive Pro on Genesis Framework · WordPress · Log in