question

Zhanjun DIng avatar image
Zhanjun DIng asked Miguel Deactivated answered

viewprintjob error: Unable to produce image files for print

I get "Unable to produce image files for print" when writing with ViewPrintJob, what is the problem?

Print
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Miguel avatar image
Miguel Deactivated answered

Are you calling this method from your main thread? After digging through some code, it looks like it might be throwing an error if it's being run in the main thread. Long running operations shouldn't be run in the main thread.

Thanks,
Miguel

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community