You can use go_pdf to obtain the current file as a PDF file.
go_pdf
Note: depending on the size of the file, it may take some time to obtain a file as a PDF file since the whole PDF file has to be created and delivered first.