Page 1 of 1

Printing Dashed Lines

Posted: Wed Aug 26, 2009 3:20 pm
by 9532498
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.

Re: Printing Dashed Lines

Posted: Wed Aug 26, 2009 4:13 pm
by narcis
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.

Re: Printing Dashed Lines

Posted: Thu Aug 27, 2009 3:31 pm
by 9532498
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

Re: Printing Dashed Lines

Posted: Fri Aug 28, 2009 11:11 am
by narcis
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.