VirtualBox is an open-source virtualization solution that is developed by the Oracle Corporation. It was created to enable multiple operating systems to coexist on a single physical host computer. With VirtualBox, you can use a machine running Windows, Linux, or macOS to host several different operating systems simultaneously. The number of guest operating systems is dependent on available system resources. Networking for a guest is configured on the host computer.
By using the VirtualBox printer passthrough technique, you can print to a locally attached printer from within a virtual environment.
VirtualBox provides USB passthrough support to enable printing. Follow these steps to add a printer to VirtualBox.
After you enable the VirtualBox USB printer redirection, you can access the shared printer in the guest operating system. The VM will recognize the device and afford you the same level of functionality enjoyed through a direct physical connection to the peripheral. With this VirtualBox printer setup, you can use the virtual environment for remote printing.
Not all virtualization solutions provide support for connecting to local USB devices. In some cases VirtualBox does not recognize the printer, making it impossible to print from VirtualBox virtual machine.
This video guide illustrates the steps for connecting printers to VirtualBox.
After establishing the connection, the selected printer will be recognized and available to the client.