Printing STC documents seems to be terribly slow and the quality is low.
If I choose PDF Creator as the printer,
printing is done much faster ( print on PDF + PDF to real world printer )
and the quality is much higher.
Does anyone else has experience with this phenomena ?
How are you rendering the print? If your stc buffer has a non white background color and you are rendering the print with STC_PRINT_NORMAL the printer will have to draw on the entire sheet of paper instead of just the text which would make it very slow like printing a photo.
Using STC_PRINT_COLOURONWHITE will use the text styles but draw it on a white background. Otherwise use STC_PRINT_BLACKONWHITE to do simple black and white printing.
Printing STC documents seems to be terribly slow and the quality is low.
If I choose PDF Creator as the printer,
printing is done much faster ( print on PDF + PDF to real world printer )
and the quality is much higher.
Does anyone else has experience with this phenomena ?
How are you rendering the print? If your stc buffer has a non white background color and you are rendering the print with STC_PRINT_NORMAL the printer will have to draw on the entire sheet of paper instead of just the text which would make it very slow like printing a photo.
Using STC_PRINT_COLOURONWHITE will use the text styles but draw it on a white background. Otherwise use STC_PRINT_BLACKONWHITE to do simple black and white printing.
well I didn't set anything.
So ilooked into your code and
after using STC_PRINT_COLOURONWHITE it seems a bit faster,
but 40 seconds per page is still a whole lot.
And the quality is still a lot worse than via the PDFCreater.
I'll do some more experiments later.
Found the problem why the printers (2 tested yet) are so slowly:
the wx.Printer sets the quality of the printer to "best",
while the printers default is normal or fast-normal.
Why is wx.Printer changing the default value of the printer ?
How can I tell wx.Printer to leave this setting unchanged,
or to tell wx.Printer to set quality to "best" ?
Another problem occurred, when lines are folded inScintilla,
the number of lines printed is increased, so it might pass the bottom of the page.
Is there an option to compensate for wrapped lines ?
thanks,
Stef Mientki
Cody Precord wrote:
···
Hello,
On Dec 6, 2008, at 2:38 PM, Stef Mientki wrote:
hello,
Printing STC documents seems to be terribly slow and the quality is low.
If I choose PDF Creator as the printer,
printing is done much faster ( print on PDF + PDF to real world printer )
and the quality is much higher.
Does anyone else has experience with this phenomena ?
How are you rendering the print? If your stc buffer has a non white background color and you are rendering the print with STC_PRINT_NORMAL the printer will have to draw on the entire sheet of paper instead of just the text which would make it very slow like printing a photo.
Using STC_PRINT_COLOURONWHITE will use the text styles but draw it on a white background. Otherwise use STC_PRINT_BLACKONWHITE to do simple black and white printing.