Loading...
public final class PrintReq extends TrxReq
Print request allowing to print any text.
| PrintReq | public PrintReq PrintReq(Bitmapimage, BooleanallowQueuedPrint) public PrintReq PrintReq(List<PrintLine>lines, BooleanallowQueuedPrint) |
| Name | Summary |
|---|---|
| allowQueuedPrint | private final Boolean allowQueuedPrint If set to true, request will be put into FIFO queue and printed once it's possible. If set to false and queue is empty, text will be printed immediately. If set to false and queue is not empty, PrintRes with status PrintStatus.BUSY will be responded. |
| id | private String id Request ID. |
| lines | private final List<PrintLine> lines List of PrintLine to be printed. |
| type | private Type type |
| version | private String version Request API Version. |
| Name | Summary |
|---|---|
| getAllowQueuedPrint | public final Boolean getAllowQueuedPrint() If set to true, request will be put into FIFO queue and printed once it's possible. If set to false and queue is empty, text will be printed immediately. If set to false and queue is not empty, PrintRes with status PrintStatus.BUSY will be responded. |
| getId | public final String getId() Request ID. |
| getLines | public final List<PrintLine> getLines() List of PrintLine to be printed. |
| getType | public final Type getType() |
| getVersion | public final String getVersion() Request API Version. |
| setId | public final Unit setId(Stringid) Request ID. |
| setType | public final Unit setType(Typetype) |
| setVersion | public final Unit setVersion(Stringversion) Request API Version. |