Skip to content

Instantly share code, notes, and snippets.

@Simon-Ince
Last active January 26, 2023 14:30
Show Gist options
  • Save Simon-Ince/23c01125ee50a600661c04fc0c494276 to your computer and use it in GitHub Desktop.
Save Simon-Ince/23c01125ee50a600661c04fc0c494276 to your computer and use it in GitHub Desktop.
Download and install the Primera LX610 drivers (https://www.primera.com/lx610downloads)
Download & install VirtualHere Client (Windows 64-Bit Win10,Win11/Server 2016/2019/2022) - we have a VirtualHere licence key we can share.
Setup VirtualHere by going into "Specify Hubs" and setting the IPs for the printers e.g `81.107.123.88:7575` these IPs will be avaible via an API I can share
Set VirtualHere to `Auto-use all on this Hub`
---
The Windows Server needs to be running an instance of FastAPI, I used this guide as a base: https://medium.com/codex/how-to-create-a-fastapi-uvicorn-server-windows-service-af41f075dabf
The steps to get FastAPI running are:
Download/install git
Clone down this repo: https://github.com/lush-tech-warriors/custom_labels_print_manager
Download & install Python (select add to path)
Download & install Anaconda3
Launch the Anaconda Prompt
Within the prompt cd too C://[where-you-cloned-the-repo]/apps
run `create_windows_service_installer.bat` - you should receive "Successfully built the windows service install folder"
Launch PowerShell as Administrator
Within powershell cd too C://[where-you-cloned-the-repo]/apps
run `./install_windows_service.bat` - you should receive "Starting service FastAPI Uvicorn Server Service"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment