FWIW, .setpdfwrite was deprecated in gs 9.5.0 (2019-08-13) and removed in gs 9.5.4 (2021-02-12). Quick googling shows that the removal has broken various projects that involve PDF and use gs over the last year.
Vieri, if you are building guacd yourself, it's trivial to remove it: guacamole-server-1.4.0/src/protocols/rdp/print-job.c lines 48 and 49. http://git.ghostscript.com/?p=ghostpdl.git&a=search&h=refs%2Fheads%2Fgs9.55.0&st=commit&s=setpdfwrite http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=180419375973b9ce4664286a67106d712260ef7f On Thu, Jan 13, 2022 at 4:43 PM Vieri <rentor...@yahoo.com.invalid> wrote: > > On Thursday, January 13, 2022, 11:30:41 PM GMT+1, Vieri > <rentor...@yahoo.com.invalid> wrote: > > > It looks like the issue lies in GhostScript itself > > Error: /undefined in .setpdfwrite > > That option is indeed passed to "gs" in the case of the print filter > command used by the RDP support > > I downgraded to ghostscript-gpl-9.52, and PDF printing now works fine! > It also seems that simply removing .setpdfwrite in guacamole should be > fine. It doesn't seem to do much anyway. > > Should a bug report be opened, or is this ML thread enough? > > Thanks again, > > Vieri > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org > For additional commands, e-mail: user-h...@guacamole.apache.org > > -- Jonathan Hankins Homewood City Schools W: 205-877-4548 -- This e-mail is intended only for the recipient and may contain confidential or proprietary information. If you are not the intended recipient, the review, distribution, duplication or retention of this message and its attachments are prohibited. Please notify the sender of this error immediately by reply e-mail, and permanently delete this message and its attachments in any form in which they may have been preserved.