$ 0 0 It doesn't work like this: to make a PDF file, you must first tell to record the drawing, then to draw. No magical "save" button...