Easy Way to Add Printers by Ip
9th December 2008,11:55 AM #1
- Rep Power
- 0
Network printing - easy way for users to add printers
ChapsOur users struggle to be able to add network printers. They're all labeled with names like "SALES" and such, but it's quite complicated to explain the concepts of Active Directory, Printer servers etc here.
I'd like an easy way for users to be able to add printers - e.g. a web page, an application etc.
Has anybody else here had a stab at it?
Cheers!
9th December 2008,11:59 AM #2
instead of network printers cant you add them to a pc then share them,
then when they go to add one from the wizard it should search the network and find them?
9th December 2008,11:59 AM #3
Could you add them on their behalf via a logon script or GPO?
9th December 2008,12:01 PM #4
We have a web page which users can click on buttons to install printers (more verbose desc than the share name).(We use GPO's for fixed points though...)
9th December 2008,12:01 PM #5
- Rep Power
- 0
Oh, the printers are TCP/IP based, but they're shared from a Windows server box.We're going to do GPO on login, but we'd like users to be able to add printers too, for example when they travel to different offices to their usual.
9th December 2008,12:03 PM #6
- Rep Power
- 0
Hi kmount,Originally Posted by kmount
Do you just link to the share names, or do you have an app to handle the printer additions/deletions? (I seem to remember seeing something like that before).
9th December 2008,12:05 PM #7
You can deploy printers using Server 2003 R2 and Server 2008 by GPO. I usually keep the printer name and the sharename the same to keep things simple.We're going to do GPO on login, but we'd like users to be able to add printers too, for example when they travel to different offices to their usual.
If you right click the printer on the file server and choose "Properties" you can enter location information such as "ICT Suite" or "School Entrance". In the Comments I usually enter the printer IP address: IP_192.168.1.35You can specify manual printer addition or deletion using GPOs too.
User Config > Admin Templates > Control Panel > Printers
9th December 2008,12:11 PM #8
- Rep Power
- 0
Yeah, Michael - the problem users tend to have is figuring out the interface in Windows XP to add the printers, trying to make it as simple as possible.
9th December 2008,12:13 PM #9
Our webpage literally creates buttons and shows the user a button for "English Office Colour Laser", they click it, it says "Do you want to make this the default" with a Yes/No and acts upon that.We update the html file when we add change printers etc.
And finally, we have a "remove all printers" button!
9th December 2008,12:24 PM #10
- Rep Power
- 0
Hi kmount,Originally Posted by kmount
That's exactly what we want! Any idea where I could get code for something like that?
Cheers
9th December 2008,12:25 PM #11
If your using server 2003 use micorosfts internet printingLook in add\remove windows components on your server under application sever and IIS,
Enable that then your users just have to browse to <servername>/printers and you get a nice web page with a list of all the printers, queues, youc an click on a printer and select connect and your in buisness.
I just create a shortcut on my users desktop which links directly there, as long as the printers are labelled and have locations assigned its easy to use then!
(If you feel like showing off you can edit the page thats displayed with yoru own company \ school details if you wish)
9th December 2008,12:50 PM #12
Originally Posted by Kevin_Beaumont
Hi Kevin,Code to delete all printers:
Code to add a specific printer<SCRIPT LANGUAGE="VBScript">
<!--
Public Sub Delete_OnClick()
Set WSHNetwork = CreateObject("WScript.Network")
Set WSHPrinters = WshNetwork.EnumPrinterConnections
answ = MsgBox("Do you want to delete all network printers?", vbYesNo, "Add Printer")
If answ = vbYes Then
For LOOP_COUNTER = 0 To WSHPrinters.Count - 1 Step 2
If Left(WSHPrinters.Item(LOOP_COUNTER + 1), 2) = "\\" Then
WshNetwork.RemovePrinterConnection WSHPrinters.Item(LOOP_COUNTER + 1), True, True
End If
Next
End If
End Sub
-->
</SCRIPT>And we pass it arguments thru:<SCRIPT LANGUAGE="VBScript">
<!--
Public Sub AddPrinter(PrinterPath)
Set WshNetwork = CreateObject("WScript.Network")
msg="Do you want " & PrinterPath & " to be Default printer?"
answ=msgbox(msg,vbYesNoCancel,"Add Printer")
If answ=vbYes then
WshNetwork.AddWindowsPrinterConnection PrinterPath
WshNetwork.SetDefaultPrinter PrinterPath
elseif answ=vbNo then
WshNetwork.AddWindowsPrinterConnection PrinterPath
end if
End Sub
-->
</SCRIPT>Hope this helps, and I can't take credit for the code, it was written/adapted some time ago by one of my techs.<TD align="center"><input type=button value='Ed Support Computer Room Laser' language="VBScript" OnClick="AddPrinter('\\ABC-PRN-001\EDS Laser')">
Thanks to kmount from:
AngryTechnician (9th December 2008)
9th December 2008,01:00 PM #13
- Rep Power
- 0
All - Microsoft's Internet printing server (thanks Pagelad) looks like what we're after. Thanks all!Now I just need to tweak the interface so it displays more than 10 printers, and is a bit more user friendly (i.e. less options the users don't need).
9th December 2008,01:05 PM #14
From what you're saying a combination of GPO deployed printers and Microsoft's Internet Printing sounds a great idea. I've never really had a play with that *Puts it on his to do list...
Source: http://www.edugeek.net/forums/how-do-you-do/27746-network-printing-easy-way-users-add-printers.html
0 Response to "Easy Way to Add Printers by Ip"
Postar um comentário