I am trying to find a way to install a printer from a windows 2003 print server. Install printer from print server with.bat. Script to check computer and.
- Script To Install Network Printers
- Install Canon Printer
- Batch Script Install Printer
- Install Printer Driver
- Install Printer Online
- Script Install Printer
- It is not possible to answer 'how to install an.sh-file', except to say 'read the README'. It's poor practice to provide such programs. You should always look for.deb files, which is roughly comparable to.msi files in Windows, I believe.
- Search for jobs related to Setup ubuntu cccam server or hire on the world's largest freelancing marketplace with 14m+ jobs. It's free to sign up and bid on jobs. Ubuntu discovers the printer, tries to install it and asks for extra software. Required a hardening script for RHEL v7 and ubuntu 16.04 to fulfill CIS benchmark requirements.
Active6 years, 10 months ago
As per subject.
I've found some ways of scripting printer creation on Windows print servers using WMI, but it looks like WMI doesn't support clustered print servers (or clustered servers at all).
The scripts in
C:WindowsSystem32Printing_Admin_Scripts
are useless because, they are not cluster-aware and end up creating the printers on the active cluster node (just like using WMI).The only tool I found that was able to work on a clustered print server is
printui.exe
(shortcut for rundll32 printui.dll, PrintUIEntry
), but it can't create TCP printing ports: it can only add printers if the port already exists.How can I completely script printer creation (including TCP printing ports!) on a clustered Windows Server 2008 R2 print server?
Script To Install Network Printers
MassimoInstall Canon Printer
Massimo
54.1k4545 gold badges173173 silver badges290290 bronze badges
4 Answers
I don't know if this will work in a cluster enviornment, but there is the good old printbrm.exe tool. It creates what is essentially a cab file full of XML that can backup and restore printer setups between servers. This includes the dreaded TCP/IP ports. This might let you do a simple backup, modify the XML to add what you need and let you do a restore to your cluster. (Again, not sure if this is cluster aware).
Printbrm example:http://technet.microsoft.com/en-us/library/cc722360.aspx
rename the file to .cab and extract to disk..
The port file is brmports.xml. I suggest exporting out a printer or two to see how it is 'supposed' to look.
MikeAWoodMikeAWoodBatch Script Install Printer
2,39111 gold badge99 silver badges1313 bronze badges
printbrn.exe
is capable of exporting all printer configuration including drivers and ports and importing it an another server.93.6k2929 gold badges181181 silver badges316316 bronze badges
Install Printer Driver
The only way I was able to create ports first was with VBS and then use printui after the fact:
Might have some errors there but its the general idea.
Install Printer Online
RyanRyan
Script Install Printer
Have you seen this GPO setting?
Computer Configuration > Preferences > Control Panel Settings > Printers
. Then right clicking going to New > TCP/IP Printer
Not familiar with cluster print servers, but that should work for you for TCP/IP print mapping.
NixphoeNixphoe4,10377 gold badges2828 silver badges4848 bronze badges