Printing Dashed Lines

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Printing Dashed Lines

Post by nbp » Wed Aug 26, 2009 3:20 pm

How does one print Dashed or Dotted lines? When printed, they appear as solid lines. Is this a limitation of TChart? Is there a workaround? I know about Copy to Clipboard and Exporting to a graphics format, but was wondering if there is any other option.

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Printing Dashed Lines

Post by Narcís » Wed Aug 26, 2009 4:13 pm

Hi nbp,

We are aware of such issues mostly with some HP printers. A solution could be changing printer's device driver version, either latest version available or an older one. If this doesn't help please read the article here, specially the Printing non-solid lines section.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Re: Printing Dashed Lines

Post by nbp » Thu Aug 27, 2009 3:31 pm

Thanks for the reply. When I changed the Detail setting in the Print Setup Dialog, I got a "PCI XL error" which I suspect is from the printer driver. I assumed increasing the detail was the same as increasing Print Resolution? Also got the same error, if I made the print margins 0. The text of the error message is as follows:

Subsystem: KERNEL
Error : IllegalOperatorSequence
Operator : EndChar
Position : 33

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Printing Dashed Lines

Post by Narcís » Fri Aug 28, 2009 11:11 am

Hi nbp,

As you can read in TeeChart's documentation about Detail:

Default Value: 0

Run-time only.The Detail property controls how screen pixels will be mapped to printer pixels. By default it's zero, meaning screen proportions will be respected when printing. The value is a range from 0 to 100%. The lower the value the higher the resolution of screen pixels passed to the printer. The 0 value represents the Screen resolution printing 'What you See'.

Example [Visual Basic]:
TChart1.Printer.Detail = 0 { this will use screen resolution }

TChart1.Printer.Detail = 100 { this will use more printer resolution }


I'm not able to reproduce the error you mention here using latest TeeChart Pro v8 ActiveX release available. Which TeeChart version are you using? Have you tried replacing printer's driver? Can you reproduce this with other printers?

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply