I have read From FAQ - Practical issues when printing TeeCharts.
I have tried setting pen.width to 0.
I have tried setting print resolution to -100 / 0 or even 100, still printing non solid as solid.
I used TFastline since if I use Tlineseries, the non solid lines doesn't show until I zoom in real close. ( may have nothing to do with printing but I might need to point out what kind of line series I use).
The non solid lines shows correctly on metafile I created, and loads up fine on rave report's' stretchdraw, but as soon as I print.. gone. ( printed as solid).
It also does this when I print straight from the metafile. ( saveToFile then open with other software, then print ).
Thanks in advance.
non solid lines doesn't print
-
- Newbie
- Posts: 12
- Joined: Wed Jun 01, 2005 4:00 am
- Location: wellington
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: non solid lines doesn't print
Hi ChainSmokinCoder,
Have you checked if this happens in other printers? If this only happens with the printer you are using then you could try changing printer's device driver.
You could also try setting pen color to clBlack.
Hope this helps!
Have you checked if this happens in other printers? If this only happens with the printer you are using then you could try changing printer's device driver.
You could also try setting pen color to clBlack.
Hope this helps!
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 |
-
- Newbie
- Posts: 12
- Joined: Wed Jun 01, 2005 4:00 am
- Location: wellington
- Contact:
Re: non solid lines doesn't print
Hi,
I have reinstalled the printer driver. I haven't got any other printer to test on. Tried setting the colors to black. Still same result.
Anyway, on the preview the non solid lines showed, but won't show on paper.
I tried to create the metafile by the size of the paper :
MetaFile := Chart1.TeeCreateMetafile(True, Rect(0,0,printer.PageWidth-1,Printer.PageHeight-1));
then stretch drawing it on rave report ( TbaseReport) :
StretchDraw(Rect(0,0,5700,4000,MetaFile));
the resulting chart has the right dimension but everything else wrong. Wrong pen size, wrong font size (etc), but it seems the line was drawn correctly, the non solid line was drawn as non solid, but I'm not so sure since the line was extremely small.
What is the best way to create a Metafile with dimension of 5700,4000 but without having to resize everything? or other way to transfer my chart from the screen to rave report, with the pen style maintained all the way through to paper as well.
Thanks
I have reinstalled the printer driver. I haven't got any other printer to test on. Tried setting the colors to black. Still same result.
Anyway, on the preview the non solid lines showed, but won't show on paper.
I tried to create the metafile by the size of the paper :
MetaFile := Chart1.TeeCreateMetafile(True, Rect(0,0,printer.PageWidth-1,Printer.PageHeight-1));
then stretch drawing it on rave report ( TbaseReport) :
StretchDraw(Rect(0,0,5700,4000,MetaFile));
the resulting chart has the right dimension but everything else wrong. Wrong pen size, wrong font size (etc), but it seems the line was drawn correctly, the non solid line was drawn as non solid, but I'm not so sure since the line was extremely small.
What is the best way to create a Metafile with dimension of 5700,4000 but without having to resize everything? or other way to transfer my chart from the screen to rave report, with the pen style maintained all the way through to paper as well.
Thanks
Re: non solid lines doesn't print
Hi ChainSmokinCoder,
Could you please prepare a simple example project we can run as-is to reproduce the problem here?
Could you please prepare a simple example project we can run as-is to reproduce the problem here?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 12
- Joined: Wed Jun 01, 2005 4:00 am
- Location: wellington
- Contact:
Re: non solid lines doesn't print
Hi Yeray,
So basically what I'm trying to do is to create a report on a paper with landscape orientation.
There would be chart on it that represent the chart on the screen.
The chart would contain 4 lines that represent data from different log files, identified by linestyle, and there would also be several other lines that represent channels from each of the log files, identified by colors.
This example project shows 4 lines with the same color that should be identifiable by the linestyle. note that the real data would look much smoother than the random data generated.
I should add that the print result from this example quite different from my full code. In this example the linestyle is actually still there, on some of the series. Just the scaling which is very small makes the linestyle seems to be missing. However on my full code, the non solid lines are totally missing. Every lines printed as solid lines.
So basically what I'm trying to do is to create a report on a paper with landscape orientation.
There would be chart on it that represent the chart on the screen.
The chart would contain 4 lines that represent data from different log files, identified by linestyle, and there would also be several other lines that represent channels from each of the log files, identified by colors.
This example project shows 4 lines with the same color that should be identifiable by the linestyle. note that the real data would look much smoother than the random data generated.
I should add that the print result from this example quite different from my full code. In this example the linestyle is actually still there, on some of the series. Just the scaling which is very small makes the linestyle seems to be missing. However on my full code, the non solid lines are totally missing. Every lines printed as solid lines.
- Attachments
-
- ChartPrintExample.zip
- (491.62 KiB) Downloaded 832 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: non solid lines doesn't print
Hi ChainSmokinCoder,
I'm afraid this is a printer issue as it prints with non-solid line here using a HP Color Laserjet 2600n printer.
You could try using one of those solutions:
1. Export the chart to a big metafile using and printing it. You can do so using StretchDraw as in the example here.
2. Exporting the chart to a PDF file and printing the PDF file.
3. Use a PDF virtual printer (for example: http://www.primopdf.com) to print the chart and then print this PDF file.
You could then use exported metafile or PDF files in your report.
Finally, you may also be interested on reading this post.
Hope this helps!
I'm afraid this is a printer issue as it prints with non-solid line here using a HP Color Laserjet 2600n printer.
You could try using one of those solutions:
1. Export the chart to a big metafile using and printing it. You can do so using StretchDraw as in the example here.
2. Exporting the chart to a PDF file and printing the PDF file.
3. Use a PDF virtual printer (for example: http://www.primopdf.com) to print the chart and then print this PDF file.
You could then use exported metafile or PDF files in your report.
Finally, you may also be interested on reading this post.
Hope this helps!
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 |