Printer Service: Difference between revisions

From Bitnami MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
# Update the Novus configuration table.
# Update the Novus configuration table.
#* if this is a new installation, then add a row to the Novus configuration  
#* if this is a new installation, then add a row to the Novus configuration  
:::insert configuration (control_id,description,control_group,control_type,control_list,control_value,version)
:::values ('Get Printers DonGriffinHome','Updates the Printer table records.',null,null,null,0,0)
<strong>Return to [[Novus]]</strong>
<strong>Return to [[Novus]]</strong>

Revision as of 17:53, 18 September 2024

Installation

  1. If there’s an existing installation, move it to a different directory as a backup e.g. move C:\novus-printservice to C:\novus-printservice-2024-07-29
  2. Move the novus-printservice folder to C:\novus-printservice
  3. Edit the appsettings.json file and give the locationID a name. See example below.
{
"PollingTimeInMilliseconds": 60000,
"BaseUrl": "http://10.0.2.6:5001/",
"ApiKey": "CwOoD0L0h3oSVdDc_UYeKLD2uML7HDk3",
"LocationId": "DonGriffinHome",
"PdfFileDirectory": ".\\PDF Files\\"
}
  1. Go to https://dotnet.microsoft.com/en-us/download/dotnet/3.1. On the right side of the web page, on the row that says “Windows” click on the "Hosting Bundle" download link which is beside the “x64” and “x86” download links. After the download is completed, double-click dotnet-hosting-3.1.32-win.exe to install the ASP.NET Core Runtime 3.1.32 hosting bundle.
  2. Open PowerShell as administrator, and run sc.exe create "Novus PrintService" binpath="C:\novus-printservice\Novus.PrintService.exe". This will add a new Windows service.
  3. Open start menu, type in services.msc and press Enter key, scroll down to find and select Novus PrintService, right-click it. In the Properties, set startup type to Automatic, click Apply, click Start to start up the service, and click OK.

Printer Set Up

  1. Update the Novus configuration table.
    • if this is a new installation, then add a row to the Novus configuration
insert configuration (control_id,description,control_group,control_type,control_list,control_value,version)
values ('Get Printers DonGriffinHome','Updates the Printer table records.',null,null,null,0,0)


Return to Novus