Hello
Hello,
Did you notice any ""Printer is not currently printing" error recently ?
with an application that use Printer objet report this error on some computers with no reason I can figure out.
Delphi XE3
Did you notice any ""Printer is not currently printing" error recently ?
with an application that use Printer objet report this error on some computers with no reason I can figure out.
Delphi XE3
Sometime last year, MS changed a character set and updated a lot of fonts to support some new Kazakstan currency thing, and I know that caused no-print issues with Crystal Reports. Other than that, I've not heard of any such errors from our users.
ReplyDeleteThanks Daniel ! :)
ReplyDeleteInteresting. I guess we were saved by still running Windows 7 Enterprise.
ReplyDeleteLars Fosdal this affects windows 7 too. Make sure to skip KB3177725 for now. Windows 10 has a different KB number, I think it's mentioned in the forum post.
ReplyDeleteI have same problem some days ago.. In my case, I resolve by forcing re-create TPrinter global object inside Vcl.Printers:
ReplyDelete..Vcl.Printers.Printer.BeginDoc;
..try
....//ommited code
....Vcl.Printers.Printer.EndDoc;
..finally
....Vcl.Printers.SetPrinter(nil).Free;
..end;
Apparently there's a bug in Vcl.Printers that makes something become "stuck" in memory
it is due to caching the printer DC more here
ReplyDeletehttps://quality.embarcadero.com/browse/RSP-15648
1) this is driver specific
2) I guess doing a Printer.Refresh; BEFORE Printer.BeginDoc will also work, basically anything that will re-create the DC. The bug report above also has a WA.
3) the update that broke this was because of security fixes for kernel objects
4) there is a link to the MS "forums" in the above bug report that discusses problem.