Search found 4 matches

by DSE
Mon Jan 27, 2014 12:50 pm
Forum: Support
Topic: TRVPrint.Print not printing (not arriving in printer queue)
Replies: 6
Views: 15931

Hello Sergey,

I found these also. We will be trying them this week.

Maybe it's an idea to throw an exception if no canvas is allocated, instead of this 'silent exit'. That will be at least my 'solution'.

Thanks for the support!
by DSE
Thu Jan 23, 2014 9:37 am
Forum: Support
Topic: TRVPrint.Print not printing (not arriving in printer queue)
Replies: 6
Views: 15931

I tracked it down to RV_GetPrinterDC. In the cases nothing happens no device context is created (0). This leads to IsDestinationReady = false, which means no formatting, which means lastPgNo = 0 and firstPgNo = 1, which leads to a silent exit in TPrintableRV.PrintPages. Any ideas why CreateDC ...
by DSE
Thu Nov 28, 2013 11:12 am
Forum: Support
Topic: TRVPrint.Print not printing (not arriving in printer queue)
Replies: 6
Views: 15931

Nope, no exceptions. From a Delphi point of view everything works fine.

I'm now adding extra logging to the RichView code, to see where the flow exits.
by DSE
Wed Nov 27, 2013 10:52 am
Forum: Support
Topic: TRVPrint.Print not printing (not arriving in printer queue)
Replies: 6
Views: 15931

TRVPrint.Print not printing (not arriving in printer queue)

Sometimes when we print from TRVPrint, nothing arrives in the Windows printer queue (from then on consistently - although this might only happen after a few hundred copies who'd just print fine). If we select another printer everything works fine again (for some time). Restarting the application and ...