Posted 15 years ago by painetraine
Avatar
I am having some problems with the printing functionality of the SyntaxEditor component.

When I print the following from either my app or the sample application (simply paste this as the text in the sample app and print it)

----------------- Copy Below here ---------------------------
select * from Lots lt where lt.Lot = '1183781'

select * from AdvShipNotices asn where asn.AdvancedShipNotice = '1100132'
delete from AdvShipNotices where AdvancedShipNotice = '1100132'


select * from WorkOrders asn where asn.AdvancedShipNotice = '1100132'

------------------- Copy above here -------------------------

The "=" on lines 3,4, and 7 print directly beside the text even though in the text there is a space. This also occurs on other printing where it skips spaces even though they show in the text.

To print the text, I simply call queryEditor.Print(true);

Thanks

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
This will be fixed for the next release. In the mean time, set the UnicodeEnabled property to true before printing. That sets a flag that should force character by character painting as opposed to string painting, which is causing the problem.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.