It is in a logon script. I suppose you could put it in a GPO, or at least
use AD to pass it down as a logon script.
_________________________ Artificial intelligence is no match for natural stupidity.
----Original Message Follows---- From: "Herchenbach, Jim" <jherchenbach@xxxxxxxxxx> Reply-To: windows2000@xxxxxxxxxxxxx To: <windows2000@xxxxxxxxxxxxx> Subject: [windows2000] Re: Printers for ALL Date: Tue, 2 Sep 2003 16:56:19 -0500
-----Original Message----- From: Nayden Kolev [mailto:naydencho@xxxxxxxxxxx] Sent: Tuesday, September 02, 2003 4:52 PM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Re: Printers for ALL
It does not create a copy if the mapping is already there. What I had done was to get this setup for new users that login for the first time. I had some logic built into it - I dropped a flag file (something like first.logon.flg into the C:\Documents and Settings\Default User\ directory. If the user logs on for the first time that directory gets copied into his/her own profile. You can modify the logic to fit your needs... So the logon script looks there and if it determines that this is the user's first logon then it runs the printer mapping portion of the script, otherwise it skips it. This is what I have in my script:
:: Determine whether or not it is running on a fresh user. IF EXIST "%USERPROFILE%\initscript.flg" GOTO FIRSTLOGON GOTO EOFIRSTLOGON
:FIRSTLOGON SET FIRSTLOGONn=1 del /Q "%USERPROFILE%\initscript.flg" IF %FIRSTLOGONn%.==0. GOTO EOMAPPRINTERS1 :MAPPRINTERS1 con2prt.exe /cd \\SERVER1\Printer1 con2prt.exe /c \\SERVER1\Printer2 :EOMAPPRINTERS1
You just have to make sure that con2prt.exe is either in the netlogon share or in the workstation's system32 directory.
_________________________ Artificial intelligence is no match for natural stupidity.
----Original Message Follows---- From: "Herchenbach, Jim" <jherchenbach@xxxxxxxxxx> Reply-To: windows2000@xxxxxxxxxxxxx To: <windows2000@xxxxxxxxxxxxx> Subject: [windows2000] Re: Printers for ALL Date: Tue, 2 Sep 2003 12:39:59 -0500
that sounds like what i need. one question, if the printer has already been created, does it creat a copy at login or do I need to delete existing printer connections first, then create the network printer share?
-----Original Message----- From: Nayden Kolev [mailto:naydencho@xxxxxxxxxxx] Sent: Monday, September 01, 2003 12:22 PM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Re: Printers for ALL
Is this a printer/printers setup on a print server? If you can get to the print queue with a UNC path, then you can use con2prt.exe (I believe it is a part of the Resource Kit and it was posted in the downloads section of the Windows2000 list) and add a line to their logon script. You can also use a batch file, build some logic into it and put in their startup folder... the entry would be
con2prt.exe /cd \\ServerName\PrintQueueName if you want to make it the default printer...
_________________________ Artificial intelligence is no match for natural stupidity.
----Original Message Follows---- From: "Herchenbach, Jim" <jherchenbach@xxxxxxxxxx> Reply-To: windows2000@xxxxxxxxxxxxx To: <windows2000@xxxxxxxxxxxxx> Subject: [windows2000] Re: Printers for ALL Date: Mon, 1 Sep 2003 10:12:11 -0500
This is getting frustrating. When I try to set the permissions on the folder below.....and then go to apply, the creater/owner unchecks itself (Strange). Could the problem have anything to do with me using a external hp print server device? I have the folder permissions set "not to inherit" and the spool file is NOT a read only file. Personally I think its crap that a person can't make a network printer show up for ALL USERS. I've installed uptodate drivers....and everything prints fine. The printer properties are the basic defaults. I've reinstalled it several times.
Ok...so next question. Could I setup a script or GPO to create this printer at logon? If so, how would I do this?
-----Original Message----- From: Sullivan, Glenn [mailto:GSullivan@xxxxxxxxxxxxxx] Sent: Thursday, August 28, 2003 11:46 AM To: 'windows2000@xxxxxxxxxxxxx' Subject: [windows2000] Re: Printers for ALL
Sounds like you have changed the permission on the folder where the spool documents are stored, and they cannot delete from that folder.
My spool folder is at C:\WINNT\System32\spool\printers, but your may be different. In the printers control panel, click File->Server Properties, and look at the path on the advanced tab...
Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc.
-----Original Message----- From: Herchenbach, Jim [mailto:jherchenbach@xxxxxxxxxx] Sent: Thursday, August 28, 2003 12:40 PM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Re: Printers for ALL
Its been a while, but I need to revisit this. I have set this up as you recommended, but now I'm having some strange problems. Whenever I turn on one of the machines that this is set up on I get a complete print out of everything that was printed the day before. The queue is not purging itself so to speak. Is there a setting I'm missing?
-----Original Message----- From: Sullivan, Glenn [mailto:GSullivan@xxxxxxxxxxxxxx] Sent: Friday, August 08, 2003 9:52 AM To: 'windows2000@xxxxxxxxxxxxx' Subject: [windows2000] Re: Printers for ALL
In the add printer wizard, choose "Local Printer (Do not detect)" and when asked for a port, choose "New Local Port"
When prompted for the local port name, put the UNC of the network printer queue.
Glenn Sullivan, MCSE+I MCDBA David Clark Company Inc.
-----Original Message----- From: Herchenbach, Jim [mailto:jherchenbach@xxxxxxxxxx] Sent: Friday, August 08, 2003 10:50 AM To: windows2000@xxxxxxxxxxxxx Subject: [windows2000] Printers for ALL
I have a question in regard to individual users and printers. I'm sure this is by design, but when I install a printer, it only appears for the user who is logged in at the time. Next user, install printer.....next user - install printer.....
What do I have to do to install a printer and have it appear for ALL the users of that perticular machine. Some pc's will have 10 different users per day.
_________________________________________________________________ MSN 8: Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup
********************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link.
********************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link.
_________________________________________________________________ Help protect your PC: Get a free online virus scan at McAfee.com. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
********************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link.
********************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link.
********************************************************** To Unsubscribe, set digest or vacation mode or view archives use the below link.