TScan
and "PrintTraps.h" define basically the same information. "Printing.h" provides
glue so that your application can run on 512K Macs that have the old ROM's and
will be running System 3.1 or earlier. If your application does not have to run on
512K Macs (or can't for other reasons), you should use "PrintTraps.h
type of printer being used and the style and resolution of the
output.
TRslRg contains info about range of resolutions achievable by a particular printer
TRslRec contains actual dot densities that the printer can achieve TPfPgDir Print information during printing TPrint the central "print record". See Print Manager handle your Print... command.
when you handle your Page Setup... command
typedef unsigned char TFeed;
typedef unsigned char TScan; typedef pascal void (*PrIdleProcPtr)(void);
typedef pascal void (*PItemProcPtr)(DialogPtr theDialog, short item); typedef pascal TPPrDlg (*PDlgInitProcPtr)(THPrint hPrint); bDraftLoop 0 values found in TPrint.bJDocLoop bSpoolLoop 1
bUser1Loop 2
bUser2Loop 3
feedCut 0 values found in TPrStl.feed feedFanfold 1
feedMechCut 2
feedOther 3
scanBT 1
scanLR 2
scanRL 3
bDevCItoh 1 found in high-order byte of TPrStl.wdev bDevDaisy 2
bDevLaser 3
iDevCItoh 0x0100 found in TPrStl.wdev iDevDaisy 0x0200
iDevLaser 0x0300
iPrBitsCtl 4 various PrCtlCall function parameters lScreenBits 0x00000000
lPaintBits 0x00000001
lHiScreenBits 0x00000010
lHiPaintBits 0x00000011
iPrIOCtl 5
iPrEvtCtl 6
lPrEvtAll 0x0002FFFD
lPrEvtTop 0x0001FFFD
iPrDevCtl 7
lPrReset 0x00010000
lPrPageEnd 0x00020000
lPrLineFeed 0x00030000
lPrLFStd 0x0003FFFF
lPrPageOpen 0x0004000
lPrDocClose 0x0005000
lPrLFSixth 0x0003FFFF
lPrLFEighth 0x0003FFFE
iFMgrCtl 8
iMscCtl 9 Msc Text state / Drvr State ctl number
iPvtCtl 10 Private ctls start here
sPrDrvr "\p.Print" Other defined constants
iPrDrvrRef (-3)
iPrPgFract 120
iPrPgFst 1
iPrPgMax 9999
iPrRelease 3
iPfMaxPgs 128
pPrGlobals 0x00000944
fNewRunBit 2 Bit 2 (3rd bit) in bDocLoop is new JobRun
indicator
fHiResOK 3 Bit 3 (4th bit) in bDocLoop is hi res indicator
for paint
fWeOpenedRF 4 Bit 4 (5th bit) in bDocLoop is set if driver
opened the pr res file
PrGeneral iOpCode values
GetRslDataOp 4
SetRslOp 5
DraftBitsOp 6
NoDraftBitsOp 7
GetRotnOp 8
RgType1 1 PrGeneral constant
Do not use low memory global variables that are not documented.
No undocumented location below the system heap is guaranteed to be available
for use in future systems.
Name Address Size Description
PrintErr 0x944 2 most recent Print Manager Error Code