473,797 Members | 3,183 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamically install a printer and its drivers...

Hi

I explain my title: i'm actually developping an application for privilege-limited users.
They all have a laptop, and are not local administrators of the machine

I 'm developping a program that allows them to create profiles with IP, Proxy, Network Drives and printers
For drives and printers, they can supply a username/password so they can connect to file servers/printers without having to change the local user... (or do a RunAs, but they hate doing that...
When the profile is loaded, the IP config is changed, proxy and network drives are added and, ideally, printers too..

Everything is fine but the printers now... I can't manage to install the printer/printer driver automatically, and dynamically
I mean, i won't know the name of every drivers of printers they will use...

And so : Is there a way to add a printer (if possible using specific credentials) just by supplying its network name, similar to a doubleclick on a printer on a printserver
In KiXtart, i've done this with AddPrinterConne ction()... but it wasn't working with other credentials..

Thanks for reading... :

Nov 16 '05 #1
0 1731

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

Similar topics

2
2688
by: Yong Pong | last post by:
I have some functionality that I am trying to implement and I cannot figure it out. What I am trying to do is make it so that a user goes to a web page, sees a printer, clicks on a hyperlink, and the printer gets installed on the end-user machine. Much the same as when you connect to a printer through the Start --> Run... by typing in a UNC path. For example: Entering \\printserver01\printer01 into the Run dialog will connect to the...
3
6829
by: Matt Chan | last post by:
Hi, I am trying to create a python script to install a set of network printers. I have had success using an os.popen statement, using rundll32 and printui.dll. This takes way too long. Can someone point me in a quicker direction? thanks, Matt
0
1107
by: Martijn | last post by:
Hi, I created an application that installs network printers. Everything seems to work oke...but the printer is not set to default. I use the following line to install the printer Shell("rundll32 printui.dll,PrintUIEntry /y /if /b ""HP LaserJet 4000"" /f D:\Install\Drivers\HP4000\WinXP\hp222ip6.inf /r ""\\SSMD\" & pq & ".Printers.Amsterdam.NL.SSMD"" /m ""HP LaserJet 4000 Series PCL 6""")
1
2881
by: Jm | last post by:
Hi all Is there an easy way to install a network printer by code in Vb.Net (Meaning connecting to a printer from a server for eg \\MyServer\MyPrinter, so no drivers are required or anything like that). In vb6 i used Wsh to install it, should i continue using the same method or does .NET have a better way of doing it ? Thanks
3
6321
by: Mika M | last post by:
Hi all! I have made an application for printing simple barcode labels using PrintDocument object, and it's working fine. Barcode printer that I use is attached to the computer, and this computer has drivers installed for this printer, and this printer is shared for the network. Question 1:
4
7501
by: Support | last post by:
Hello: I would like to create my own printer driver so that it is available in all applications through the file ->Print menu of applications. The driver will essentially take the contents of what is in the parent application and save it so file (like a file - save as). I will do some information processing when the printer driver is called so I will need it to open a form (like other drivers do). I am reading about pdd files and I see a...
1
2400
by: Steve | last post by:
I've tried to find out how to do this on MSDN and other sites, but I can't find an example or even a mention of this. I need to install some printer drivers with my application, anyone know how to accomplish this with a c# Installer Project (MSI)? Thanks for any help, Steve
0
1157
by: Dave | last post by:
If a user navigates to the printers on a domain controller, they can double click on the Printer Icon and it will install the printer on their machine. That's great as long as the user knows what server the printer server is. I have imbed a floor map on a page and I'd like to put hyperlinks to the appropriate printer on the Print Server. This way as long as a user can get to my site, they can map their own printers without having to get...
2
1814
by: =?Utf-8?B?Qm9vazIwNDc=?= | last post by:
I am stumped. I lost my printer about a week ago and cannot reinstall it. When I try it tells me that the specified print monitor cannot be found. I have a Dell computer with Windows XP and a Dell Photo Printer 720. Any help will be greatly appreciated.
0
10469
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10246
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10209
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10023
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9066
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7560
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6803
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5459
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.