A standalone document laid out by the engine, for printing outside a
test: to check what a printWith
callback or a generators.PrintableGenerator prints, say. Print
into printer, then call finish once to read the result
and release the document. A document never finished is released when it
is garbage collected.
A standalone document laid out by the engine, for printing outside a test: to check what a printWith callback or a generators.PrintableGenerator prints, say. Print into printer, then call finish once to read the result and release the document. A document never finished is released when it is garbage collected.
Example