Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
ruudh
New Member.
749 views

Unpredictable value in wprtdata-lines-per-page with Version 10

Hi all,

does anyone had this problem already?

With the latest version Micro Focus Extend Runtime Version 10.1.1 I receive very strange values in wprtdata-lines-per-page (like 1431 or 1766, every time something else) when I use the command: call "WIN$PRINTER" using winprint-get-page-layout winprint-data.

 

If I do the same with an earlier runtime (I used 7.0.0) I get normal values like "76".

 

So, is it a bug (serious one) or do I have to change something?

0 Likes
2 Replies
ruudh
New Member.

RE: Unpredictable value in wprtdata-lines-per-page with Version 10

[deleted]
0 Likes
ruudh
New Member.

RE: Unpredictable value in wprtdata-lines-per-page with Version 10

Further investigation shows that V7 gives a result code of 1 (which is good) and version 10 gives result-code 0 (wprterr-unsupported) in the same situation.
So, it must be a bug, I think
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.