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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.