|
PrinterInfo |
Printer info structure for DC_PrinterSet.
typedef struct _PrinterInfo {
PrinterType printType;
PrintOrientation printOrient;
double paperWidth;
double paperHeight;
INT bRoll;
INT port;
ComState *pcs;
} PrinterInfo;Members
printType
enum variable.
SPRT_PT_TIII_TIV
SPRT_PT_T5
SPRT_PT_T8
printOrient
Default is SPRT_PO_PORTRAIT:
SPRT_PO_PORTRAIT
SPRT_PO_LANDSCAPE
paperWidth
Paper width.
paperHeight
Paper height, default is scroll paper and the max paper height is 1152 pixel of a page
bRoll
Choose wheather use scroll mode to print, the default is set true. If set false, paperHeight will take effect
port
Choose Virtual or actrial COM port:
1 - "COM1"
2 - "COM2"
3 - "COM3"
4 - "COM4"
5 - "COM5"
6 - "COM6"
7 - "COM7"
8 - "COM8"
9 - "COM9"
pcs
COM state structure
See Also