Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Absent Member.
Absent Member.

iPrint policy and default printer

I'm trying to use the iprint policy to deliver printers (queues), force
the default and remove other printers. The policy is workstation
associated (on the OU) and is set to system impersonation - I've tried
both user login and user desktop is active as scheduled event. Users are
subject to a DLU policy (non-volatile and members of the local Users

What I observe is that the policy executes without issue to remove the
existing printers and install the new ones. Enforcing the default is
intermittent - sometimes it works, sometimes it doesn't. This is with
the same user. No pattern.

I've enabled both ZEN debug logs and iPrint trace logs. All I see in the
ZEN WMiPrint debug log is:

WS - InstalliPrintPrinter - g_pIPrintSetAsDefaultPrinter - ERROR

When the policy works, this line reads SUCCESS.

There's a ton of info in the iPrint trace... something that stood out
are failures for RegCreateKeyEx or RegOpenKeyEx calls re: PortNames and
InstallPortNames registry keys.

The ZEN Agent is the latest ( but the iPrint client is a bit
older, 5.30. I did a quick review of the change logs for the newer
client versions but didn't see anything relevant. Updating the agent is
still on my list of things to try tho...

I have seen talk of setting AllowUserPrinters = 1 in iprint.ini when DLU
is involved but I don't see how that's relevant as printer installation
isn't the issue.

Any thoughts on what else to look for?

1 Reply
Absent Member.
Absent Member.

I updated the iPrint client on one of the PCs this morning from 5.30 to
5.50. First two logins were a SUCCESS as per the ZEN WMiPrint debug
log... third attempt failed with the same error in the ZEN WMiPrint
debug log - "g_pIPrintSetAsDefaultPrinter - ERROR".
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.