With unlock.exe provided from HobbesArchive, the printer creation now fails this way. It's an HP Color Laserjet Pro M252, which works pretty well under ArcaOS. My goal is to get Manage Printers, CupsWiz and PSPRINT to work under MCP, and eventually under Warp 4.
(The screen shot says see CupsWiz.L1. Scroll down to the end of CupsWiz.L1 to see the most recent errors.)
It's failing when it attempts to run prntobj.exe to create the WPS printer object and queue. The error from prntobj.exe should be recorded in cupswiz.l2 (in the same directory as cupswiz.l1). That should tell us which API function call in prntobj actually failed. (prntobj.exe comes with cupswiz and is installed in the same directory.)
FWIW the exact command it's running should be:
prntobj HPCOLOR1 CUPS3 "PSPRINT.HP Color LaserJet M552" "HP Color LaserJet M552"
It seems the actual error code the OS/2 spooler is returning is 5, which is an Access Denied error. I'm not sure what would cause that.
By the way, do make sure that C:\OS2\DLL\PSPRINT\PSPRINT.DRV has all its extended attributes (the output from 'dir' should show about 20Kb of EAs). In general, printer drivers will break horribly if they lose their EAs, because they contain a lot of essential information.