1 / 24

Getting the Right Report (Again): Your Compatibility Guide for ODS PDF 9.2

Getting the Right Report (Again): Your Compatibility Guide for ODS PDF 9.2 . Bari Lawhorn and Scott Huntley, SAS Institute Inc., Cary, NC . Images. SAS 913. SAS 920. DPI – Dots per inch. 700 x 250 at 150 DPI = 4.67 inches by 1.67 inches (SAS 913)

trella
Download Presentation

Getting the Right Report (Again): Your Compatibility Guide for ODS PDF 9.2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting the Right Report (Again): Your Compatibility Guide for ODS PDF 9.2 Bari Lawhorn and Scott Huntley, SAS Institute Inc., Cary, NC

  2. Images

  3. SAS 913 SAS 920

  4. DPI – Dots per inch 700 x 250 at 150 DPI = 4.67 inches by 1.67 inches (SAS 913) 700 x 250 at 100 DPI = 7 inches by 2.5 inches (SAS 920)

  5. Title placement vs. PDF Text

  6. SAS 913 SAS 920

  7. Startpage to the rescue! ods escapechar = '^'; ods pdf file='text.pdf' startpage=now; ods pdf startpage=no; title 'Title statement'; ods pdf text = '^{style [just=center foreground=blue font_size=12pt] Text before the table}'; proc print data=sashelp.class(obs=5);run; ods pdf close;

  8. ODS Layout

  9. ODS Layout in 9.2 – What Happened? 122 ods pdf close; NOTE: ODS PDF printed 4 pages to c:\temp\9.2.pdf.

  10. ODS Layout – region statement ods layout start columns=2 column_widths=(5in 5in); ods region height=3.5in;

  11. Font improvements Arial vs. Albany AMT Times New Roman vs.Thorndale AMT Courier New vs.Cumberland AMT

  12. PDF files in SAS 9.2, my how you’ve grown

  13. Font Embedding

  14. Font improvements – ignore them proc template; define style Styles.myPrinter; parent = styles.printer; class fonts / 'TitleFont2' = ("Times",12pt,bold italic) 'TitleFont' = ("Times",13pt,bold italic) 'StrongFont' = ("Times",10pt,bold) 'EmphasisFont' = ("Times",10pt,italic) 'FixedEmphasisFont' = ("Courier",9pt,italic) 'FixedStrongFont' = ("Courier",9pt,bold) 'FixedHeadingFont' = ("Courier",9pt,bold) 'BatchFixedFont' = ("SAS Monospace, Courier",6.7pt) 'FixedFont' = ("Courier",9pt) 'headingEmphasisFont' = ("Times",11pt,bold italic) 'headingFont' = ("Times",11pt,bold) 'docFont' = ("Times",10pt); end; run; ods pdf file="times_92.pdf" style=styles.myprinter;

  15. Margin Control, SAS 913 .5 inch

  16. SAS 913 SAS 920

  17. Text on Images

  18. Text on Images ods pdf text = '^{style [foreground=black font_size=18pt just=right backgroundimage="u:\pp\blkprttb.gif"]Interesting Text}'; ods pdf text = '^{style [cellwidth=8in cellheight=.5in foreground=black font_size=18pt vjust=top just=right backgroundimage="u:\pp\blkprttb.gif"]Interesting Text}';

  19. Proc Report - Spanrows proc report data=sashelp.shoes nowd;

  20. Proc Report - Spanrows proc report data=sashelp.shoes nowd SPANROWS; Page 2…

  21. URLs in PDF

  22. URLs in PDF ods pdf text = '^{style [url="http://www.sas.com" just=center linkcolor=white] Here is the ^{style [color=blue]link} to SAS } ';

  23. Bookmark control ods pdf file='bookmark.pdf' bookmarkgen=off; proc print data=sashelp.class(obs=3); run; ods pdf bookmarkgen=on; ods proclabel= “five obs proc print”; proc print data=sashelp.class(obs=5) ; run;

  24. Resources & Contact Information • Bari Lawhorn • Scott HuntleyScott.Huntley@sas.com • ODS Development GroupODS@sas.com

More Related