Function Name | Output Format | Payload Format | Base64 |
---|---|---|---|
CreatePprPdfJson |
- |
||
CreatePprPdfJsonBase64 |
x |
||
CreatePprPdfCsv |
- |
||
CreatePprPdfCsvBase64 |
x |
||
CreatePprPngJson |
PNG |
- |
|
CreatePprPngJsonBase64 |
PNG |
x |
|
CreatePprPngCsv |
PNG |
- |
|
CreatePprPngCsvBase64 |
PNG |
x |
Type | Description | |
---|---|---|
Parameters |
||
Language |
const char* |
The language in which the payment part & receipt is to be generated. Either pass the ISO language code or the longer language string.
DE / GERMAN
FR / FRENCH
IT / ITALIAN
EN / ENGLISH |
PageSize |
const char* |
The following strings are accepted as page size:
DIN_LANG
A5
A4 |
BoundaryLines |
bool |
if true, boundary lines are printed (separation between Bill and payment part & receipt). This is needed if QR Bill is digitally distributed and not printed on paper without perforation. |
BoundaryLineScissors |
bool |
if true, scissor pictogram is printed on the boundary lines to indicate the need for separation. requires BoundaryLines to be true. |
BoundaryLineSeparationText |
bool |
if true, a separation text ("Separate before paying in") is written above the payment part. Can only be used if PageSize is larger than DIN_LANG |
Input |
const char* |
The actual data, either as JSON or CSV and possible encoded using Base64. Input type depends on the used function. |
OutputBuffer |
char * |
A buffer initialized by the caller which is used to write the result back in. See also Buffer Sizes |
OutputBufferSize |
unsigned long * |
The size of the OutputBuffer. The library needs it to check if the buffer is large enough to write the result back. After the result is written, it contains the actual data length (actual size <= initial buffer size). See also Buffer Sizes |
MessageBuffer |
char * |
A buffer initialized by the caller which is used to write error messages back to the caller. See also Buffer Sizes |
MessageBufferSize |
unsigned long * |
The size of the MessageBuffer. The library needs it to check if the buffer is large enough to write the result message back. After the message is written, it contains the actual message length (actual size <= initial buffer size). See also Buffer Sizes |
Returns |
||
return code |
unsigned int |
0 = Success
100 = Technical Error
101 = Validation Error
102 = Parse Error
103 = Layout Error
104 = Decode Error |