TRVPrint.Print not printing (not arriving in printer queue)
Posted: Wed Nov 27, 2013 10:52 am
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/or the Windows session does sometimes 'solve' the problem, but not always.
We've updates all printer software (including firmware), and went from network printers to local printers. There's nothing 'special' with the printout before the first faulty one (no errors).
Code looks like this (pdRapToon = printer dialog; rvpRapToon = TRVPrint; rvRapToon: TRichView):
Any idea anyone?
We've updates all printer software (including firmware), and went from network printers to local printers. There's nothing 'special' with the printout before the first faulty one (no errors).
Code looks like this (pdRapToon = printer dialog; rvpRapToon = TRVPrint; rvRapToon: TRichView):
Code: Select all
if pdRapToon.Execute then try
rvpRapToon.AssignSource(rvRapToon);
rvpRapToon.FormatPages(rvdoAll);
rvpRapToon.Print(Caption, pdRapToon.Copies, true);
rvpRapToon.Clear;
except
//some logging
end;