Question about AES print / printTable()

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
3 posts • Page 1 of 1
tobias_raab
Posts: 18
Joined: Mon Feb 29, 2016 3:30 pm

Question about AES print / printTable()

Post by tobias_raab »

Hey,

short question, is it possible to change the column width of a print out which uses the printTable() function like the AES screen?
It seems that the current column width is not affecting the print out, but then the print out might be unusable. Am I missing something?

Best regards,
Tobias

PS: the Attachments function (in this forum) seems broken, I can't upload anything.

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Question about AES print / printTable()

Post by leoknipp »

When using WinCC OA 3.17 the function printTable() has a new optional parameters "options" with a mapping.
The mapping can have a key "fitToWidth" which possibly has the effect that the column width is changed automatically to fit the text.

I did not test, I just had a look at the documentation.

In the code for the AEScreen this option is not used.

Best Regards
Leopold Knipp
Senior Support Specialist

tobias_raab
Posts: 18
Joined: Mon Feb 29, 2016 3:30 pm

Re: Question about AES print / printTable()

Post by tobias_raab »

Hi,

i tested both functions (aes_doPrintTable and aes_as_printTable) with the AES.
Had to fiddle around to make it work but in the end both functions worked but both functions produced the exact same result.
The columns in the print out are not responsive to anything. Not to the flag "fitToWidth", not to manually changed column width in the table before printing.

Could you please have a look at this or shall I open a service request?

Best regards,
Tobias

Post Reply
3 posts • Page 1 of 1