BookmarkSubscribeRSS Feed
den
Calcite | Level 5 den
Calcite | Level 5
Hi everyone,

I'm having some trouble with pagesize and linesize. I have being using proc template to create a table from a proc tabulate output. I have also used ods pdf file to write the table into a pdf document. The table is composed of 10 columns and 40 lines. If I specify pagesize=80 and linesize=82 everything fits nicely on two pages as I would expect. Specifying the page and line size within sas options over rides the default.

The issue I have is when I try running the code on a different machine. The page and line size which I have specified does not over ride the default and the output no longer fits on two pages but is spread out over 16 pages instead.

Any thoughts on how to fix this would be much appreciated.
2 REPLIES 2
Cynthia_sas
SAS Super FREQ

Hi:

  I am surprised that PAGESIZE and LINESIZE work with ODS PDF, since generally, those system options are LISTING only options. In the documentation, for PAGESIZE, for example:

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000218916.htm

the description of destinations that will use PAGESIZE does not include ODS PDF unless you are using FILE PRINT - -which would not be the case with PROC TABULATE.

  So without seeing your code, or getting more details on the 2 machines/operating systems involved, it is hard to speculate on what the issue might be. You might want to work with Tech Support on this matter, as they can query you about the specifics of your 2 operating environments and they can look at your data and ALL your code and help you come to a resolution.

  To open a track with Tech Support, fill out the form at this link:

http://support.sas.com/ctx/supportform/createForm

cynthia

Ksharp
Super User

And system option leftmargin= topmargin= rightmargin= rightmargin=

would help you a little bit.

Ksharp

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

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

Browse our catalog!

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