Printing from a Win10 VM


Shlazor

Recommended Posts

I will admit that I am very new to UnRaid.  I bit the bullet and my first attempt is a very big machine that I have had up and running exactly 2 days.  Space Invader's videos are amazing and I am going to give him a nice donation soon.

 

I actually am running UnRAID as a trial still.  I have a very nice Win10 Pro VM up and running and so far I am very impressed.  I have searched thru the forum but, so far, none of my searches revealed anything.  How do I connect a USB printer thru to the VM.  I have USB support enabled... drivers updated using the virtio cd image.

 

All of that worked.  What now?  This second, I have no clue what the next step is.

 

I appreciate any guidance someone might offer.

Link to comment

Thanks for the reply.  Well, that raises another question.  When I insert a USB flash drive, the VM doesn't seem to know it.

 

It looks to me like I have the USB set up correctly.  Thoughts?

 

Do I have to manually pass the USB flash drive thru somehow with "unassigned devices" (or something)?

 

image.thumb.png.f63e90f5600c87465569e8b69bf5a5d1.png

Link to comment

For the best VM experience, you want to passthrough an entire USB controller vs individual devices. Then you can plug and play any device. SIO has videos explaining it in depth. Do you plan on running multiple VM's simultaneously ?

Option 2 is to install the CUPS docker. Then your printer will be shared to your whole network, available to all VMs and mobile devices. I can AirPrint to my 1995 HP laserjet 4 :)

Edited by WashingtonMatt
Link to comment

Another option would be the "Libvirt Hotplug USB" plugin. You should be able to attach any connected USB device on the VM page to a running VM. Didn't tried it with a printer myself, but all my USB devices like a external CD drive, USB sticks and even a smartphone works. 

Link to comment

Thanks guys for the responses.

Which of the three options presented in the previous two posts do you "vote" for as the best and why?  I have had this server up for only 5 days.  I can't wait to be comfortable with it because it seems to be ridiculously powerful.

 

Again, thanks for the help!  I will participate and give help as well as soon as I am able.  Been doing this stuff for a long time - just not with UnRaid.

Oh and... is Space Invader the SIO you refer to? 

Link to comment
Just now, jonathanm said:

Passing through a USB controller is the best option if you want to get as close as you can to a bare metal feel. Problem is, you may need to buy another USB card.

Thanks for the quick response!

When the idea of passing thru the USB controller was mentioned above, I was thinking that the only logical way to do that was to add a card.  Is there one you would recommend?  Also, and I know that this next question would technically be in the wrong place but... I want to add another SATA card.  The information in this forum is a bit overwhelming with about 60 choices.  I realize that there are some simple ways to narrow it down a bunch such as 6GBps and card slot interface but I think I might have selected this: SuperMicro AOC-USAS2-L8I with a breakout cable.  Any thoughts?

Link to comment
33 minutes ago, WashingtonMatt said:

You should be able to pass through some of your USB ports without an additional USB PCI card. It depends on your motherboard and IMMO groupings. Yes, SIO = SpaceInvaderOne.

 

I can recommend the Inateck kt4006 USB PCI Card. Works with Windows and MacOS, out of box.

I am going to go watch the videos again on IOMMU "management".  Thanks!!!!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.