Detail

A PrintContext encapsulates context information that is required when
drawing pages for printing, such as the cairo context and important
parameters like page size and resolution. It also lets you easily create
PangoLayout and Context objects that match the font metrics of the cairo
surface.