The SAS Output Delivery System and reporting techniques

ODS PDF How to write left side of the margin in a PDF page

Reply
Contributor
Posts: 32

ODS PDF How to write left side of the margin in a PDF page

Hi ,

 

I am writing a pdf page with leftmargin = 2cm. As per my requirement, I need to write some text in the margin area. Is it possible?

 

I was using ODS REGION X= -0.53in to write this text in SAS9.2. It was working fine.

In SAS9.4, This code is writing the text in x=0cm instead of -0.53in. I know that only nonnegative values are allowed in x option as per sas online doc.

 Please suggest alternate solution to fix this issue in SAS9.4.

  

Thanks,

Sampath

Contributor
Posts: 32

ODS PDF How to write left side of the margin in a PDF page

Posted in reply to bmsampath

Hi ,

 

I am writing a pdf page with leftmargin = 2cm. As per my requirement, I need to write some text in the margin area. Is it possible?

 

I was using ODS REGION X= -0.53cm to write this text in SAS9.2. It was working fine.

In SAS9.4, This code is writing the text in x=0cm instead of -0.53cm. I know that only nonnegative values are allowed in x option as per sas online doc.

 

Please suggest alternate solution to fix this issue in SAS9.4.

 

 

Thanks,

Sampath

Respected Advisor
Posts: 3,799

Re: ODS PDF How to write left side of the margin in a PDF page

Posted in reply to bmsampath

bmsampath wrote:

Hi ,

 

I am writing a pdf page with leftmargin = 2cm. As per my requirement, I need to write some text in the margin area. Is it possible?

 

I was using ODS REGION X= -0.53cm to write this text in SAS9.2. It was working fine.

In SAS9.4, This code is writing the text in x=0cm instead of -0.53cm. I know that only nonnegative values are allowed in x option as per sas online doc.

 

Please suggest alternate solution to fix this issue in SAS9.4.

 

 

Thanks,

Sampath


Was ODS LAYOUT production in 9.2?  If not you can expect you will have to make changes.

SAS Super FREQ
Posts: 8,861

Re: ODS PDF How to write left side of the margin in a PDF page

Posted in reply to bmsampath
Hi:
You only need to post your question 1 time. However, without code, all you code, including PDF statements and ODS LAYOUT/REGION statements, nobody can test whether you have a code issue or a version difference. However, generally, if you have code that was working in one version of SAS but is not working in another version of SAS it could be either that the syntax changed between versions or you have found a defect.

Either way, it would probably be better to open a track with Tech Support since you are observing version differences in the same code.

cynthia
Ask a Question
Discussion stats
  • 3 replies
  • 242 views
  • 0 likes
  • 3 in conversation