This document aims to provide programming information useful to developers working with Printers+ and the RISC OS Printing System in general. This document currently describes only the interfaces changed or added over the original printer manager, and should be read in conjunction with the RISC OS 3 PRM.
Offset | Contents |
---|---|
R1+20 | Reason code |
R1+24 | Reason code specific |
To be used by external configuration applications to determine the current state of a printers setup.
Offset | Contents |
---|---|
R1+20 | 0 |
R1+24 | Printer id |
R1+32 | Options word |
R1+36 | x resolution |
R1+40 | y resolution |
R1+44 | flags |
R1+48 | null-terminated current mode name (may be empty) |
R1+n | word-aligned null-terminated printer name from PDF (Printers+ only) |
R1+n | word-aligned null-terminated short printer name from PDF (Printers+ only) |
The requesting application should pass in the id of the printer for which the config data is required, Printers will first ack the message, and then reply with the remainder of the configuration block completed.
If no reply is received then either the Printer Manager is no longer running, or the printer id was not recognised by the Printer Manager (currently the dp and lj back-ends).
Maintainer(s): | David Marston <roprinters@illudium.org.uk> | ||||||||
---|---|---|---|---|---|---|---|---|---|
History: |
|