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
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.
yes , the HTML output is from SAS
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;
run;
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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.