* @return PrintJob
*/
private DocumentRenderer createPrintjob(final Program program, final FontChooserPanel fontChooser, final JCheckBox printImage, final JCheckBox printIcons) {
JEditorPane pane = new JEditorPane();
pane.setEditorKit(new ExtendedHTMLEditorKit());
ExtendedHTMLDocument doc = (ExtendedHTMLDocument) pane.getDocument();
String html = /*ProgramTextCreator.createInfoText(program, doc,
mFieldTypes, null, fontChooser.getChosenFont(), printImage.isSelected(), false);*/
ProgramTextCreator.createInfoText(program, doc, mFieldTypes, null, fontChooser.getChosenFont(), new ProgramPanelSettings(printImage.isSelected() ? ProgramPanelSettings.SHOW_PICTURES_EVER : ProgramPanelSettings.SHOW_PICTURES_NEVER, -1, -1, false, true, 10), false, 100, printIcons.isSelected());