On Thu, Jan 13, 2022 at 2:46 AM Vieri <rentor...@yahoo.com.invalid> wrote:
>
> On Thursday, January 13, 2022, 09:55:26 AM GMT+1, Mike Jumper 
> <mjum...@apache.org> wrote:
>
> >> I can even send the "empty" PDF file that the client downloads if that can 
> >> be of any help.
> >
> > Sure - I'd be interested to see the content received.
>
> I'm attaching the PDF. You should see "printer test" on the first page. 
> Instead, it's blank.
>

It looks like the issue lies in GhostScript itself, perhaps due to an
update that affects the command-line options accepted by "gs". Within
the PDF you attached, there's junk at the top consisting of
errors/warnings from GhostScript:

Error: /undefined in .setpdfwrite
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   .run
exec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--
Dictionary stack:
   --dict:764/1123(ro)(G)--   --dict:0/20(G)--   --dict:75/200(L)--
Current allocation mode is local

Searching around for the above error, there's a post that suggests the
"-c .setpdfwrite" option has been deprecated by GhostScript:

https://stackoverflow.com/questions/57787990/strange-error-on-ghostscript-conversion-ps-to-pdf

That option is indeed passed to "gs" in the case of the print filter
command used by the RDP support:

https://github.com/apache/guacamole-server/blob/b2ae2fdf003a6854ac42877ce0fce8e88ceb038a/src/protocols/rdp/print-job.c#L34-L54

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org

Reply via email to