How print a GUI to pdf with good quality?

I want to print a GUI to pdf. I use the following code:
print(f, '-dpdf', 'Filename.pdf')
where f is the handle of the GUI. However the quality of the pdf is not satisfying. All the texts are a bit blurred. What can I do to improve the quality?

 Accepted Answer

You can increase the resolution by adding '-r600' (or higher number) as an additional argument.

2 Comments

It will not help on the text, ui panels and pushbutton, only the figures. Do you have another solution? I used this code:
print(hMainGui,'test','-dpdf','-r2000','-painters')
You might get benefit by changing the figure properties - paperposition is one that comes to mind that may be important. You can also make the text larger by increasing font size.

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Asked:

on 26 May 2014

Commented:

on 15 Sep 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!