Jump to content

ESCSETMODE: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Structure for setting printer mode. See [[DevEscape]].
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.  
This data structure is a specific-case version of the ESCMODE data structure, used to set the code page of a printer.
 
==Type==
==Type==
  typedef struct _ESCSETMODE {
  typedef struct _ESCSETMODE {
Line 7: Line 8:
   USHORT    codepage;  /*  Code page. */
   USHORT    codepage;  /*  Code page. */
  } ESCSETMODE;
  } ESCSETMODE;
==C Declaration Method==
==C Declaration Method==
  typedef ESCSETMODE *PESCSETMODE;
  typedef ESCSETMODE *PESCSETMODE;
==Fields==
==Fields==
;mode(ULONG)
;mode(ULONG):Mode to be set.
:Mode to be set.
;codepage(USHORT)::Code page.
codepage(USHORT)
:Code page.


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

Latest revision as of 06:26, 21 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.