You can add a parallel port to a virtual machine and send output to a file on the host computer.
Select a virtual machine.
In the virtual machines and templates inventory tree, select a group of virtual machines and select a virtual machine from the list on the right.
Search for a virtual machine and select it from the search results list.
In the VM Hardware panel, click Edit Settings.
Click Virtual Hardware.
From the Add a device drop-down menu, select Parallel Port and click Add device.
The parallel port appears in the virtual device list above.
Select Output to file and browse to the location of the file.
(Optional) Select or deselect the Connected check box to connect or disconnect the device.
(Optional) Select Connect At Power On to connect the device when the virtual machine powers on.
Click OK.