YeOldeStonecat
[H]F Junkie
- Joined
- Jul 19, 2004
- Messages
- 11,330
Always been a small business network guy...when adding printers to workstations it's easy to browse to the print share from the server, right click and connect..and BAM they're all set.
Taking care of a growing network where I'd like to automate deploying printers. They're still currently on Small Business Server 2003 R2. I went to try the 2K3 R2 Print Management Console method..but that feature of R2 to deploy it via GP seems to be crippled in SBS. There are member servers in this domain which are R2, but I'm finding an issue trying to connect it to a GPO. Maybe more research as I'm not a whiz on GPOs yet.
So I figured to get this one printer rushed out...I'd try the old PrintUI.DLL in the login script.
Seemed simple enough,
The printer is actually a Canon iR2880 Fax which I need to deploy. Treated just like a printer, and it's installed just like a printer when doing the right click connect from the server share. So I thought PrintUI.DLL would be able to do it.
The server sharing it as \\host-17
(not my naming convention..existing server)
The print share is say, iR2880Fax
So \\host-17\iR28880Fax
So I add the following to the login script in my first attempt, reading from Microsofts document "PrintUI.DLL Users Guide and Reference"
rundll32 printui.dll PrintUIEntry /in /n\\machine\printer
Which I edit to show as
rundll32 printui.dll PrintUIEntry /in /n\\Host-17\iR2880Fax
No love, I Google around more, and find references to having a comma in between .dll and PrintUIEntry, so I change it to
rundll32 printui.dll,PrintUIEntry /in /n\\Host-17\iR2880Fax
Still no love.
So I remote into a server of a buddy of mine who has it working, and he has quotes around the UNC of the printer, so I change it to have that...
rundll32 printui.dll PrintUIEntry /in /n"\\Host-17\iR2880Fax"
Still no love.
Anyone got a bone to toss in?
Taking care of a growing network where I'd like to automate deploying printers. They're still currently on Small Business Server 2003 R2. I went to try the 2K3 R2 Print Management Console method..but that feature of R2 to deploy it via GP seems to be crippled in SBS. There are member servers in this domain which are R2, but I'm finding an issue trying to connect it to a GPO. Maybe more research as I'm not a whiz on GPOs yet.
So I figured to get this one printer rushed out...I'd try the old PrintUI.DLL in the login script.
Seemed simple enough,
The printer is actually a Canon iR2880 Fax which I need to deploy. Treated just like a printer, and it's installed just like a printer when doing the right click connect from the server share. So I thought PrintUI.DLL would be able to do it.
The server sharing it as \\host-17
(not my naming convention..existing server)
The print share is say, iR2880Fax
So \\host-17\iR28880Fax
So I add the following to the login script in my first attempt, reading from Microsofts document "PrintUI.DLL Users Guide and Reference"
rundll32 printui.dll PrintUIEntry /in /n\\machine\printer
Which I edit to show as
rundll32 printui.dll PrintUIEntry /in /n\\Host-17\iR2880Fax
No love, I Google around more, and find references to having a comma in between .dll and PrintUIEntry, so I change it to
rundll32 printui.dll,PrintUIEntry /in /n\\Host-17\iR2880Fax
Still no love.
So I remote into a server of a buddy of mine who has it working, and he has quotes around the UNC of the printer, so I change it to have that...
rundll32 printui.dll PrintUIEntry /in /n"\\Host-17\iR2880Fax"
Still no love.
Anyone got a bone to toss in?
Last edited: