You have installed a printer on your self hosted Cameyo Play server and want to set it as the default printer

Because your clients default printer is dynamically mapped and set as the default printer, it overwrites a default printer set on the server.

To set the printer you want as default, follow these steps:

  1. Open a PowerShell prompt
  2. Get the name of the printer you want to set as default:
    Get-WmiObject -class Win32_Printer | ft
  3. Create a file named StartupBefore.ps1 in C:\ProgramData\Cameyo

  4. Add the following line to the StartBefore.ps1 script:
    (Get-WmiObject -Class Win32_Printer -Filter "Name='OKI-MC352'").SetDefaultPrinter()

    Replace the printer name in the script above with your printer's name

This will set the default printer for every user upon login.