473,406 Members | 2,698 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,406 software developers and data experts.

Install Printers

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""")

I read that the /y switch is for setting the printer to default, this seems
not to be working.

Can anybody help me?
Nov 20 '05 #1
0 1082

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

Similar topics

3
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...
0
by: Sneid | last post by:
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...
7
by: trint | last post by:
How can I add all the network printers to a combobox? Thanks, Trint
0
by: Ketan Kolge | last post by:
Hi, I have to create a application which will install a printer. I have list of printers, and the machine where the printer is connected. Just to hide the info about the network I want to give him...
1
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...
0
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...
2
by: Terry Olsen | last post by:
Can anyone give me some guidance on installing a local printer with VB 2005? I'm guessing I would probably do this with WMI, but i'm not finding anything obvious. I see how to add a networked...
0
by: Ravigwipro | last post by:
Hi, I m able to get the printers object to know what are the printers had been installed and all. here my requirement is i have to write a data from VB to MS Word. for the page setup i have to...
5
by: jdugal | last post by:
Guys, I am using Windows XP Pro (SP1) and suddenly my printers (local & network) have disappeared from the Printers & Faxes menu. If I try to re-install any printer I get an error message...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.