How can I print to PDF the selected elements in Numbers 09?

Hello everybody. This is my first post here, I hope I’ll find an answer to my problem.
I’d like to print to PDF the elements I selected in the sheet (or the whole sheet), and open it in “Preview” without saving it (so I can crop and make final adjustments before saving it).

Now the question is:

How can I…?

:slight_smile:
thanks

Hi,

does Numbers.app provide a function to export or print a selection of cells?
If not, AppleScript can’t either.

is a screenshot an alternative ?

you might want to use this:

http://www.codepoetry.net/projects/cups-pdf-for-mosx

I don’t think it allows to print only the selected items (like windows does) but I’ll be pleased to achieve a simple “Open in preview as PDF” of the whole page, if it is possible.

I already achieved to open the print “pop up” window (by the way, is it a window in applescript language?), what I don’t achieve is to click the proper button (PDF) and then the first menu item which appears.

Here’s where I am stuck right now


activate application "Numbers"
tell application "System Events"
	tell process "Numbers"
		keystroke "p" using command down
		-- click something?
	end tell
end tell

a screenshot is not an alternative. I intend to use the files I get (graphs mostly) into LaTeX, and I need them as sharp as only PDF vector stuff can get :slight_smile:

The soluce is:

duplicate the sheet containing the table.
In the replicate of the table, select all
copy
paste values

then remove other tables of the replicate sheet
remove the useless rows an columns.

After that, you may print.

It easier to do than it is to describe (at least for a French guy like me).

Yvan KOENIG (VALLAURIS, France) mardi 6 octobre 2009 19:01:39