473,401 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

How can I add a remote print queue to the local pc?

How can I add a remote printer to my local pc? And then set it as the
default?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #1
3 1830
If I understand your question, I used to do this often. I would add a
printer in the UK to my workstation in the US.

All I did was add the printer from the control panel. You will need
permissions to access the printer before it will let you add it though.

The printer syntax will be something like this:
\\servername\printername

Nov 21 '05 #2
I want my VB App to do it for me. We have a large network with a print
server in each building. All the print servers have the same alias. For
example, if you are in Denver and you ping LCL-PRNT-SVR, you will see the
print server in Denver. If you are in Salt Lake and ping LCL-PRNT-SVR you
will see the print server in Salt Lake. However, the printer shares are not
the same. They are something like PR_IBM1130 or PR_OKIB6300 or PR_HP4050.

We have travelling users with laptops that connect up in whatever building
they happen to be in that day. I have an app that can enumerate the print
shares in the building using the alias. Now I want the user to be able to
select one of the print shares, click a button and have it added and set as
default.

This is where the problem is. I can enumerate the print shares, but I don't
know how to add a printer programmatically to the local pc.

<mm*******@capstonetechnology.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
If I understand your question, I used to do this often. I would add a
printer in the UK to my workstation in the US.

All I did was add the printer from the control panel. You will need
permissions to access the printer before it will let you add it though.

The printer syntax will be something like this:
\\servername\printername

Nov 21 '05 #3
This thread might help you:
http://dotnet247.com/247reference/msgs/41/207202.aspx

"Terry Olsen" <to******@hotmail.com> wrote in message
news:ut****************@TK2MSFTNGP15.phx.gbl...
How can I add a remote printer to my local pc? And then set it as the
default?

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Bryce | last post by:
In reference to Q173339, this code works fine if accessing a local queue on the same Server as the IIS is running, but fails if accessing a remote queue I have provided credentials via Anonymous...
0
by: Dmitry Akselrod | last post by:
Hello Everyone, I have an almost well working Print Queue Monitoring software written. The software works quite well with typical Windows printing situations. However, there's a problem when a...
3
by: Gerhard Swart | last post by:
Hi all. I'm writing a queue browser that reads queues from a specified machine and then display the data that's on the queue. I am using the MessageQueue Class in .Net(C#). I get the problem...
2
by: deepak | last post by:
-- bfgbcbcxvbcxbcxvbcxbxcbxcbcfdsgsdgfsdgx
1
by: rayudu | last post by:
Hi, I've to get the queue details from the remote printers in th network.How can I identify those automatically and get the details o those using vc++? I know how to do this for the local printer...
1
by: kishore kumar via DotNetMonster.com | last post by:
hi I want to know the print queue details for local printer and how many jobs r there in print queue. plz help me -- Message posted via http://www.dotnetmonster.com
0
by: Marcus | last post by:
Hello All, I am trying to create a private MSMQ message queue on a remote application server from an asp.net application using the following code: Dim queue As MessageQueue queue =...
5
by: felecha | last post by:
I have a VB.Net application that runs as a Windows Service and monitors a MessageQueue on another machine. At times that machine will have to be rebooted, so I've been working on how to get my...
2
by: felecha | last post by:
I'm stumped. I'm working on an application in VB.Net that uses System.Messaging.MessageQueue to listen for messages sent to a private queue on a remote machine. Both machines are in the same...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.