<@U2C4YU4R3>, yes, you would have to save the file...
# suitescript
s
@saiyadmfaraz, yes, you would have to save the file object to the file cabinet and then reference it using the src attribute of the pdf tag.