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
Diamond | Level 26
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;
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 3694 views
  • 0 likes
  • 5 in conversation