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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.