DSM Template Services Manual
Display-Text Procedures
DSM Template Services Manual—427187-004
2-7
SPI_BUFFER_FORMATNEXT_
format-ID
INT:value
is the value returned in the format-ID parameter of a call to
SPI_BUFFER_FORMATSTART_.
SPI-buffer
INT .EXT:ref:*
points to the SPI buffer to be represented in display text.
text-buffer:size
STRING .EXT:ref:*, INT:value
points to the text buffer that is to contain the display text and gives the text-buffer
length, in bytes. The length (size) must be a multiple of n, so the text buffer can
contain an integral number of logical lines.
n
INT:value
is the number of logical lines in text-buffer.
lengths
INT .EXT:ref:*
is an array of n integers. Each element is the length, in bytes, of the significant
information in a logical line.
status-1
INT .EXT:ref:1
supplements status on page 2-6. For a list of values, see Supplementary Status
Values on page 2-18.
-12 Insufficient stack space
-13 File-system error; see status-1 and status-2
-14 A Guardian procedure error; see status-1 and status-2
-15 Invalid template file; see status-1 and status-2
-16 text-buffer contains all the display text that will fit; call the procedure again for
the rest (or for the next portion)
-26 No scan ID available; report this to your HP representative