In order to have your desired printers available when using Bucknell University Remote Labs (VMware Horizon) from a Linux computer, you have to create a login script that adds the printers when you login. Keep in mind that the more printers you add, the longer this process will take so it’s recommended that you only add the printers you need.

Create a file called $netlog.bat in your  U:\private space on a Bucknell Windows computer. The contents of that file should look like this:

if "%COMPUTERNAME:~0,4%"=="VDI-" (
  rundll32 printui.dll PrintUIEntry /in /n \\pharos-ps1-prd\BUBWPrint
  rundll32 printui.dll PrintUIEntry /in /n \\pharos-ps1-prd\BUColorPrint
)

You can add or change the printers you want to add by modifying or copying the lines that start with rundll32. The name of the printer appears at the end of the line (e.g. \\pharos-ps1-prd\BUBWPrint). If you don’t know the path to the printer you need, please contact ecst@bucknell.edu with the location of the printer and we’ll help you identify the printer name/path.

Once you login with the script in place, the printers will be automatically added. Please note if you’re using the VMware Horizon Client (as opposed to the browser version), your Linux printers will also automatically appear, but unfortunately there are problems printing to those. When you print, be sure to select the print queues that say something like “BUBWPrint on pharos-ps1-prd” or “dana214-lp1 on lab-print”. The “on printservername” is the key portion to look for to identify the printer as a Windows print queue.