#99493 - 2003-03-12 09:01 PM
DELPRINTERCONNECTION, drivers, etc.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Running into a problem with legacy drivers under a Windows 2000 environment. This is a result of recent migration of client systems to Windows 2000.
We can go in a manually remove the printer drivers on a each client. However, when you use the delete printer, it still appears to hold onto the printer drivers.
Thanks,
Kent
|
Top
|
|
|
|
#99496 - 2003-03-13 12:55 AM
Re: DELPRINTERCONNECTION, drivers, etc.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Here is some Pseudocode..
code:
$regkey='HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-2' $location='%windir%\system32\spool\drivers\w32x86\2' If ENUMKEY($regkey)<>'Acrobat PDFWriter' $configfile=READVALUE($regkey,'Configuration File') IF EXIST($location+'\'+$configfile) DEL $location+'\'+$configfile ENDIF $datafile=READVALUE($regkey,'Data File') IF EXIST($location+'\'+$datafile) DEL $location+'\'+$datafile ENDIF $dependentfiles=READVALUE($regkey,'Dependent Files') IF EXIST($location+'\'+$dependentfiles DEL $location+'\'+$dependentfiles) ENDIF $driver=READVALUE($regkey,'Driver') IF EXIST($location+'\'+$driver) DEL $location+'\'+$driver ENDIF $helpfile=READVALUE($regkey,'Help File') IF EXIST($location+'\'+$helpfile) DEL $location+'\'+$helpfile ENDIF $RC=DELTREE($regkey+'\'+$regenum) ENDIF
Kent
|
Top
|
|
|
|
#99498 - 2003-03-13 01:28 AM
Re: DELPRINTERCONNECTION, drivers, etc.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Yes. Version-3 are the 2000 drivers..
Kent
|
Top
|
|
|
|
#99501 - 2003-03-13 02:32 PM
Re: DELPRINTERCONNECTION, drivers, etc.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
We are running into a problem with a generic "HP 4 Plus Driver" even though we have HP 4000, 5N, etc. printers. Since we have recentely completed the migration of all of our systems to Windows 2000, it is causing problems with MS-Excel, Adobe Acrobat, VFP, and so on. We are finding that even going to to the right driver is not helping either. So what is helping? Going to a PCL 6 rather than an a PCL 5 driver. The HP 4 Plus driver is what we had as a "generic" printer driver and was mainly Citrix-driven. But, we now have the drivers updated on the Citrix boxes too.
Kent
|
Top
|
|
|
|
#99503 - 2003-03-14 02:00 PM
Re: DELPRINTERCONNECTION, drivers, etc.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Shane,
The two problems we are having is with the "generic" LaserJet 4 Driver and they are ACRORD32.EXE errors when printing and EXCEL does not go between legal and letter/portrait and landscape.. We are finding the PCL 6 driver specific to the printer is what is working. We have tried the PCL 5 driver specific to the printer and it does not work. All of our clients are now on Windows 2000 SP-3. I am finishing the last two NT-4 this morning at our satellite location.
The removal of the driver pseudocode came to me from one of the people I work with as he showed how to remove the driver under NT-4. Whereas, under 2000, you go to printers and then File/Server Properties and then the driver tab.. You can then delete the driver from there.
Thanks,
Kent [ 14. March 2003, 14:48: Message edited by: kdyer ]
|
Top
|
|
|
|
#99504 - 2003-03-14 02:04 PM
Re: DELPRINTERCONNECTION, drivers, etc.
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
The other thing is that we are in process of changing over from an NT-4 print server to a 200 print server too..
Kent
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 194 anonymous users online.
|
|
|