mac - printing does not stop

Hi folks,

I print some texts on a page, from a window, using openprinter method
the print does not end, there is a window saying “printing to preview, page x…” with an undefinite progress bar
like the system is waiting for more things to print.
I already had this problem long ago, and can’t remember how to stop this ?
close the graphic object ?

either close the object, or emit a NextPage… until then the app is waiting/wondering if it has actually finished the page in question

there is a nextpage…
I found it it seems I have to set the printer graphic object to nil at the end of the printing process … strange.
there is no close for a print object.