The SAS Output Delivery System and reporting techniques

Pagesize and linesize settings

Occasional Contributor den
Occasional Contributor
Posts: 16

Pagesize and linesize settings

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.
Posts: 9,365

Re: Pagesize and linesize settings


  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:

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:


Super User
Posts: 10,768

Re: Pagesize and linesize settings

And system option leftmargin= topmargin= rightmargin= rightmargin=

would help you a little bit.


Ask a Question
Discussion stats
  • 2 replies
  • 3 in conversation