BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi friends,

how can we change the papersize in a single pdf .

if i give
options papersize=("10in", "8.5in");

after the
ods pdf file="xyz.pdf";

statement does not work.
i have a report in which few table have too many columns and i want to fit them in one page. so i want to change paper size for few pages.

is there some other way to do it?
1 REPLY 1
Andre
Obsidian | Level 7
Avi,
The options must appear before the opening of the ods PDF destination.

In order to fit the columns you have two manner of obtaining this

-acting upon the style inside the procedures with cellwidth colwidth and such complements
-producing separated pdf files and merging them
with Acrobat or free stuff like pdfhammer( .com ) / pdf split and merge PDFSAM...and others

I don't think there are actually others solutions.

HTH
Andre

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 1778 views
  • 0 likes
  • 2 in conversation