Jump to content

ESCSETMODE: Difference between revisions

From EDM2
mNo edit summary
mNo edit summary
Line 9: Line 9:
==C Declaration Method==
==C Declaration Method==
  typedef ESCSETMODE *PESCSETMODE;
  typedef ESCSETMODE *PESCSETMODE;
==Fields==
;mode(ULONG)
:Mode to be set.
codepage(USHORT)
:Code page.


[[Category:Data type]]
[[Category:Data type]]

Revision as of 16:34, 8 February 2020

Structure for setting printer mode. See DevEscape.

This data structure is a specific-case version of the ESCMODE data structure, used to set the code page of a printer.

Type

typedef struct _ESCSETMODE {
 ULONG      mode;      /*  Mode to be set. */
 USHORT     codepage;  /*  Code page. */
} ESCSETMODE;

C Declaration Method

typedef ESCSETMODE *PESCSETMODE;

Fields

mode(ULONG)
Mode to be set.

codepage(USHORT)

Code page.