Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
804 views

Duplex Printing

Hi,

In NetExpress we used the following code to set duplex printing:-

http://documentation.microfocus.com/help/index.jsp?topic=%2Fcom.microfocus.eclipse.infocenter.studee60test%2FHRCLRHCALL5W.html

In particular we used : cblte-pp-duplex Select duplex or double-sided printing using one of the DMDUP- constants. 

How can you do this using Visual Cobol .NET code?

Thanks in advance.

Kind regards

Neil.

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Hi Neil,

Most of the PC_PRINTER library routines are supported in .NET as well as native code although some of them, (i.e. PC_PRINTER_INFO) behave a bit differently because a different coordinate system is used in .NET print functions.

The PC_PRINTER_DEFAULT_PROPERTIES that you are using should work in .NET as well. If you are finding that this does not behave correctly then I would suggest that you open up a support incident with Customer Care so we can look into this.

Thanks.

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.