Hi
My app in VB6 is al most there, but some users can not get the print out correct, chart is missing, or is white on the paper.
First I did not understand what went wrong, since it worked perfectly on my color laser, in color and gray scale. But now I have a monochrome printer, an I can see the problem. It should be straight forward, but I can not figure out how to solve the problem.
If I set the "smooth" property to true in the preview window, the output is visible. But if I select an option in the Brother printer driver "enhance printing in gray scale" the print is fine.
But how can I control these settings ?
hope anyone can help !
Regards
Kasper
Problems when printing chart on monochrome printer
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kasper,
You could try assigning printer settings like this:
tchart1.Printer.PrinterSettings.XXXXX
It could also be a printer device driver problem. You could try upgrading printer's driver.
You could try assigning printer settings like this:
tchart1.Printer.PrinterSettings.XXXXX
It could also be a printer device driver problem. You could try upgrading printer's driver.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi again
If I in here add a series, and than add a dotted grid. I have a chart with some dotted grid lines. If I print the chart by using my monochrome printer, the grid line is gone. But if I check the "smooth" option in the preview window, it is on !!
Wat does the smooth option do ? This could help me out ....
This problem is on HP and Brother printers with the newest drivers.
Regards
Kasper
I have tried a lot of different settings, but nothing seems to fix my problem. If I use the feature demo, and search for preview, I can select the "Custom Editor and Previewer".tchart1.Printer.PrinterSettings.XXXXX
If I in here add a series, and than add a dotted grid. I have a chart with some dotted grid lines. If I print the chart by using my monochrome printer, the grid line is gone. But if I check the "smooth" option in the preview window, it is on !!
Wat does the smooth option do ? This could help me out ....
This problem is on HP and Brother printers with the newest drivers.
Regards
Kasper
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Narcís
My application needs to be able to print without any user interactions. Therefore your solution do not solve my problem. However, it inspired me to make a work around.
I need to to export the chart to a jpeg file, and then import it again and print it out. This works fine. But it would be easier, if you could fix your problem in the teeChart object, so the way of making a print out is the same on color as on monochrome printers
Regards
Kasper
My application needs to be able to print without any user interactions. Therefore your solution do not solve my problem. However, it inspired me to make a work around.
I need to to export the chart to a jpeg file, and then import it again and print it out. This works fine. But it would be easier, if you could fix your problem in the teeChart object, so the way of making a print out is the same on color as on monochrome printers
Regards
Kasper
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Kasper,
You could try setting:
Before printing and setting it back to false after printing.
You could try setting:
Code: Select all
TChart1.Canvas.Monochrome = True
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi,
in the case a solution for you is to set the Smooth option before to print ( it creates a bitmap of the chart internally ) you could set it by default to true by using :
in the case a solution for you is to set the Smooth option before to print ( it creates a bitmap of the chart internally ) you could set it by default to true by using :
Code: Select all
Private Sub Command1_Click()
With TeePreviewer1
.Chart = TChart1
.Options.AsBitmap = True
.ShowPreview
End With
End Sub
Pep Jorge
http://support.steema.com
http://support.steema.com