Printers+


Contents


Introduction and Overview

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.


Wimp Messages


Message_PrintInterrogate
(&8014B)

Printer Manager interrogation
Message
OffsetContents
R1+20Reason code
R1+24Reason code specific
Source
Any application / Printer Manager
Destination
Printer Manager / Any application
Use

To be used by external configuration applications to determine the current state of a printers setup.


Message_PrintInterrogate 0
(&8014B)

Printer Manager interrogation
Message
OffsetContents
R1+200
R1+24Printer id
R1+32Options word
R1+36x resolution
R1+40y resolution
R1+44flags
R1+48null-terminated current mode name (may be empty)
R1+nword-aligned null-terminated printer name from PDF (Printers+ only)
R1+nword-aligned null-terminated short printer name from PDF (Printers+ only)
Source
Any application / Printer Manager
Destination
Printer Manager / Any application
Use

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).


Document information

Maintainer(s): David Marston <roprinters@illudium.org.uk>
History:
RevisionDateAuthorChanges
1DMInitial version
  • Description of Message_PrintInterrogate added