question

AvanelleSahadeo-0027 avatar image
0 Votes"
AvanelleSahadeo-0027 asked PhilippeHubert-1352 commented

Connecting my Network Printer to Azure Virtual Machine

Hi,

I am trying to connect my on premise wireless HP Officejet Pro 6978 Printer to my Azure Virtual Machine and I need help.

I tried this:
Windows Azure Virtual Machine open control panel and click on Devices and Printers In the Devices and Printers dialog click on Add a printer button.
.Click on Add a local printer. In the Choose a printer port select Use an existing port - the default is LPT1 (printer port).

I tried downloading the drivers.

I tried adding it wirelessly.

Nothing helps.

Please help.

azure-virtual-machines
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AvanelleSahadeo-0027 Any update on the issue?

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

Thanks

0 Votes 0 ·
prmanhas-MSFT avatar image
0 Votes"
prmanhas-MSFT answered PhilippeHubert-1352 commented

@AvanelleSahadeo-0027 Apologies for the delay in response and all the inconvenience caused because of the issue.

Can you please confirm if you have followed the below steps by referring to forum thread to use local printer on Azure Virtual Machine:

1.Make sure your local printer connected to your computer by USB cable and its printer driver is installed - make sure it is not a network printer.

2.In Windows Azure Virtual Machine open control panel and click on Devices and Printers In the Devices and Printers dialog click on Add a printer button.

3.Click on Add a local printer.

4.In the Choose a printer port select Use an existing port - the default is LPT1 (printer port).

5.Click on the list drop and you will see lots of available ports - and your computer ports are listed too. If your computer name is SERVER1111 you will see ports like TS001 (SERVER1111: PRN2). Choose TS001 port! . TS stands for Terminal Services redirected printer.

6.Click on Next - Install printer driver - click on Windows Update button if driver is not available from list. Windows driver update takes time.

8.Select your printer manufacturer and select the printer from the list - click Next

9.This window confirms your selected printer name. Click Next - the printer driver installation starts.

10.The next screen offers you to share the printer. If it is shared, all virtual machines on your virtual network can print on that local printer. Share it and click on Next.

11.Print a test page.

12.The printing is going to be relative slow. You might get a message that Printer is not responding. But wait, it is going to print.

You can refer to this doc as well for more info.

Hope it helps!!!

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Title: "Connecting my Network Printer to Azure Virtual Machine"

Step #1: "Make sure your local printer connected to your computer by USB cable and its printer driver is installed - make sure it is not a network printer."

So, does this mean connecting a local network printer to an Azure VM is not possible or supported?





0 Votes 0 ·

The forum thread you are referring to dates from 2017. No one buys printers that are not wirelessly connected today. Is it that Microsoft didn't find any way to use network attached printers with Azure? The RDP client from Windows XP supported printer routing to TCP/IP attached printer. Why isn't that available anymore?

0 Votes 0 ·
AvanelleSahadeo-0027 avatar image
0 Votes"
AvanelleSahadeo-0027 answered

My printer is a wireless network printer already. Do I have to uninstall it as a network printer and reconnect as a local printer?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PhilippeHubert-1352 avatar image
0 Votes"
PhilippeHubert-1352 answered PhilippeHubert-1352 commented

One trick that did the job for me. From the browser, the Azure RDP client cannot add a local printer connected to a TCP/IP port. But the locally installed client can. You can get the client here:

https://docs.microsoft.com/en-us/azure/virtual-desktop/user-documentation/connect-windows-7-10

Install it on your PC and sigin using the same credentials you're using to access the Azure-VDM. A more regular RDP client will start and the local printers will be recognized.

Good luck!

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried your senario and while im not getting any connection errors...nothing is printing..Do you have the local printer set with any special port number?

0 Votes 0 ·

No, my local printer is connected to a TCP/IP port on my PC. You can get to "Devices and Printers" to see if the printer is mapped properly. If it is, than you should be fine. One thing that could create an issue is if you're connected to a VPN. Not all organization implement split tunneling with their VPN. If it's your case, all internet traffic is routed through your organization. The VDI won't be able to see your local IP address although the client might be able to see the local printer. But it's just an hypothesis, I'm not into these details enough. You can simply try to ping your printer's IP address.

0 Votes 0 ·