Rests visible after printing

On this score, implicit rests are transparent. In Write, Engrave, and Print modes,
the rests are indeed invisible.
However, when I open the PDF document created by printing the score,
the rests are replaced by blanks that cover the staff lines.
How can I solve this issue?

How it looks in Dorico:

How it looks on the pdf dokument:

Are you saving the PDF as Mono, or color?

Thank you @benwiggy ,
Instead of using the PDF printer, I went to the Graphics tab.
With PDF in Mono, the problem disappeared;
it’s perfect, and the files are also much smaller.