Add And Remove Networked Printers?
Aug 27, 2011How can i create a program using vb.net to add and remove networked printers?
View 2 RepliesHow can i create a program using vb.net to add and remove networked printers?
View 2 RepliesTrying to write a Vbscript. Actually, I'm trying to modify an existing script that I found on the internet. I basically need the script to run on workstations, delete printers from our old print server (master), and install the corresponding printer from our new print server (dc01). I should also mention that the printer names have changes slightly. So far, the script does a great job of deleting printers from Master, but none of the corresponding dc01 printers are installed.
Here's the code:
CODE:
We have around 2000 staff. Each has a shared drive to store some of their files. This shared drive points to a central location on our network.[code]...
Each user will have a folder within the root "ournetwork" labeled with their username. I do not have to worry about the directory creation as that's already done for me. These users are all tied into our AD for authentication. Folder name == AD username.
We would like the ability to allow our users to access their mapped "F" drive from outside our network through a web page. I understand that the programming involved (assuming it comes to that) will not rely on their mapped drive but rather the UNC path as posted above.
I am open to suggestions on how to get this accomplished. ASP.NET? Is there just an IIS solution like WebDAV? (although client-side WebDAV on win 7 seems to be broken, so that may be off the table).
I have made a registration program. Making use of mysql database. Can I still use the traditional programming for client applications. If I want to network it. Do I have to modify the codes a little in order to make it work?Do I have to install wampserver only in one computer?
View 1 RepliesI have an application whereby several people in my office will use it for a number of duties we are all on the same network but everyone will not be logged in at one time.I want to enable the tcpclient class I guess as I want one user to be able to send another user a message etc.The problem is I don't have a central server where I can keep the internal IP of each user is is logged in etc. is there a way around this?
View 1 RepliesI am a beginner to network programming. I am trying to make an application in vb.net 2008 where in I can open a file from the client computer, do some changes to it and save it back. How should I go ahead with it and what will be the best way to do the same.
View 5 RepliesI'm working on a windows forms application and would like to incorporate a feature that would allow me to pull the video stream from a networked DVR source. I have an existing desktop program that I may be able to use to snoop out some of the protocols used, but I have absolutely no idea where to look for a library or api to actually display the video.
Has anyone successfully done this? (Connected to a remote DVR, played realtime video in their own application)
how I should go about getting the names of the computers on a network. And if the comp had file sharing on, get the "tree" of dirs on the computer. Would I need to authenticate myself in order to read/write actual files to it?
how to even get started, so I don't have any code - the best thing I can think about doing is getting the tree of "\\network" or something. (forgot what it was called)
find some code (or give some search keywords or names of APIs) that would allow me to see and write/create files on a networked comp.
I'm planning to make multiple projects, which could connect (or comminicate) together. It's like a designing Network Program. There'll be a main program and some sub programs. These sub programs will send the informations about other computers which is on my network to the main program. If you ask "Why do you need to get infos about other computers?" ,then let me explain. I'm using limited internet connection and I'm not the only one who's using this wireless network. If I get over the limit, I'm paying some limit-upper fee. So, I've to control others internet usage to not to get over the limit. I've just made a small download counter program for my pc, but as I said, I want to convert it to a bigger project, with network solution. Could anyone refer me any resource, or show me any starting point?
View 4 RepliesMy issue, however, is connecting to the wireless laptops as well.
[code...]
I need to grab a list of all networked computers, and I definitely include systems on the wireless
network in that list. I'm just not sure how to approach this. Being able to enumerate through a
'tree' of all networks and systems available would be a major plus.
is there a way through vb visual express 08 to ask a printer if it has toner or paper? im not to sure on how to communicate with printers in this way if it is at all possible.i am writing a program to display the status of the printer and this is key.
View 1 RepliesWhen you go to the Start button and then "Printers and Faxes" and you see a list of the printer objects defined on that PC. In my App VB.Net app I want to be ale to use a drop down box to display this list of printers and allow the user to select one of them.So, Not necessarily a list of printers on the Intranet that the user is connected to, only on their personal PC.
View 1 Replieshow to set the printers paper orientation using vb dot net
View 17 Replieshow to set the printers paper orientation using vb dot net
View 1 RepliesI have been attempting to do this in so many ways. I have tried using rundll32 printui.dll, PrintUIEntry and for some reason it stops working on vista. I have no clue why. It wont even try to work with HP printers using the inf file. What is the best way to add a LPR port printer programmatically? I can create the LPR port with NO issue what so ever.
View 3 RepliesI have a routine, with the printDoc_PrintPage() function where i loop my pages and print them on the default printer.
What i need to do is print page 1 on a special printer and the other pages on the default printer.
How can i control the printers paper source?
Im printing a document but i want the user to only be able to print from the Manual feed tray on a HP 2055dn printer.
i currently have ths code in place but is anyone able to tell me if it would work or not.
i was using a print dialogue box but changed my mind as i just want to print the document as soon as the button is pressed.
' Allow the user to choose the page range he or she would
' like to print.
PrintDialog1.AllowSomePages = True
[Code].....
I have multiple forms and reports with different print area. Some are designed to print to a thermal label printer and others to department shared printers. Currently the user is able to change the printer in print dialog box and print to differernt printers. I want to be able to create a form where the user can assign different printers for different jobs and not have to worry about it.
The problem is, i have never worked with printing function and my collegues arent too smart so I was wondering if someone can throw me ideas on where to start so i can start googling for it.
way to detect Detect physical/Virtual Printers in VB.Net?
View 1 Replieswhy this code doesn't work?
Dim s As String
For Each s In PrintDocument1.PrinterSettings.InstalledPrinters.ToString
MsgBox(s)
Next
I have what is basically a text only printer (a Zebra 105SL) connected to my network at a static IP address. I have downloaded Zebra's Text only driver for it and set up a print queue named "Zebra North Text". I can print to that queue from Notepad just fine.
However, I am trying to print from a VB 2005 (soon to be upgraded to VB 2010 or VB 11) application. All of the standard VB sample printing code assumes I need to render the text in Fonts, etc, which just confuses the Text Driver.[code]...
I need to check all the printers of my faculty by sending a test page to everyone of them. And I want to do that with a little program in VB... All the printers are in the same server. I've found this piece of code : It should get the names and put them in a list box (the following code) and them send the print request
[Code]...
Am looking at making a small application that will list printers on two file servers at two separate sites, from this app they can add the printer/s to there local computer.
I have found a small application on the web but there are a few improvements it could do with.
They are; Show all local printers without having to click on a check box. Show sites printers without having to click on a check box. Show comments about the printer�s location other then just the site.
If it is possible I would like to update this one, but if there are any other examples where I could download something similar, or even some help with how to begin to create a new application.
Here are some screen shots, of the application form and the xml which holds the folder structure for the sites.
I need to list printers on a remote pc and am gettings errors trying to use wmi code but I am open to another way of doing this,
Private Sub DetectPrntrs()
Dim strComputer As String
Dim colPrinters As String
[code]....
I get the error:'Name' is not a member of 'Char'.
I have this working but only shows printers for the current user I think, I need to see a list of all printers installed on a remote pc for all users.I think I need to use the reg keys but all samples I fnd want only for one user and seem to be vbscript not VB code..[code]
View 2 RepliesHow do I get at and invoke the properties dialog supplied by the manufactured? I have search this many times and found that most of the posts contain solutions that the original poster claims don't work The standard PrintProperties class does not handle a lot of printers who have specifictsks, eg a printer designed to pint on the face odf CD/DVD. I have found examples of how do this in VB6, but every examply I find for the versions of VB Basic after thet have comments that the solution provided did not persist the user chnges. Bow, come on, there has to be a way of displaying and persisting the user choises the dialog bog provided by the printer manufacturer!Terry
View 3 RepliesI have this partially working but only shows printers for one user, need all local and network printers mapped for ALL users on a remote pc so I can migrate them, I know I need to do some sort of for each method but not sure what will work
[Code]...
I want to Return a List of all the PaperSizes with Included Dimensions. When I open my form it displays the Current Default Printers PaperSizes. I need to set the PrintDocument Object to another Printer... How might I go about changing my PrintDocument Object to the next printer installed on my computer? So I can then get it's Papersize info.
Private PrintDoc As New PrintDocument
i am trying to find a code that will do a search and find the ip address of any printer on the network with a ip address?
View 1 Repliesi have an app that pings all IP's on my network and then adds all alive hosts to a list, then my WMI query runs for all of them ips and gets some information. it all works fine except for when it gets to printers and switches/routers which obviously dont support WMI. Is there some way i can check if a device supports WMI and skip the query if it does not?
View 2 Replies