====== 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** - 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. - [[en:quickstart:startlserveradmin|We start LServerAdmin application]] - We go to menu **Services/ Basic Services / Dhcp Server / Configure / Static IPs / Add**. - 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**. - 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) - 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 ===== {{section>en:devices:usb_generic&noheader&nodate&nouser}} ===== 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**. - [[en:connection:connect2windowsvm|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. - We install the network printer on the windows virtual machine downloading **its installation software** from the internet (see [[en:quickstart:installapptowinvm]]) ===== 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: - [[en:connection:connect2windowsvm|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. - We go to **Control Panel / Hardware / Printers**. We click on the printer and select **Manage** - We right click on the printer and select **Properties** . and go to **Security** - To **remove permission for everyone to print** we select **Everyone** group and click on **Remove**. - To give **permissions only on teachers** - We click on **Add** - If we don't want to show all users, we click on **Object types**, select only **Groups** and press OK. - On field //Locations// we leave our domain e.g. **SCH.LOCAL** - We click on **Advanced** and then **Find now** - We select the group **teachers**, click OK and again OK. - It should show group //SCH.LOCAL\teachers// on the list with **Group names or users** with permission to print. - We click on **Apply** and **ΟΚ** and leave from **Security** tab. * To give **permissions only to specific users**, we do the same procedure but in step 5 on **Object Types**, we select **Users** and from the list we select the users we want. 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