Boomaga provides a virtual printer for CUPS. This can be used for print preview or for print booklets.