BookmarkSubscribeRSS Feed
BenConner
Pyrite | Level 9

Hi,

 

I have a small table I'm trying to fit into a restricted area on a pdf document.  I have about the right size if I generate it to the html destination, but going to a pdf blows it way out of proportion, in addition to losing all unicode characters out of the first column.

 

Any insights as to why the two destinations behave so differently?

 

Am using 9.4M3 for this test.

 

Thanks!

 

--Ben


ziptable1.png
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Ah, that is a loaded question. PDF and HTML are inherently 2 different destinations, with 2 different underlying assumptions. An HTML page can be as wide or as long as it needs to be since the HTML page can be scrolled both vertically and horizontally.

However, PDF has always been intended to capture the image of the output as though it had been printed to physical paper. So the PDF file has fixed limits on margins, page sizes, etc. In addition, fonts that work OK in HTML might not work in PDF. When you created your output, it looks like you took the default on style for each destination, that means you can't compare the HTML look and feel to the PDF look and feel because the destinations were using different fonts to start out with and the only font sizes I see that would be specified the same are for your square and your boilerplate.

You might want to open a track with Tech Support on this.

cynthia
BenConner
Pyrite | Level 9
Thanks, Cynthia! Will do... --Ben

sas-innovate-2024.png

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.

 

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
  • 851 views
  • 0 likes
  • 2 in conversation