Download a pdf file in service monitoring

Yes, you need to provide the data as “Long output of check plugin”.
This is a normal behavior for classic Nagios checks and if your Greenbone script is a classic Nagios check it should also output the data in the needed form.
It is also possible to have in this multi line output HTML formatted data and display something like a table.