cancel
Showing results for 
Search instead for 
Did you mean: 

Stream a PDF using Runner ?

Former Member
0 Kudos

Is there a way to stream a PDF generated at runtime using runner ?

I tried :

http://<server>:<port>/XMII/Runner?Transaction=i036320/SamplePDF&OutputParameter=Output&Content-type...

and I got this error :

File does not begin with '%PDF-'

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

All you need to do is to add the "IsBinary=true" parameter to your URL.

abesh
Contributor
0 Kudos

Awesome Rick ! Works like a charm

Answers (1)

Answers (1)

matthias_prller
Participant
0 Kudos

Hello,

the error message means that you don't stream a pdf file. Perhaps it is an xml file?

Every PDF file starts with the magic number "%PDF"

[http://en.wikipedia.org/wiki/Magic_number_(programming)]

or [http://www.garykessler.net/library/file_sigs.html]

Regards,

Matthias