I could not repeat it in my DB, our client's log has some cases where Periodic customer statement report (probably with "Show Official Ser Nr." checked which is RcVc.flags[15] - the same as an option to print grouped invoice rows) is being run before printing the invoice which fails to print in normal way:
2023-03-22 08:17:50 DDAU Filtering records on the main thread!
2023-03-22 08:17:51 SYSTEM Sending Email from xxx
2023-03-22 08:17:52 /THREAD(10) SMTP connecting to xxxxx
2023-03-22 08:17:52 /THREAD(10) SMTP connected
2023-03-22 08:17:55 DDAU/THREAD(14) Report Periodinė pirkėjų būklė - periodic statement report
2023-03-22 08:19:01 GALEKS Printing Faktūros 282314
2023-03-22 08:19:01 GALEKS PDF Error: 4119
2023-03-22 08:19:01 GALEKS PDF Error: 4119
2023-03-22 08:19:19 VSALY Filtering records on the main thread!
2023-03-22 08:19:31 SBOROV Filtering records on the main thread!