Jump to content

Granite WMS/Installation/Labelprinting

From Wikibooks, open books for an open world

Labelprinting - also see troubleshoot page

[edit | edit source]

To successfully install Granite label printing service you first need to set all the configurations required for the service. Once the settings are saved you can install the service.

Configuration

[edit | edit source]
  • Open the label printing config  file named “Granite.LabelPrinting.exe.config

If you cannot see the .config extension it’s because windows is set to hide extension of known file types. The file will be called “Granite.LabelPrinting.exe“.  

  • Review the following settings
    • Connection string – the granite database connection
    • EndPoint address – this will be the address of the label printing service and will be used further on in setting up the webservice and webapp
    • Change localhost to the hosting server IP address.
  • Logger level – ensure that this is set to ERROR.
    • Only set to ALL if troubleshooting is required

Example of configuration file.

Installation

[edit | edit source]
  • Ensure Seagull Bartender is installed with the SDK.
  • Right click on the application Granite.LabelPrinting and Click Run as Administrator
  • Note that this is the same name as the above config file but without the .config extension
  • In the windows command window press [i] and then [enter] to install service.
  • Now open Services under Administrative Tools
  • The service name will be Granite Label Printing Service
  • Right click on Granite Label Printing Service and click Properties and open Log On tab
  • Set This Account and specify either the local machine Administrator and Password or Domain Administrator and Password.
  • Take note that this should be the actual administrator and not a user that has administrative rights.
  • Click OK and Start Service
  • You might have to also copy the DLL's in directory (C:\Program Files (x86)\Seagull\BarTender Suite\SDK\Assemblies\.*) from the PC to the directory of the Granite Label Printing Service.
  • Check that the DLL's are unblocked by right clicking on them and selecting UNBLOCK if that button is available

Open Service

  • Open your web browser
  • Enter the endpoint address configured in the first steps. (localhost:2077 or IP:2077)