Hi dianajaye,
I think you can use our Virtual Printer in the VM.
At first, set up the printer on your macOS host properly, make sure it can work well on macOS.
Then launch the VM (assume it is a Windows 10 VM), click menu 'Virtual Machine=>Install Virtual Printer', proceed the installation, restart the VM, and you should be able to use the printer in your VM.
Hope it helps
-Rick