Configuration‎ > ‎

Remote Printing

posted Mar 31, 2011, 10:59 AM by Eric Patrick   [ updated Apr 7, 2011, 8:25 AM ]
Overview

The qbo.Attachment.PrintManager Silverlight application enables QBO system to print from the server to remote printers.  It works as follows:
  • User "queue" document for printing via the front-end (AttachmentList.Ajax.xslt)
    • this adds the attachment to a special smart worklist
  • The Silverlight app runs near the printer, and monitors the special smart worklists on a timer
    • when it sees an attachment appear, it downloads, prints, and marks the smart worklist member complete
Making qbo.Attachment.PrintManager Available for Download

The qbo.Attachment.PrintManager is a Silverlight application, found in source: qbo.Plugins > qbo.Attachment.PrintManager (VS.NET 2010 solution). To make this available for download, there are a few key steps to take:
  • Manually deploy the following files to a /Desktop folder on the web server
    • qbo.Attachment.Manager.dll
    • qbo.Attachment.Manager.html
    • qbo.Attachment.Manager.xap
  • Ensure IIS has the following MIME types registered:
    • .xap:     application/x-silverlight-app
    • .xaml:    application/xaml+xml
    • .xbap:    application/x-ms-xbap
  • Test by navigating to /Desktop/qbo.Attachment.Manager.html; the application should render
    • note that to print, the application must be run outside of the browser; see instructions in attached guide on how to do this

Setting up Print Queues

A print queue is a Smart Worklist based on a Smart Work Template called 'Print Queue', with a subscriberid of 'www.quandis.com-SmartWorklistTemplate-Print Queue'.  This template can be set up by running an import framework script found at: 
  • source: qbo.Database.Attachment > Create Scripts > Setup.PrintQueue.xml
Once the Smart Worklist Template exists, power users then create a Smart Worklist (based on the Print Queue template) for each printer that should be available to print to. The name of the Smart Worklist should match the name of the printer precisely.  It will be passed as a string to Word or Acrobat, and Word or Acrobat will interpret this string literally as a printer name.  For example:
  • Local Printers: should have the name of the printer as it appears in Control Panel of the computer running qbo.Attachment.PrintManager (e.g. 'HP LaserJet 2100P')
  • Network Printers: should have the path to the printer (e.g. '\\MyServer\MyPrinterName')
Remote Printing

To start printing remotely, follow the instructions in the attached guide.

For Developers: Building qbo.Attachment.PrinterManager

The qbo.Plugins folder in source contains a qbo.Attachment.SilverLight solution, which in turn includes the qbo.Attachment.Manager project.  This is a VS 2010 project, and requires installation of:
ĉ
Eric Patrick,
Apr 1, 2011, 7:23 AM
Comments