Skip to main content

Duplex Printing

  • January 4, 2016
  • 1 reply
  • 0 views

Hi,

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

http://documentation.microfocus.com/help/index.jsp?topic=/com.microfocus.eclipse.infocenter.studee60test/HRCLRHCALL5W.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.

1 reply

Chris Glazier
Forum|alt.badge.img+2

Hi,

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

http://documentation.microfocus.com/help/index.jsp?topic=/com.microfocus.eclipse.infocenter.studee60test/HRCLRHCALL5W.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.

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.