All Databases
Inside Mac - Index
TGetRotnBlk
TGetRotnBlk
structure
#include <
PrintTraps.h
>
typedef struct
TGetRotnBlk
{
Size Offset Description
short
iOpCode; 2 0 8= opcode for GetRotn
short
iError; 2 2 0=noErr; 1=noSuchRsl;
2=opNotImpl
long
lReserved; 4 4 (not used )
THPrint
hPrint; 4 8
Handle
to a valid print record
Boolean
fLandscape; 1 12 Was landscape orientation selected?
SignedByte
bXtra; 1 13 (not used)
}
TGetRotnBlk
; 14
Notes:
TGetRotnBlk
defines a subsidiary record used by the
TGnlData
record in
PrGeneral
calls. The first 8 bytes are common for all
PrGeneral
calls
and, in fact, constitute the
TGnlData
record. fLandscape is TRUE when the
printer is set to produce a sideways-rotated page.
HPrint is the handle to a
TPrint
structure that has already been passed by
PrValidate
.
TGetRotnBlk
will do nothing if the printer doesn't have a draft mode or if
there was no preceding
DraftBits
call.
Referenced by (5):
TGnlData
TScan
Types.h
TGnlData (Inside Mac - Index)
TScan (Inside Mac - Index)