The SAS Output Delivery System and reporting techniques

Thickness of horizintal lines in sas ods pdf

Reply
N/A
Posts: 0

Thickness of horizintal lines in sas ods pdf

Hi,

I have created a ods pdf where i am using following code

proc report data = detail2_all_1 headline headskip nowindows

style(report)=[bordercolor = black background=_undef_ rules=rows frame = void]
style(header)=[just =left font_face = arial font_weight = Bold font_size = 8pt font_style = italic background = white]
style(column)=[just =left font_face = arial font_style = Italic font_size = 8pt]
ls =200;

i am getting the result all fine except for one thing.

I am getting horizontal lines ni between each record with varying thickness. Some lines are dark and some are light.

Is here any way to control the thicknes sof the lines here?

Thanks,
Amar
SAS Super FREQ
Posts: 8,868

Re: Thickness of horizintal lines in sas ods pdf

Posted in reply to deleted_user
Hi:
Frequently with ODS PDF output, Acrobat Reader is opened at less than 100% size for zooming. What I have noticed is that lines in PDF output can appear thicker or thinner on a report, depending on the zoom level. Sometimes, it even looks like lines are disappearing. This is a function of screen resolution and how the "image" of the report in PDF is zoomed up or down.

If you increase the ZOOM level to 100%, usually the lines will get more regular in appearance. I always notice that if/when I print the output, there is no difference between one line and another.

If you continue to have issues with ODS PDF appearance that zooming doesn't fix, it is possible (but unlikely) that some cells have a different borderwidth than other cells. You might work with Tech Support on debugging this. However, I would recommend the zooming or printing approach first -- to see if there's really a difference in the lines.

cynthia
Super User
Posts: 10,046

Re: Thickness of horizintal lines in sas ods pdf

Posted in reply to deleted_user
Hi.
I agree with Cynthia. It looks like zoom make this problem.
When I run the following code and open it from c:\ without bookmark and set zoom=150%
Problem is dispeared.
The best thing to find it out is to print a page with your printer and see whether line thinner or thicker.


ods pdf file='c:\x.pdf' 
;



proc report data =

sashelp.class
headline headskip nowindows style=default



 



style(report)=[bordercolor

= black background=_undef_ rules=rows frame = void]



style(header)=[just =left font_face
= arial font_weight = Bold font_size =
8pt font_style =
italic background = white]



style(column)=[just =left font_face
= arial font_style = Italic
font_size =
8pt]



ls =200;



run;



ods pdf close;


[pre]


Ksharp
[/pre]

Ask a Question
Discussion stats
  • 2 replies
  • 173 views
  • 0 likes
  • 3 in conversation