Adam Williams
2009-Apr-24 16:15 UTC
[Samba] default printer selection based upon computer a user logs into
We are using roaming profiles. I have a user that logs onto two computers that are in different buildings. Computer 1 is collections w/ default printer HP Laserjet 4000DTN (10.8.9.223) and Computer 2 is salesshop w/ default printer HP Laserjet 4100DTN (10.8.3.31). The user complains that when she logs into salesshop, does her work, logs out, and then logs in at the collections computer, her default printer is no longer the HP Laserjet 4000DTN (even though as administrator on collections, the 4000DTN is the default printer). Is there some sort of way to collections to use the 4000DTN as the default printer?
Jean-Jacques Moulis
2009-Apr-26 11:22 UTC
[Samba] default printer selection based upon computer a user logs into
-----Original Message----- From: samba-bounces+jj=isy.liu.se@lists.samba.org [mailto:samba-bounces+jj=isy.liu.se@lists.samba.org] On Behalf Of Adam Williams Sent: Friday, April 24, 2009 6:15 PM To: Samba Subject: [Samba] default printer selection based upon computer a user logs into We are using roaming profiles. I have a user that logs onto two computers that are in different buildings. Computer 1 is collections w/ default printer HP Laserjet 4000DTN (10.8.9.223) and Computer 2 is salesshop w/ default printer HP Laserjet 4100DTN (10.8.3.31). The user complains that when she logs into salesshop, does her work, logs out, and then logs in at the collections computer, her default printer is no longer the HP Laserjet 4000DTN (even though as administrator on collections, the 4000DTN is the default printer). Is there some sort of way to collections to use the 4000DTN as the default printer? -- The default printer is a per user choice! you can set the adequate printer for a specific computer or group of computers in the logon script. i.e. :: if computer name begins with FREJA set default printer to freja @if "%computername:~0,5%"=="FREJA" %SystemRoot%\system32\cscript %SystemRoot%\system32\prnmngr.vbs -t -p "\\printserv\freja" @if "%computername:~0,7%"=="TELEKOM" %SystemRoot%\system32\cscript %SystemRoot%\system32\prnmngr.vbs -t -p "\\printserv\telekom" Regards! -- Jean-Jacques Moulis Tel: (013) 281684 ISY Fax: (013) 139282 Link?ping University E-mail: jj@isy.liu.se 581 83 Link?ping