BookmarkSubscribeRSS Feed
tparvaiz
Obsidian | Level 7

Hi,

I am using ODS HTML to generate a report with multiple graphs. by default when I print out I get the full path of the report @ the bottom of my report...

may I know how to get rid of it.

Thanks in advance

2 REPLIES 2
art297
Opal | Level 21

would modifying your line to include the nogfootnote option correct the situation?  e.g.:

ods html body="filename.htm" nogtitle nogfootnote;

Cynthia_sas
SAS Super FREQ

And, in addition to Art's suggestion, you might want to check for stray FOOTNOTE statements that have a file path listed.

Since you asked specifically about ODS HTML, I wonder whether your browser is the culprit here. For example, if I run an ODS HTML job without any footnote statements, I can still get the file path showing in my printed output if I have the footer option in my browser set, as shown in the attached screenshot. When SAS creates ODS HTML output, it does not put printing "controls" into the file. Any printing headers or footers can come from your browser settings. Doesn't make any difference whether the HTML file has tables or graphs, the browser can insert headers, page numbers or footers into your HTML file as it goes from the browser to the printer. Since SAS has no control over these browser print options, I wonder whether this is what you're running into.

In the output screenshots below, I have one example using PRINT PREVIEW and showing the file path inserted by the browser's page layout settings. Then I show a slightly different report that does have a SAS footnote and I still have URL turned on, so I see the file path (essentially the URL for the single file). Then, with the Footer defined as empty, I display the same file and now, you only see the SAS footnote.

Since you said this happened explicitly when you printed, I wondered whether you were printing from the browser, which could cause the issue you noted.

cynthia


print_from_browser.pngwith_SAS_footnote_and_path.pngchange_footer_empty_in_browser.png

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1391 views
  • 0 likes
  • 3 in conversation