Uniprint Administrators can determine the print driver type and version that are actively being used in print queues via the Pharos Administrator.
- Navigate to Output Management > Queues:
From Windows Print Management, Admins can view if a print driver is present on the server.
- Open Windows Print Management, navigate to Print Servers > YourServer > Drivers
From Windows Print Management you can see all Printer Objects that are using the “PharosSecurePort”.
- Open Windows Print Management, navigate to Print Servers > YourServer > Ports.
Here is a PS script to get Uniprint Drivers for Printers that are configured to use the PharosSecurePort:
Get-Printer | Where-Object { $_.PortName -like 'PharosSecurePort*' } | ForEach-Object {
$printer = $_
Write-Host "Processing printer: $($printer.Name) on port: $($printer.PortName)" # Debug line
$driver = Get-PrinterDriver -Name $printer.DriverName
# Check if the driver exists for the printer and if it is an HP driver
if ($driver -and $driver.Name -match 'HP') {
[PSCustomObject]@{
PrinterName = $printer.Name
DriverName = $driver.Name
DriverVersion = ($driver.DriverVersion | ForEach-Object {
$ver = $_
(3..0 | ForEach-Object { ($ver -shr ($_ * 16)) -band 0xffff }) -join '.'
})
}
} elseif ($driver) {
Write-Host "Skipping non-HP driver: $($driver.Name) for printer: $($printer.Name)" # Debug line
} else {
Write-Host "No driver found for printer: $($printer.Name)" # Debug line
}
}
Note: If you do not install the "Named Version" when installing the driver, you will get the result as HP Universal Print PCL 6.