IMan Setup for Printing

This section describes the steps required to print forms and reports from IMan such as Invoices, Despatch Notes, etc.

Background

Sage200 maintains a dynamically compiled .net assembly containing the Sage200 data model. This assembly contains the data schema used by the Sage reporting engine when generating reports.

The data model is located in each user’s windows profile, and due to IMan’s service based architecture the assembly cannot be loaded as it is not within the search path of the IMan application. It is therefore necessary to copy the data model assembly from a user’s profile directory to the IMan program directory so it can be accessed by IMan/Sage reporting engine.

If the Sage200 data model is ever altered or extended by means of a module or add-in, the following steps need repeating to ensure the lastest version of the data model is available to IMan.

print forms and reports from IMan

  1. Stop all IMan services and restart the IMan AppPool.
  2. Browse to C:\inetpub\wwwroot\IMan\bin
  3. Rename either 2010unity.config or 2011unity.config to unity.config depending on the version of Sage200.
  4. Ensure you have logged into Sage at least once on the workstation/server IMan is installed.
  5. Browse to C:\Users\<UserId>\AppData\Local\Sage\Sage200\AssemblyCache
  6. Copy Sage.Accounting.DataModel.dll to C:\inetpub\wwwroot\IMan\bin
  7. Restart IMan services.

Printing Installation

Any printer that IMan uses must be setup as a local printer; network printers are not supported.

This is due to IMan’s service based architecture where user profiles, which are used to store network printers, are not loaded when a service is started.