Table of Contents

Printers

We can setup a network printer with an ethernet port to our lab and be able to print from every client PC. Printers without cable connection are not recommended.

Printer Network Configuration

Our network printer has 2 possible ip configurations, auto get ip from dhcp or static ip

  1. If it is already set up with a static ip, we need to change it to auto get ip from dhcp. It probably has an LCD screen with configuration, so we set ip to auto from its LCD screen.
    1. We go to menu Services/ Basic Services / Dhcp Server / Configure / Static IPs / Add.
    2. On automatic scanning it shows up all the dynamic IPs of the PCs and devices connected to our network, with a description to help us locate the printer. We can verify the dynamic ip from our printer LCD screen settings or by opening a browser on another client PC typing the ip on the browser address. We continue and select it and press OK.
    3. On next dialog Enter ip and host name of device we type
      • IP Address : 192.168.10.10
      • Hostname : myprinter (whatever name we want)
      • MAC Address : (leave as is)
    4. We shutdown and restart the printer to get the new ip. With have configured our printer to always get the same ip 192.168.10.10 from dhcp server.
    • We have finished printer network configuration.

If we want to setup a 2nd printer we follow the same steps as above and can set ip as 192.168.10.11

Usb printer configuration

  1. We connect the device to a back usb port of type usb2 (not usb3) on the Server PC
  2. We connect to the Windows virtual machine through proxmox web interface (not from a client PC).
  3. We login with a user with administrator permissions and we shutdown Windows virtual machine. On Proxmox on the left pane the virtual machine icon should be greyed.
  4. We click on the virtual machine to select it. On the central pane we click on Hardware, then on Add button and we select Usb Device
  5. We select Use USB Vendor/Device ID, click on Choose Device and select from the list, based on the manufacturer, the right usb device we have connected..
  6. The usb id will be shown. We click on Add
  7. We start Windows virtual machine. Usb connection has now passed through from the baremetal device to the Windows virtual machine. We can proceed to next actions like installing drivers etc.
 

Printer installation on Windows

Our network printer can be installed on windows virtual machine, so that we can print from any PC booting from network.

  1. We connect to Windows virtual machine from proxmox (not from a client PC).
    • We connect with our personal network account with administrative priviledges on Windows.
  2. We install the network printer on the windows virtual machine downloading its installation software from the internet (see Install Windows software)

Printer Installation on Linux

Our network printer can be installed through cups on server on address http://lserver:631 with the root user of lserver vm and password. It must be set as shared. Client PCs running Linux will automatically see the printer. Any connected users might need only to logout and reconnect.

User rights

After initial installation, all users have the ability to print. If we want to give permissions to print only to teachers or individual users, we do the following:

  1. We connect to Windows virtual machine from proxmox (not from a client PC).
    • We connect with our personal network account with administrative priviledges on Windows.
  2. We go to Control Panel / Hardware / Printers. We click on the printer and select Manage
  3. We right click on the printer and select Properties . and go to Security
  4. To remove permission for everyone to print we select Everyone group and click on Remove.
  5. To give permissions only on teachers
    1. We click on Add
    2. If we don't want to show all users, we click on Object types, select only Groups and press OK.
    3. On field Locations we leave our domain e.g. SCH.LOCAL
    4. We click on Advanced and then Find now
    5. We select the group teachers, click OK and again OK.
    6. It should show group SCH.LOCAL\teachers on the list with Group names or users with permission to print.
  6. We click on Apply and ΟΚ and leave from Security tab.
We have setup ability to print on a specific Windows installation, where client PCs that boot from network connect. To give permissions to Linux or another Windows installation e.g. a local installation, we need to configure separately