VirtualBox is an open-source hypervisor software package originally created by Sun Microsystems and now maintained by Oracle. VirtualBox provides the functionality for an operating system such as GNU/Linux, Apple Mac OS X or Microsoft Windows to host multiple guest operating systems in virtual windows. Depending on the amount of resources (such as RAM) available on the host computer, multiple operating systems may run concurrently. Each guest operating system can be configured with networking access through the host. You can print from a VirtualBox virtual machine to a network printer by configuring bridged networking on the guest machines.
Open the VirtualBox program and then open the virtual machine for which you wish to print.
Click to check "Enable Network Adapter," if it is not already checked. Click "Bridged Adapter" under "Attached To." Choose the appropriate physical network adapter, if more than one adapter is installed in the host system.
Click "OK" to save the settings.
Power on the virtual machine.
Add and configure a network printer from within your guest operating system. For example, with Microsoft Windows, add a network printer through the "Devices and Printers" control panel item.
Bridged networking makes the guest virtual machine appear that it is directly connected to the physical network.