BookmarkSubscribeRSS Feed
JasonNC
Quartz | Level 8

Hi,

Can i use Papersize more than Legal.At present i am using Papersize=legal and orientation =landscape.As some of the variables length was increased i am thinking of increasing the papersize as of now the variables fit exactly.

3 REPLIES 3
Andre
Obsidian | Level 7

Hi

this kind of code is working well  with a modified GTL template where

datalabelattrs=(size=2pt) markerattrs=(size=2pt)

so there is no reason for not having this kind of effect in table ods.

but i think you would need to dredefine yours font sizes in cas of overwriting

A3 is an european mesure  and is greater than A4  the equivalent of Legal

Andre

options orientation=landscape papersize="A3" ;

ods pdf file="d:\notes\test\enormeaA.pdf" dpi=300  style=journal;

ods graphics / width=2000 height=1800;

ods select '2 by 1';

ods output '2 by 1'=coordonnees;

  proc corresp data=b.fclass out=r2esacm dim=5 ;

  tables name sex  agee haut poids satis_sas;

  supplementary satis_sas;

run;

ods select all;

ods output close;

ods pdf close;            ods graphics /reset;


JasonNC
Quartz | Level 8

Hi,

My program looks like this

PROC TEMPLATE;

  DEFINE STYLE STYLES.TEST;

  PARENT=STYLES.PRINTER;

  STYLE BATCH FROM BATCH /

  FONT_FACE="Courier New"

  FONT_SIZE=8pt;

  STYLE HEADER /

  FONT_FACE="Courier New"

  FONT_SIZE=8pt

  FONT_WEIGHT = MEDIUM;

  END;

RUN;

OPTIONS NODATE NONUMBER NOCENTER NOBYLINE LEFTMARGIN=.2in RIGHTMARGIN=.15in ORIENTATION=LANDSCAPE

PAPERSIZE=LEGAL;

ODS ESCAPECHAR='~';

ODS PDF FILE="TEST.PDF" NOTOC STYLE=STYLES.TEST COMPRESS=0;

So do you want me to add A3 instead of Legal

Andre
Obsidian | Level 7

Yes try it Jason

and then open the pdf to see if the content appear to be viewed on your screen

at 25% or 50% or 100%

so you can then have an idea of what the future will be on paper

but i  ignore which is the paper format for large printed landscape on a laser photocopier in US

Andre

ps i 10 minutes ends my work day!

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
  • 3 replies
  • 1300 views
  • 0 likes
  • 2 in conversation