09-15-2017 10:37 AM
May i know if we Can read HTML file in sas and convert into PDF ?
Currerntly Iam using third party tools like PDFMYURL.com and so on..
I just want read final output.html file and conver into pdf
09-15-2017 10:48 AM
Is the output.html file from SAS? Can you provide some more details?
There's no direct method, but if it's SAS output that can also be redirected to a PDF file. You can also use third party tools directly from SAS using the X/SYSEXEC command to call them.
09-15-2017 10:56 AM
yes , the HTML output is from SAS
09-15-2017 11:18 AM
The basic SAS output to PDF is ODS. You would place procedures that generate output between an ODS PDF destination statement and an ODS PDF Close statement.
ods pdf file="C:\path\myfile.pdf";
proc print data=sashelp.class;
ods pdf close;
Would create the PDF file myfile.pdf in the folder C:\path and have the results of the proc print.
If you are writing raw html then this approach likely won't help.