We install printers on a spooler. The printers are shared and have a share name. When we connect from a client to the spooler the Windows system installs the printer drivers the first time or if there s an update to the driver. This is all automatic. Just install ou printers on yur print server once and everything else is automatic. User can chose to use any pronter they have permissions on. All printers are available for printing by everyone by default. Welcome › Forums › General PowerShell Q&A › Add-printer remotely. This topic contains 10 replies, has 6 voices, and was last updated. Is there a way to reference a specific share with printer drivers located in it for the printer rather than using the ones from the machine? The help for Add-PrinterDriver is somewhat lacking. Powershell: Managing Printers and Their Drivers in Windows 8. Microsoft released a new PowerShell version 4.0 simultaneously with the launch of Windows 8.1 and Windows Server 2012 R2. The new version is a part of Windows Management Framework 4.0, and has a significantly extended the list of Windows-based print server management cmdlets. Sep 19, 2018 If you need to install the driver to, then you can use PowerShell for that with the add-printerdriver cmdlet, but you will need Administrator credentials for this. So before we are going to add the printer, we check if the printer driver exists. If we have a printer driver, then add the printer.
Active1 month ago
I am looking for a solution to export settings which were made on a specific printer which uses for example a 'CAB A3 300DPI' Driver and import them afterwards on a diffrent device, which is using the same driver. To do that I want to use PowerShell. I am well aware of the PrintUI.dll but this causes too many errors on my side when I try to import the settings on some printers.
I already found a solution to import the 'Printing Defaults..' under the menu entry 'Advanced' but none yet for the settings for 'Preferences..' under the menu entry 'General'.
For the export and import for the 'Advanced'->'Printing Defaults..' I used the following commands found here Copy printer defaults to other printers:
Export:
Import:
Anyway like I said this is just a partial solution since I still need to export and import the printer's 'General'->'Preferences..' settings for the printer.
Something mentioned earlier the PrintUI.dll which I used causes errors when importing the settings on some of the printers. For this I used the following here:
Get Installed Printer Drivers Powershell
Export:
Import:
I also should mention that I exported the settings on a Windows Server 2008 Service Pack 2 and imported them on a Windows Server 2012 r2.
Every input in highly appreciated!
Under the company's idea, its new creation might become a perfect choice for the creation of various RAID configurations. Ati radeon x600 driver windows 10. Besides, the implemented design, facilities and user-friendly interface are going to attract even the entry-level customers.Additionally to five 3.5-inch drives, Data Robotics stipulates the integration of one SSD of mSATA standard; its main function is to fulfill caching activity of frequently used data.
Community♦
CrashmeCrashme
1 Answer
this is late for you.. but I figured out how this works last year and posted it on technet:
This is generally how to export printer configurations using powershell's built in commands and apply them to another printer (It is a powershell replacement for printui dll)
Hope it helps someone here :-)
MithUK
MithUK1MithUK1
![Powershell Powershell](/uploads/1/2/4/8/124888256/196283340.png)
Not the answer you're looking for? Browse other questions tagged powershellprinter or ask your own question.
Active3 years, 10 months ago
![Install printer driver remotely powershell Install printer driver remotely powershell](/uploads/1/2/4/8/124888256/385195793.png)
I'm trying to automate printer installation on windows 7 x64, by using Powershell script. So far I have a script that successfully creates TCP/IP port but gives me an error - The arguments are invalid, when it executes printer installation part of the code. Any ideas on how to fix the problem and successfully install a printer through the Powershell? The code is as follows:
Question Update: This is the working CMD code, so how do I incorporate it into the Powershell code above ?
Gazel
GazelGazel6522 gold badges44 silver badges1313 bronze badges
4 Answers
To embed double-quotes within a double-quoted string you need to escape them. Since you are not using variables, it is easier to use a single quoted string e.g.:
If you ever need to use PowerShell variables inside this string, then you will need to switch back to double quotes and escape the necessary DQ characters e.g:
Keith HillKeith Hill152k3131 gold badges285285 silver badges322322 bronze badges
Sorry, but im not sure why you are calling CMD /C @PARAMS. I am just calling the printui.exe directly and it is working, and I only double quote the Args
tomohulktomohulk31111 gold badge77 silver badges2020 bronze badges
I know this has already been answered but you could borrow the code I have in this Excel Workbook (there is a link in the article). I realize it uses VBS but these are built in scripts in Windows and cutting / pasting into Excel has saved me many times and I've installed thousands of printers this way
Douglas AndersonDouglas Anderson3,50577 gold badges3535 silver badges4444 bronze badges
Sam DoxySam Doxy