GTK2.SourcePrintJob setup_from_view(GTK2.SourceView view)
Convenience function to set several configuration options at once, so that the printed output matches view. The options set are buffer (if not set already), tabs width, highlighting, wrap mode and default font.