BookmarkSubscribeRSS Feed
Brian_Neil
Calcite | Level 5
I use ODS PDF and Proc Print to create reports for emailing to users. About the first half of the report each data line is split into 2 lines of output. The second half of the report contains all the data on one output line, with the data elements wrapped in the column. I would prefer the later style as it would reduce the number of pages in the report. Any ideas how to force the data to all be on one line consistently?
4 REPLIES 4
David_SAS
SAS Employee
Did you check the ODS PRINTER FAQ at Technical Support,

http://support.sas.com/rnd/base/topics/templateFAQ/Template.html

There are a couple of items in the FAQ that address your question, at least partially.

-- David Kelley, SAS


Message was edited by: David@SAS at Mar 20, 2006 7:38 PM
Message was edited by: David@SAS at Mar 20, 2006 7:39 PM
Kathryn_SAS
SAS Employee
You can try using the UNIFORM option on the ODS PDF statement to have all pages print uniformly.
ScottH_SAS
SAS Employee
Brian,

I would like to see a sample of your output and possibly a code snippet. Could you write to ods@sas.com with this information?

Thanks!
Cynthia_sas
SAS Super FREQ
Possibly the UNIFORM option could help you, too. It adds some overhead to your step, but tells ODS to check all the columns to set a uniform column width. This may or may not have the desired effect.
cynthia

ODS PDF file='wombat.pdf' UNIFORM;
...code...
ODS PDF CLOSE;

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
  • 4 replies
  • 2106 views
  • 0 likes
  • 5 in conversation