To export the content of an Artifact as a PDF file select the Artifact, click on on the top right and then choose Print.