[AX V8 - VB6 SP6] teechart does not retreive default print
Posted: Sat Apr 01, 2017 11:01 am
Goodmorning,
we have an issue with a DesktopApp developed in Vb6 on OS Windows 10.
The problem is that teechart component don't retreive all properties from default printer.
This cause error "operation not supported on selected printer" if i programmatically change some properties about printer reference.
In example:
I want to change printer orientation from Protrait to Landscape and print the chart.
If i change the Orientation property without Confirm the printer devide by ShowSetupDlg method, i receive the error listed above and print output is blank.
Against if i confirm it using that method, the print process work fine.
This issue is only on Windows 10 OS (in all older systems this dows not occour).
P.S. Teechart8.ocx version is the latest (8.0.1.3)
In attachment a simple project to explain the issue (exe must be run on win10)
Best regards,
Lorenzo Lavezzo
we have an issue with a DesktopApp developed in Vb6 on OS Windows 10.
The problem is that teechart component don't retreive all properties from default printer.
This cause error "operation not supported on selected printer" if i programmatically change some properties about printer reference.
In example:
I want to change printer orientation from Protrait to Landscape and print the chart.
If i change the Orientation property without Confirm the printer devide by ShowSetupDlg method, i receive the error listed above and print output is blank.
Against if i confirm it using that method, the print process work fine.
This issue is only on Windows 10 OS (in all older systems this dows not occour).
P.S. Teechart8.ocx version is the latest (8.0.1.3)
In attachment a simple project to explain the issue (exe must be run on win10)
Best regards,
Lorenzo Lavezzo