Dear David.
Same print testwprn.prg code working just fine on old 2003 TS.
After reading some resources come to conclusion that may be print OKI 9 pin v4 driver not working properly.
I have one new OKI 5721 printer , so it was very easy to update driver , now it's appears like v3 and I been able to print to this printer.
Now, back to the egg - all the rest of connected printers are old OKI 3410 and OKI 3320. By some reason there is no such print drivers in W2012 r2.
Log file showing that OKI v3 driver using "winprint" processor , same as it was on w2003 TS , but when it's dealing with a new w2012 r2 OKI 9pin v4 driver print processor set to "MS_XPS_HYBRID_PROC" which might be a source of a problem :
"A fatal error occurred while printing job C:\Users\ADMINI~1.CQF\AppData\Local\Temp\2\xht7D2.tmp, id 6 on the print queue OKIXX. The print filter pipeline process was terminated. Error information: 0x8051100F."
"The print job 6 was sent through the print processor MS_XPS_HYBRID_PROC on printer OKIXX, driver OKI Dot-Matrix 9Pin ESC/P Class Driver, in the isolation mode 0 (0 - loaded in the spooler, 1 - loaded in shared sandbox, 2 - loaded in isolated sandbox). Win32 error code returned by the print processor: 0x8051100F."
Cheers,
Ivan