prt.h File Reference
Last updated: 17-Sep-2025
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Macros |
|
| #define | CLA_PRT 0x25 |
| Class for PRT commands. More... |
|
| #define | INS_PRT_SET_PROPERTY 0x00 |
| prtSetProperty command More... |
|
| #define | INS_PRT_GET_PROPERTY 0x01 |
| prtGetProperty command More... |
|
| #define | INS_PRT_HTML 0x02 |
| prtHTML command More... |
|
| #define | INS_PRT_BITMAP 0x04 |
Functions |
|
| void | handlePrt (unsigned short msgBufSize, unsigned char *msg, unsigned long msgSize, unsigned short rspBufSize, unsigned char *rsp, unsigned short *rspSize) |
| int | print_getStatus (int *valueInt) |
Macro Definition Documentation
◆ CLA_PRT
| #define CLA_PRT 0x25 |
Class for PRT commands.
◆ INS_PRT_BITMAP
| #define INS_PRT_BITMAP 0x04 |
◆ INS_PRT_GET_PROPERTY
| #define INS_PRT_GET_PROPERTY 0x01 |
prtGetProperty command
◆ INS_PRT_HTML
| #define INS_PRT_HTML 0x02 |
prtHTML command
◆ INS_PRT_SET_PROPERTY
| #define INS_PRT_SET_PROPERTY 0x00 |
prtSetProperty command
Function Documentation
◆ handlePrt()
| void handlePrt | ( | unsigned short | msgBufSize, |
| unsigned char * | msg, | ||
| unsigned long | msgSize, | ||
| unsigned short | rspBufSize, | ||
| unsigned char * | rsp, | ||
| unsigned short * | rspSize | ||
| ) |
Dispatch function to handle different printer commands
- Parameters
-
[in] msgBufSize size of the input message buffer [in] msg pointer to the input message buffer [in] msgSize size of the input message [in] rspBufSize maximum size of the response buffer [in,out] rsp pointer to the response buffer [in,out] rspSize pointer to the response message size
- handlePrt() is always executed, even if invoked by a side command. Therefore, this function has no return value, see also process_side_command().
◆ print_getStatus()
| int print_getStatus | ( | int * | valueInt | ) |
Rate this article: