Release Notes - Prncon
Release Notes - Prncon
Release Notes - Prncon
EXE
Release Notes Version 11.11.09.1 (November 2011)
Introduction:...................................................................................................................................................... 2
Purpose:............................................................................................................................................................ 2
Operation notes:................................................................................................................................................ 2
Usage:............................................................................................................................................................... 2
Example:....................................................................................................................................................... 2
Alternate usage:............................................................................................................................................ 3
Supported Operating Systems:..................................................................................................................... 3
Tested Operating Systems:........................................................................................................................... 3
64 bit support................................................................................................................................................ 3
Sample Log file:............................................................................................................................................ 3
Trademark Notice:............................................................................................................................................. 4
Introduction:
PRNCON.EXE is as console application for removing and adding an hp network printers point-and-print
connection between a Windows client workstation and a print server. Driver information is stored in a log
file when adding or removing point-and-print connected network printers.
Note: PRNCON.EXE does not remove the printer driver from the client or print server.
Purpose:
When printer driver files are upgraded on the print server, it is necessary to synchronize the client printer
driver files with the print server to ensure that the client can print properly and utilize all new features
provided by the upgraded print driver. If the client has an active connection to the print server at the time
the print driver files are upgraded, the print driver files installed on the client may be locked and will not
update until the user logs off the workstation and logs in again. In some cases, this process of logging off
and back in may not be sufficient to resynchronize all driver files with the print server.
Hewlett-Packard created the PRNCON.EXE tool to automate the process of remotely removing and
reestablishing a network point-and-print connection and logging the results.
Operation notes:
PRNCON operates on hp drivers only. PRNCON checks the name of the driver associated with the
printer, and if the driver name does not contain HP or Hewlett (case ignored) the printer will be
bypassed.
Usage:
prncon -s <server_name> -p <printer_name> -f <trace_file> -a|-d [w <milliseconds>]
<server_name> - Print server name, without "\\".
<printer_name> - Printer name as defined on server.
<trace_file> - Name of trace file, including complete path. If the f option is not specified, the
default trace file is: Default trace file is: %TEMP%\prncon.trc
-a - Used to add a printer connection.
-d - Remove a printer connection.
<milliseconds> - Number of milliseconds to wait between delete and add operations
Default is 0 milliseconds
-? Display command line help
Notes:
The printer has to be shared on the server; <printer_name> is not the SHARE name.
It has been observed that some clients will not properly synch up with the settings on the print
server unless there is a time lapse between the delete and add operations. If this behavior is
observed, it is recommended to start with a 3 second wait period (-w 3000).
Example:
To remove connection:
prncon -s prnsvr123 -p "HP LaserJet 4000 PCL 6" -f "%temp%\prncon.log" -d
To add a connection:
prncon -s prnsvr456 -p "HP LaserJet 4000 PCL 6" -f "%temp%\prncon.log" -a
Alternate usage:
Running PRNCON.EXE without any switches will reset all point-and-print connections between the client
and the print server(s)
64 bit support
PRNCON is a 32 bit application, but it will run on 64 bit systems.
------ PRNCON.exe Starting on Machine : CWDCN070D6B, Time : Tuesday, May 25, 2010 16:15:08 -----PRNCON version 10.05.24.1 :
3.
4.
5.
6.
7.
Environment
: Windows NT x86
Driver File
: C:\WINNT\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
Data File
: C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpcu091s.ppd
Config File
: C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpmdp091.dll
File - C:\WINNT\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
Time Stamp
- Wednesday, August 26, 2009 16:47:32
Language
- English
File Version - 0.3.7600.16385
Prod Version - 6.1.7600.16385
File - C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpmdp091.dll
Time Stamp
- Wednesday, September 02, 2009 04:02:30
Language
- English
File Version - 0.3.1540.66
Prod Version - 5.0.1.42
********************************************
'\\RSM0NAM01\CPP-2-1B-1' Printer Connection has been deleted
********************************************
Connecting to printer \\RSM0NAM01\CPP-2-1B-1
***************** New Printer Info **************
Printer Name is :\\RSM0NAM01\CPP-2-1B-1
Server Name is : \\RSM0NAM01
Printer Driver is :
HP Universal Printing PCL 5 (v4.7)
************** New Driver Details ************
Environment
: Windows NT x86
Driver File
: C:\WINNT\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
Data File
: C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpcu091s.ppd
Config File
: C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpmdp091.dll
File - C:\WINNT\System32\spool\DRIVERS\W32X86\3\PSCRIPT5.DLL
Time Stamp
- Wednesday, August 26, 2009 16:47:32
Language
- English
44.
File Version - 0.3.7600.16385
45.
Prod Version - 6.1.7600.16385
46. File - C:\WINNT\System32\spool\DRIVERS\W32X86\3\hpmdp091.dll
47.
Time Stamp
- Wednesday, September 02, 2009 04:02:30
48.
Language
- English
49.
File Version - 0.3.1540.66
50.
Prod Version - 5.0.1.42
51. ------ PRNCON.exe Stopping Trace on Machine : CWDCN070D6B, Time : Tuesday, May 25, 2010 16:15:40
------
Trademark Notice:
Microsoft, Windows XP, Windows Vista and Windows 7 are registered trademarks of Microsoft, Inc. in the
U.S. and other countries.