home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-04-03 | 5.8 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: printstuff.c
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Apr 3 18:30:20 1991, modified Wed Apr 3 18:30:20 1991, creator 'MPS ', type ASCII, 5024 bytes "printstuff.c" , at 0x1420 578 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 70 72 69 6e 74 73 | 74 75 66 66 2e 63 00 00 |..prints|tuff.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 13 a0 00 | 00 02 42 a4 20 16 0c a4 |........|..B. ...|
|00000060| 20 16 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 56 52 00 00 |........|....VR..|
|00000080| 2f 2a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/*------|--------|
|00000090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 23 0d 23 |--------|----.#.#|
|000000c0| 09 4e 65 77 73 57 61 74 | 63 68 65 72 09 2d 20 4d |.NewsWat|cher.- M|
|000000d0| 61 63 69 6e 74 6f 73 68 | 20 4e 4e 54 50 20 43 6c |acintosh| NNTP Cl|
|000000e0| 69 65 6e 74 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |ient App|lication|
|000000f0| 0d 23 0d 23 09 57 72 69 | 74 74 65 6e 20 62 79 20 |.#.#.Wri|tten by |
|00000100| 53 74 65 76 65 6e 20 46 | 61 6c 6b 65 6e 62 75 72 |Steven F|alkenbur|
|00000110| 67 0d 23 09 a9 31 39 39 | 30 20 41 70 70 6c 65 20 |g.#..199|0 Apple |
|00000120| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 23 |Computer|, Inc..#|
|00000130| 0d 23 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.#------|--------|
|00000140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 23 0d |--------|-----.#.|
|00000170| 23 09 70 72 69 6e 74 73 | 74 75 66 66 2e 63 0d 23 |#.prints|tuff.c.#|
|00000180| 0d 23 09 54 68 69 73 20 | 6d 6f 64 75 6c 65 20 63 |.#.This |module c|
|00000190| 6f 6e 74 61 69 6e 73 20 | 63 6f 64 65 20 77 68 69 |ontains |code whi|
|000001a0| 63 68 20 70 72 69 6e 74 | 73 20 74 68 65 20 63 6f |ch print|s the co|
|000001b0| 6e 74 65 6e 74 73 20 6f | 66 0d 23 09 61 20 74 65 |ntents o|f.#.a te|
|000001c0| 78 74 65 64 69 74 20 72 | 65 63 6f 72 64 20 74 6f |xtedit r|ecord to|
|000001d0| 20 61 20 70 72 69 6e 74 | 65 72 2e 0d 23 0d 23 2d | a print|er..#.#-|
|000001e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000210| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2f 0d 0d 23 69 |--------|--*/..#i|
|00000220| 6e 63 6c 75 64 65 20 22 | 63 6f 6d 70 61 74 2e 68 |nclude "|compat.h|
|00000230| 22 0d 0d 23 69 66 64 65 | 66 20 50 52 4f 54 4f 53 |"..#ifde|f PROTOS|
|00000240| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|00000250| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 4d 65 |.h>.#inc|lude <Me|
|00000260| 6d 6f 72 79 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |mory.h>.|#include|
|00000270| 20 3c 51 75 69 63 6b 44 | 72 61 77 2e 68 3e 0d 23 | <QuickD|raw.h>.#|
|00000280| 69 6e 63 6c 75 64 65 20 | 3c 54 6f 6f 6c 55 74 69 |include |<ToolUti|
|00000290| 6c 73 2e 68 3e 0d 23 69 | 6e 63 6c 75 64 65 20 3c |ls.h>.#i|nclude <|
|000002a0| 4f 53 55 74 69 6c 73 2e | 68 3e 0d 23 69 6e 63 6c |OSUtils.|h>.#incl|
|000002b0| 75 64 65 20 3c 50 72 69 | 6e 74 69 6e 67 2e 68 3e |ude <Pri|nting.h>|
|000002c0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 4c 69 73 74 73 |.#includ|e <Lists|
|000002d0| 2e 68 3e 0d 23 65 6e 64 | 69 66 0d 0d 23 69 6e 63 |.h>.#end|if..#inc|
|000002e0| 6c 75 64 65 20 22 6e 6e | 74 70 2e 68 22 0d 23 69 |lude "nn|tp.h".#i|
|000002f0| 6e 63 6c 75 64 65 20 22 | 70 72 69 6e 74 73 74 75 |nclude "|printstu|
|00000300| 66 66 2e 68 22 0d 23 69 | 6e 63 6c 75 64 65 20 22 |ff.h".#i|nclude "|
|00000310| 6d 69 73 63 73 74 75 66 | 66 2e 68 22 0d 0d 23 64 |miscstuf|f.h"..#d|
|00000320| 65 66 69 6e 65 20 6f 64 | 64 28 74 68 65 49 6e 74 |efine od|d(theInt|
|00000330| 29 20 28 20 28 74 68 65 | 49 6e 74 20 25 20 32 29 |) ( (the|Int % 2)|
|00000340| 20 3d 3d 20 31 20 29 0d | 0d 65 78 74 65 72 6e 20 | == 1 ).|.extern |
|00000350| 54 45 48 61 6e 64 6c 65 | 20 67 46 72 6f 6e 74 54 |TEHandle| gFrontT|
|00000360| 45 3b 09 09 2f 2a 20 66 | 72 6f 6e 74 6d 6f 73 74 |E;../* f|rontmost|
|00000370| 20 74 65 78 74 65 64 69 | 74 20 68 61 6e 64 6c 65 | textedi|t handle|
|00000380| 20 2a 2f 0d 0d 73 74 61 | 74 69 63 20 54 48 50 72 | */..sta|tic THPr|
|00000390| 69 6e 74 20 6d 79 48 50 | 72 69 6e 74 3b 09 09 2f |int myHP|rint;../|
|000003a0| 2a 20 70 72 69 6e 74 69 | 6e 67 20 68 61 6e 64 6c |* printi|ng handl|
|000003b0| 65 20 2a 2f 0d 73 74 61 | 74 69 63 20 54 45 48 61 |e */.sta|tic TEHa|
|000003c0| 6e 64 6c 65 20 70 72 69 | 6e 74 54 45 3b 09 09 2f |ndle pri|ntTE;../|
|000003d0| 2a 20 74 65 78 74 65 64 | 69 74 20 68 61 6e 64 6c |* texted|it handl|
|000003e0| 65 20 74 6f 20 70 72 69 | 6e 74 20 2a 2f 0d 73 74 |e to pri|nt */.st|
|000003f0| 61 74 69 63 20 48 61 6e | 64 6c 65 20 74 78 74 3b |atic Han|dle txt;|
|00000400| 09 09 09 09 2f 2a 20 74 | 65 78 74 20 74 6f 20 70 |..../* t|ext to p|
|00000410| 72 69 6e 74 20 2a 2f 0d | 73 74 61 74 69 63 20 73 |rint */.|static s|
|00000420| 68 6f 72 74 20 6c 69 6e | 65 73 50 65 72 50 61 67 |hort lin|esPerPag|
|00000430| 65 3b 09 09 2f 2a 20 23 | 20 6f 66 20 6c 69 6e 65 |e;../* #| of line|
|00000440| 73 20 70 65 72 20 70 61 | 67 65 20 2a 2f 0d 0d 73 |s per pa|ge */..s|
|00000450| 74 61 74 69 63 20 54 50 | 50 72 50 6f 72 74 09 09 |tatic TP|PrPort..|
|00000460| 70 72 50 6f 72 74 3b 09 | 09 2f 2a 20 70 72 69 6e |prPort;.|./* prin|
|00000470| 74 69 6e 67 20 70 6f 72 | 74 20 2a 2f 0d 73 74 61 |ting por|t */.sta|
|00000480| 74 69 63 20 42 6f 6f 6c | 65 61 6e 09 09 70 72 49 |tic Bool|ean..prI|
|00000490| 73 4f 70 65 6e 2c 64 6f | 63 49 73 4f 70 65 6e 2c |sOpen,do|cIsOpen,|
|000004a0| 70 61 67 65 49 73 4f 70 | 65 6e 3b 09 2f 2a 20 70 |pageIsOp|en;./* p|
|000004b0| 72 69 6e 74 69 6e 67 20 | 66 6c 61 67 73 20 2a 2f |rinting |flags */|
|000004c0| 0d 0d 76 6f 69 64 20 43 | 6c 65 61 6e 55 70 28 76 |..void C|leanUp(v|
|000004d0| 6f 69 64 29 0d 7b 0d 09 | 4d 79 49 4f 43 68 65 63 |oid).{..|MyIOChec|
|000004e0| 6b 28 50 72 45 72 72 6f | 72 28 29 29 3b 0d 09 69 |k(PrErro|r());..i|
|000004f0| 66 20 28 70 61 67 65 49 | 73 4f 70 65 6e 29 0d 09 |f (pageI|sOpen)..|
|00000500| 09 50 72 43 6c 6f 73 65 | 50 61 67 65 28 70 72 50 |.PrClose|Page(prP|
|00000510| 6f 72 74 29 3b 0d 09 69 | 66 20 28 64 6f 63 49 73 |ort);..i|f (docIs|
|00000520| 4f 70 65 6e 29 0d 09 09 | 50 72 43 6c 6f 73 65 44 |Open)...|PrCloseD|
|00000530| 6f 63 28 70 72 50 6f 72 | 74 29 3b 0d 09 69 66 20 |oc(prPor|t);..if |
|00000540| 28 70 72 49 73 4f 70 65 | 6e 29 0d 09 09 50 72 43 |(prIsOpe|n)...PrC|
|00000550| 6c 6f 73 65 28 29 3b 0d | 7d 0d 0d 0d 4f 53 45 72 |lose();.|}...OSEr|
|00000560| 72 20 45 78 65 63 75 74 | 65 50 72 69 6e 74 28 54 |r Execut|ePrint(T|
|00000570| 48 50 72 69 6e 74 20 68 | 50 72 69 6e 74 29 0d 7b |HPrint h|Print).{|
|00000580| 0d 09 73 68 6f 72 74 20 | 74 68 65 46 69 72 73 74 |..short |theFirst|
|00000590| 2c 74 68 65 4c 61 73 74 | 3b 0d 09 42 6f 6f 6c 65 |,theLast|;..Boole|
|000005a0| 61 6e 20 77 61 73 6e 69 | 6c 2c 73 63 72 61 74 63 |an wasni|l,scratc|
|000005b0| 68 3b 0d 09 73 68 6f 72 | 74 20 6e 43 6f 70 69 65 |h;..shor|t nCopie|
|000005c0| 73 3b 0d 09 73 68 6f 72 | 74 20 70 72 44 65 76 69 |s;..shor|t prDevi|
|000005d0| 63 65 3b 0d 09 42 6f 6f | 6c 65 61 6e 20 64 72 61 |ce;..Boo|lean dra|
|000005e0| 66 74 4d 6f 64 65 3b 0d | 09 54 50 72 53 74 61 74 |ftMode;.|.TPrStat|
|000005f0| 75 73 20 70 72 53 74 61 | 74 75 73 3b 0d 09 47 72 |us prSta|tus;..Gr|
|00000600| 61 66 50 74 72 20 73 61 | 76 65 50 6f 72 74 3b 0d |afPtr sa|vePort;.|
|00000610| 09 4f 53 45 72 72 20 63 | 75 72 50 72 45 72 72 6f |.OSErr c|urPrErro|
|00000620| 72 3b 0d 09 52 65 63 74 | 20 70 61 67 65 52 65 63 |r;..Rect| pageRec|
|00000630| 74 3b 0d 09 73 68 6f 72 | 74 20 69 2c 70 3b 0d 0d |t;..shor|t i,p;..|
|00000640| 09 70 72 49 73 4f 70 65 | 6e 20 3d 20 64 6f 63 49 |.prIsOpe|n = docI|
|00000650| 73 4f 70 65 6e 20 3d 20 | 70 61 67 65 49 73 4f 70 |sOpen = |pageIsOp|
|00000660| 65 6e 20 3d 20 66 61 6c | 73 65 3b 0d 09 47 65 74 |en = fal|se;..Get|
|00000670| 50 6f 72 74 28 26 73 61 | 76 65 50 6f 72 74 29 3b |Port(&sa|vePort);|
|00000680| 0d 09 77 61 73 6e 69 6c | 20 3d 20 28 68 50 72 69 |..wasnil| = (hPri|
|00000690| 6e 74 20 3d 3d 20 6e 69 | 6c 29 3b 0d 09 50 72 4f |nt == ni|l);..PrO|
|000006a0| 70 65 6e 28 29 3b 0d 09 | 69 66 20 28 50 72 45 72 |pen();..|if (PrEr|
|000006b0| 72 6f 72 28 29 20 21 3d | 20 6e 6f 45 72 72 29 20 |ror() !=| noErr) |
|000006c0| 7b 0d 09 09 43 6c 65 61 | 6e 55 70 28 29 3b 0d 09 |{...Clea|nUp();..|
|000006d0| 09 72 65 74 75 72 6e 28 | 50 72 45 72 72 6f 72 28 |.return(|PrError(|
|000006e0| 29 29 3b 0d 09 7d 0d 09 | 70 72 49 73 4f 70 65 6e |));..}..|prIsOpen|
|000006f0| 20 3d 20 74 72 75 65 3b | 0d 09 73 63 72 61 74 63 | = true;|..scratc|
|00000700| 68 20 3d 20 50 72 56 61 | 6c 69 64 61 74 65 28 68 |h = PrVa|lidate(h|
|00000710| 50 72 69 6e 74 29 3b 0d | 09 69 66 20 28 21 50 72 |Print);.|.if (!Pr|
|00000720| 4a 6f 62 44 69 61 6c 6f | 67 28 68 50 72 69 6e 74 |JobDialo|g(hPrint|
|00000730| 29 29 20 7b 0d 09 09 43 | 6c 65 61 6e 55 70 28 29 |)) {...C|leanUp()|
|00000740| 3b 0d 09 09 72 65 74 75 | 72 6e 28 50 72 45 72 72 |;...retu|rn(PrErr|
|00000750| 6f 72 28 29 29 3b 0d 09 | 7d 0d 09 69 66 20 28 21 |or());..|}..if (!|
|00000760| 4d 79 50 72 65 70 50 72 | 6f 63 28 68 50 72 69 6e |MyPrepPr|oc(hPrin|
|00000770| 74 29 29 20 7b 0d 09 09 | 43 6c 65 61 6e 55 70 28 |t)) {...|CleanUp(|
|00000780| 29 3b 0d 09 09 72 65 74 | 75 72 6e 28 50 72 45 72 |);...ret|urn(PrEr|
|00000790| 72 6f 72 28 29 29 3b 0d | 09 7d 0d 09 70 72 44 65 |ror());.|.}..prDe|
|000007a0| 76 69 63 65 20 3d 20 28 | 20 28 2a 2a 68 50 72 69 |vice = (| (**hPri|
|000007b0| 6e 74 29 2e 70 72 53 74 | 6c 2e 77 44 65 76 20 3e |nt).prSt|l.wDev >|
|000007c0| 3e 20 38 20 29 3b 0d 09 | 64 72 61 66 74 4d 6f 64 |> 8 );..|draftMod|
|000007d0| 65 20 3d 20 21 28 6f 64 | 64 28 28 2a 2a 68 50 72 |e = !(od|d((**hPr|
|000007e0| 69 6e 74 29 2e 70 72 4a | 6f 62 2e 62 4a 44 6f 63 |int).prJ|ob.bJDoc|
|000007f0| 4c 6f 6f 70 29 29 3b 0d | 09 69 66 20 28 28 64 72 |Loop));.|.if ((dr|
|00000800| 61 66 74 4d 6f 64 65 29 | 20 26 26 20 28 70 72 44 |aftMode)| && (prD|
|00000810| 65 76 69 63 65 20 3d 3d | 20 31 29 29 0d 09 09 6e |evice ==| 1))...n|
|00000820| 43 6f 70 69 65 73 20 3d | 20 28 2a 2a 68 50 72 69 |Copies =| (**hPri|
|00000830| 6e 74 29 2e 70 72 4a 6f | 62 2e 69 43 6f 70 69 65 |nt).prJo|b.iCopie|
|00000840| 73 3b 0d 09 65 6c 73 65 | 0d 09 09 6e 43 6f 70 69 |s;..else|...nCopi|
|00000850| 65 73 20 3d 20 31 3b 0d | 09 0d 09 70 72 50 6f 72 |es = 1;.|...prPor|
|00000860| 74 20 3d 20 50 72 4f 70 | 65 6e 44 6f 63 28 68 50 |t = PrOp|enDoc(hP|
|00000870| 72 69 6e 74 2c 6e 69 6c | 2c 6e 69 6c 29 3b 0d 09 |rint,nil|,nil);..|
|00000880| 64 6f 63 49 73 4f 70 65 | 6e 20 3d 20 74 72 75 65 |docIsOpe|n = true|
|00000890| 3b 0d 09 63 75 72 50 72 | 45 72 72 6f 72 20 3d 20 |;..curPr|Error = |
|000008a0| 50 72 45 72 72 6f 72 28 | 29 3b 0d 09 69 66 20 28 |PrError(|);..if (|
|000008b0| 63 75 72 50 72 45 72 72 | 6f 72 20 21 3d 20 6e 6f |curPrErr|or != no|
|000008c0| 45 72 72 29 20 7b 0d 09 | 09 53 65 74 50 6f 72 74 |Err) {..|.SetPort|
|000008d0| 28 73 61 76 65 50 6f 72 | 74 29 3b 0d 09 09 72 65 |(savePor|t);...re|
|000008e0| 74 75 72 6e 28 63 75 72 | 50 72 45 72 72 6f 72 29 |turn(cur|PrError)|
|000008f0| 3b 0d 09 7d 0d 09 53 65 | 74 50 6f 72 74 28 26 70 |;..}..Se|tPort(&p|
|00000900| 72 50 6f 72 74 2d 3e 67 | 50 6f 72 74 29 3b 0d 09 |rPort->g|Port);..|
|00000910| 66 6f 72 20 28 69 3d 31 | 3b 20 69 3c 3d 6e 43 6f |for (i=1|; i<=nCo|
|00000920| 70 69 65 73 3b 20 69 2b | 2b 29 20 7b 0d 09 09 74 |pies; i+|+) {...t|
|00000930| 68 65 46 69 72 73 74 20 | 3d 20 28 2a 2a 68 50 72 |heFirst |= (**hPr|
|00000940| 69 6e 74 29 2e 70 72 4a | 6f 62 2e 69 46 73 74 50 |int).prJ|ob.iFstP|
|00000950| 61 67 65 3b 0d 09 09 74 | 68 65 4c 61 73 74 20 3d |age;...t|heLast =|
|00000960| 20 28 2a 2a 68 50 72 69 | 6e 74 29 2e 70 72 4a 6f | (**hPri|nt).prJo|
|00000970| 62 2e 69 4c 73 74 50 61 | 67 65 3b 0d 09 09 28 2a |b.iLstPa|ge;...(*|
|00000980| 2a 68 50 72 69 6e 74 29 | 2e 70 72 4a 6f 62 2e 69 |*hPrint)|.prJob.i|
|00000990| 46 73 74 50 61 67 65 20 | 3d 20 31 3b 0d 09 09 28 |FstPage |= 1;...(|
|000009a0| 2a 2a 68 50 72 69 6e 74 | 29 2e 70 72 4a 6f 62 2e |**hPrint|).prJob.|
|000009b0| 69 4c 73 74 50 61 67 65 | 20 3d 20 39 39 39 39 3b |iLstPage| = 9999;|
|000009c0| 0d 09 09 66 6f 72 20 28 | 70 3d 74 68 65 46 69 72 |...for (|p=theFir|
|000009d0| 73 74 3b 20 70 3c 3d 74 | 68 65 4c 61 73 74 3b 20 |st; p<=t|heLast; |
|000009e0| 70 2b 2b 29 20 7b 0d 09 | 09 09 50 72 4f 70 65 6e |p++) {..|..PrOpen|
|000009f0| 50 61 67 65 28 70 72 50 | 6f 72 74 2c 6e 69 6c 29 |Page(prP|ort,nil)|
|00000a00| 3b 0d 09 09 09 70 61 67 | 65 49 73 4f 70 65 6e 20 |;....pag|eIsOpen |
|00000a10| 3d 20 74 72 75 65 3b 0d | 09 09 09 48 4c 6f 63 6b |= true;.|...HLock|
|00000a20| 28 28 48 61 6e 64 6c 65 | 29 68 50 72 69 6e 74 29 |((Handle|)hPrint)|
|00000a30| 3b 0d 09 09 09 70 61 67 | 65 52 65 63 74 20 3d 20 |;....pag|eRect = |
|00000a40| 28 2a 2a 68 50 72 69 6e | 74 29 2e 70 72 49 6e 66 |(**hPrin|t).prInf|
|00000a50| 6f 2e 72 50 61 67 65 3b | 0d 09 09 09 73 63 72 61 |o.rPage;|....scra|
|00000a60| 74 63 68 20 3d 20 4d 79 | 50 61 67 65 50 72 6f 63 |tch = My|PageProc|
|00000a70| 28 68 50 72 69 6e 74 2c | 26 70 61 67 65 52 65 63 |(hPrint,|&pageRec|
|00000a80| 74 2c 70 29 3b 0d 09 09 | 09 48 55 6e 6c 6f 63 6b |t,p);...|.HUnlock|
|00000a90| 28 28 48 61 6e 64 6c 65 | 29 68 50 72 69 6e 74 29 |((Handle|)hPrint)|
|00000aa0| 3b 0d 09 09 09 50 72 43 | 6c 6f 73 65 50 61 67 65 |;....PrC|losePage|
|00000ab0| 28 70 72 50 6f 72 74 29 | 3b 0d 09 09 09 69 66 20 |(prPort)|;....if |
|00000ac0| 28 21 73 63 72 61 74 63 | 68 29 20 7b 0d 09 09 09 |(!scratc|h) {....|
|00000ad0| 09 63 75 72 50 72 45 72 | 72 6f 72 20 3d 20 69 50 |.curPrEr|ror = iP|
|00000ae0| 72 41 62 6f 72 74 3b 0d | 09 09 09 09 43 6c 65 61 |rAbort;.|....Clea|
|00000af0| 6e 55 70 28 29 3b 0d 09 | 09 09 09 72 65 74 75 72 |nUp();..|...retur|
|00000b00| 6e 28 50 72 45 72 72 6f | 72 28 29 29 3b 0d 09 09 |n(PrErro|r());...|
|00000b10| 09 7d 0d 09 09 7d 0d 09 | 7d 0d 09 50 72 43 6c 6f |.}...}..|}..PrClo|
|00000b20| 73 65 44 6f 63 28 70 72 | 50 6f 72 74 29 3b 0d 09 |seDoc(pr|Port);..|
|00000b30| 64 6f 63 49 73 4f 70 65 | 6e 20 3d 20 66 61 6c 73 |docIsOpe|n = fals|
|00000b40| 65 3b 0d 09 63 75 72 50 | 72 45 72 72 6f 72 20 3d |e;..curP|rError =|
|00000b50| 20 50 72 45 72 72 6f 72 | 28 29 3b 0d 09 0d 09 69 | PrError|();....i|
|00000b60| 66 20 28 20 21 64 72 61 | 66 74 4d 6f 64 65 20 26 |f ( !dra|ftMode &|
|00000b70| 26 20 28 63 75 72 50 72 | 45 72 72 6f 72 20 21 3d |& (curPr|Error !=|
|00000b80| 20 6e 6f 45 72 72 29 29 | 0d 09 09 50 72 50 69 63 | noErr))|...PrPic|
|00000b90| 46 69 6c 65 28 68 50 72 | 69 6e 74 2c 6e 69 6c 2c |File(hPr|int,nil,|
|00000ba0| 6e 69 6c 2c 6e 69 6c 2c | 26 70 72 53 74 61 74 75 |nil,nil,|&prStatu|
|00000bb0| 73 29 3b 0d 09 63 75 72 | 50 72 45 72 72 6f 72 20 |s);..cur|PrError |
|00000bc0| 3d 20 50 72 45 72 72 6f | 72 28 29 3b 0d 09 50 72 |= PrErro|r();..Pr|
|00000bd0| 43 6c 6f 73 65 28 29 3b | 0d 09 70 72 49 73 4f 70 |Close();|..prIsOp|
|00000be0| 65 6e 20 3d 20 66 61 6c | 73 65 3b 0d 09 0d 09 72 |en = fal|se;....r|
|00000bf0| 65 74 75 72 6e 28 6e 6f | 45 72 72 29 3b 0d 7d 0d |eturn(no|Err);.}.|
|00000c00| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 4d 79 50 72 65 70 |..Boolea|n MyPrep|
|00000c10| 50 72 6f 63 28 54 48 50 | 72 69 6e 74 20 74 68 65 |Proc(THP|rint the|
|00000c20| 48 50 72 69 6e 74 29 0d | 7b 0d 09 73 68 6f 72 74 |HPrint).|{..short|
|00000c30| 20 6e 75 6d 50 61 67 65 | 73 2c 73 63 72 56 65 72 | numPage|s,scrVer|
|00000c40| 74 2c 73 63 72 48 6f 72 | 69 3b 0d 09 66 6c 6f 61 |t,scrHor|i;..floa|
|00000c50| 74 20 64 6f 63 49 6e 63 | 68 65 73 2c 70 72 69 6e |t docInc|hes,prin|
|00000c60| 74 49 6e 63 68 65 73 3b | 0d 0d 09 53 63 72 65 65 |tInches;|...Scree|
|00000c70| 6e 52 65 73 28 26 73 63 | 72 56 65 72 74 2c 26 73 |nRes(&sc|rVert,&s|
|00000c80| 63 72 48 6f 72 69 29 3b | 0d 09 70 72 69 6e 74 49 |crHori);|..printI|
|00000c90| 6e 63 68 65 73 20 3d 20 | 28 28 66 6c 6f 61 74 29 |nches = |((float)|
|00000ca0| 20 28 20 28 2a 2a 74 68 | 65 48 50 72 69 6e 74 29 | ( (**th|eHPrint)|
|00000cb0| 2e 70 72 49 6e 66 6f 2e | 72 50 61 67 65 2e 62 6f |.prInfo.|rPage.bo|
|00000cc0| 74 74 6f 6d 20 2d 20 28 | 2a 2a 74 68 65 48 50 72 |ttom - (|**theHPr|
|00000cd0| 69 6e 74 29 2e 70 72 49 | 6e 66 6f 2e 72 50 61 67 |int).prI|nfo.rPag|
|00000ce0| 65 2e 74 6f 70 29 29 20 | 2f 20 28 28 66 6c 6f 61 |e.top)) |/ ((floa|
|00000cf0| 74 29 28 2a 2a 74 68 65 | 48 50 72 69 6e 74 29 2e |t)(**the|HPrint).|
|00000d00| 70 72 49 6e 66 6f 2e 69 | 56 52 65 73 29 3b 0d 09 |prInfo.i|VRes);..|
|00000d10| 6c 69 6e 65 73 50 65 72 | 50 61 67 65 20 3d 20 28 |linesPer|Page = (|
|00000d20| 70 72 69 6e 74 49 6e 63 | 68 65 73 20 2f 20 28 20 |printInc|hes / ( |
|00000d30| 28 28 66 6c 6f 61 74 29 | 28 28 2a 2a 70 72 69 6e |((float)|((**prin|
|00000d40| 74 54 45 29 2e 6c 69 6e | 65 48 65 69 67 68 74 29 |tTE).lin|eHeight)|
|00000d50| 29 20 2f 20 28 28 66 6c | 6f 61 74 29 20 73 63 72 |) / ((fl|oat) scr|
|00000d60| 56 65 72 74 29 29 20 29 | 3b 0d 09 69 66 20 28 28 |Vert)) )|;..if ((|
|00000d70| 2a 2a 74 68 65 48 50 72 | 69 6e 74 29 2e 70 72 4a |**theHPr|int).prJ|
|00000d80| 6f 62 2e 69 4c 73 74 50 | 61 67 65 20 3d 3d 20 39 |ob.iLstP|age == 9|
|00000d90| 39 39 39 29 20 7b 0d 09 | 09 64 6f 63 49 6e 63 68 |999) {..|.docInch|
|00000da0| 65 73 20 3d 20 28 2a 2a | 67 46 72 6f 6e 74 54 45 |es = (**|gFrontTE|
|00000db0| 29 2e 6c 69 6e 65 48 65 | 69 67 68 74 20 2a 20 28 |).lineHe|ight * (|
|00000dc0| 2a 2a 67 46 72 6f 6e 74 | 54 45 29 2e 6e 4c 69 6e |**gFront|TE).nLin|
|00000dd0| 65 73 20 2f 20 37 32 2e | 30 3b 0d 09 09 6e 75 6d |es / 72.|0;...num|
|00000de0| 50 61 67 65 73 20 3d 20 | 64 6f 63 49 6e 63 68 65 |Pages = |docInche|
|00000df0| 73 20 2f 20 70 72 69 6e | 74 49 6e 63 68 65 73 3b |s / prin|tInches;|
|00000e00| 0d 09 09 69 66 20 28 20 | 28 64 6f 63 49 6e 63 68 |...if ( |(docInch|
|00000e10| 65 73 20 2f 20 70 72 69 | 6e 74 49 6e 63 68 65 73 |es / pri|ntInches|
|00000e20| 29 20 21 3d 20 6e 75 6d | 50 61 67 65 73 20 29 0d |) != num|Pages ).|
|00000e30| 09 09 09 6e 75 6d 50 61 | 67 65 73 2b 2b 3b 0d 09 |...numPa|ges++;..|
|00000e40| 09 28 2a 2a 74 68 65 48 | 50 72 69 6e 74 29 2e 70 |.(**theH|Print).p|
|00000e50| 72 4a 6f 62 2e 69 4c 73 | 74 50 61 67 65 20 3d 20 |rJob.iLs|tPage = |
|00000e60| 6e 75 6d 50 61 67 65 73 | 3b 0d 09 7d 0d 09 69 66 |numPages|;..}..if|
|00000e70| 20 28 20 28 2a 2a 74 68 | 65 48 50 72 69 6e 74 29 | ( (**th|eHPrint)|
|00000e80| 2e 70 72 4a 6f 62 2e 69 | 4c 73 74 50 61 67 65 20 |.prJob.i|LstPage |
|00000e90| 3e 20 30 20 29 0d 09 09 | 72 65 74 75 72 6e 28 74 |> 0 )...|return(t|
|00000ea0| 72 75 65 29 3b 0d 09 65 | 6c 73 65 0d 09 09 72 65 |rue);..e|lse...re|
|00000eb0| 74 75 72 6e 28 66 61 6c | 73 65 29 3b 0d 7d 0d 0d |turn(fal|se);.}..|
|00000ec0| 42 6f 6f 6c 65 61 6e 20 | 4d 79 50 61 67 65 50 72 |Boolean |MyPagePr|
|00000ed0| 6f 63 28 54 48 50 72 69 | 6e 74 20 74 68 65 48 50 |oc(THPri|nt theHP|
|00000ee0| 72 69 6e 74 2c 52 65 63 | 74 20 2a 64 72 61 77 52 |rint,Rec|t *drawR|
|00000ef0| 65 63 74 2c 73 68 6f 72 | 74 20 70 61 67 65 4e 75 |ect,shor|t pageNu|
|00000f00| 6d 29 0d 7b 0d 09 50 74 | 72 20 74 78 74 50 74 72 |m).{..Pt|r txtPtr|
|00000f10| 3b 0d 09 73 68 6f 72 74 | 20 73 74 61 72 74 2c 6c |;..short| start,l|
|00000f20| 65 6e 67 74 68 3b 0d 09 | 0d 09 23 70 72 61 67 6d |ength;..|..#pragm|
|00000f30| 61 20 75 6e 75 73 65 64 | 20 28 74 68 65 48 50 72 |a unused| (theHPr|
|00000f40| 69 6e 74 29 0d 09 0d 09 | 48 4c 6f 63 6b 28 74 78 |int)....|HLock(tx|
|00000f50| 74 29 3b 0d 09 54 65 78 | 74 46 6f 6e 74 28 28 2a |t);..Tex|tFont((*|
|00000f60| 2a 70 72 69 6e 74 54 45 | 29 2e 74 78 46 6f 6e 74 |*printTE|).txFont|
|00000f70| 29 3b 0d 09 54 65 78 74 | 46 61 63 65 28 28 2a 2a |);..Text|Face((**|
|00000f80| 70 72 69 6e 74 54 45 29 | 2e 74 78 46 61 63 65 29 |printTE)|.txFace)|
|00000f90| 3b 0d 09 54 65 78 74 4d | 6f 64 65 28 28 2a 2a 70 |;..TextM|ode((**p|
|00000fa0| 72 69 6e 74 54 45 29 2e | 74 78 4d 6f 64 65 29 3b |rintTE).|txMode);|
|00000fb0| 0d 09 54 65 78 74 53 69 | 7a 65 28 28 2a 2a 70 72 |..TextSi|ze((**pr|
|00000fc0| 69 6e 74 54 45 29 2e 74 | 78 53 69 7a 65 29 3b 0d |intTE).t|xSize);.|
|00000fd0| 09 73 74 61 72 74 20 3d | 20 28 2a 2a 70 72 69 6e |.start =| (**prin|
|00000fe0| 74 54 45 29 2e 6c 69 6e | 65 53 74 61 72 74 73 5b |tTE).lin|eStarts[|
|00000ff0| 28 28 70 61 67 65 4e 75 | 6d 20 2d 20 31 29 20 2a |((pageNu|m - 1) *|
|00001000| 20 6c 69 6e 65 73 50 65 | 72 50 61 67 65 29 5d 3b | linesPe|rPage)];|
|00001010| 0d 09 69 66 20 28 28 2a | 2a 70 72 69 6e 74 54 45 |..if ((*|*printTE|
|00001020| 29 2e 6e 4c 69 6e 65 73 | 20 3c 20 28 70 61 67 65 |).nLines| < (page|
|00001030| 4e 75 6d 20 2a 20 6c 69 | 6e 65 73 50 65 72 50 61 |Num * li|nesPerPa|
|00001040| 67 65 29 29 0d 09 09 6c | 65 6e 67 74 68 20 3d 20 |ge))...l|ength = |
|00001050| 28 2a 2a 70 72 69 6e 74 | 54 45 29 2e 74 65 4c 65 |(**print|TE).teLe|
|00001060| 6e 67 74 68 20 2d 20 73 | 74 61 72 74 3b 0d 09 65 |ngth - s|tart;..e|
|00001070| 6c 73 65 0d 09 09 6c 65 | 6e 67 74 68 20 3d 20 28 |lse...le|ngth = (|
|00001080| 2a 2a 70 72 69 6e 74 54 | 45 29 2e 6c 69 6e 65 53 |**printT|E).lineS|
|00001090| 74 61 72 74 73 5b 28 70 | 61 67 65 4e 75 6d 20 2a |tarts[(p|ageNum *|
|000010a0| 20 6c 69 6e 65 73 50 65 | 72 50 61 67 65 29 5d 20 | linesPe|rPage)] |
|000010b0| 2d 20 73 74 61 72 74 3b | 0d 09 74 78 74 50 74 72 |- start;|..txtPtr|
|000010c0| 20 3d 20 2a 74 78 74 20 | 2b 20 73 74 61 72 74 3b | = *txt |+ start;|
|000010d0| 0d 09 54 65 78 74 42 6f | 78 28 74 78 74 50 74 72 |..TextBo|x(txtPtr|
|000010e0| 2c 6c 65 6e 67 74 68 2c | 64 72 61 77 52 65 63 74 |,length,|drawRect|
|000010f0| 2c 74 65 4a 75 73 74 4c | 65 66 74 29 3b 0d 09 48 |,teJustL|eft);..H|
|00001100| 55 6e 6c 6f 63 6b 28 74 | 78 74 29 3b 0d 09 72 65 |Unlock(t|xt);..re|
|00001110| 74 75 72 6e 28 74 72 75 | 65 29 3b 0d 7d 0d 0d 76 |turn(tru|e);.}..v|
|00001120| 6f 69 64 20 49 6e 69 74 | 50 72 69 6e 74 28 76 6f |oid Init|Print(vo|
|00001130| 69 64 29 0d 7b 0d 09 50 | 72 4f 70 65 6e 28 29 3b |id).{..P|rOpen();|
|00001140| 0d 09 4d 79 49 4f 43 68 | 65 63 6b 28 50 72 45 72 |..MyIOCh|eck(PrEr|
|00001150| 72 6f 72 28 29 29 3b 0d | 09 6d 79 48 50 72 69 6e |ror());.|.myHPrin|
|00001160| 74 20 3d 20 28 54 48 50 | 72 69 6e 74 29 20 4d 79 |t = (THP|rint) My|
|00001170| 4e 65 77 48 61 6e 64 6c | 65 28 73 69 7a 65 6f 66 |NewHandl|e(sizeof|
|00001180| 28 54 50 72 69 6e 74 29 | 29 3b 0d 09 69 66 20 28 |(TPrint)|);..if (|
|00001190| 4d 79 4d 65 6d 45 72 72 | 28 29 20 21 3d 20 6e 6f |MyMemErr|() != no|
|000011a0| 45 72 72 29 0d 09 09 72 | 65 74 75 72 6e 3b 0d 09 |Err)...r|eturn;..|
|000011b0| 50 72 69 6e 74 44 65 66 | 61 75 6c 74 28 6d 79 48 |PrintDef|ault(myH|
|000011c0| 50 72 69 6e 74 29 3b 0d | 09 4d 79 49 4f 43 68 65 |Print);.|.MyIOChe|
|000011d0| 63 6b 28 50 72 45 72 72 | 6f 72 28 29 29 3b 0d 09 |ck(PrErr|or());..|
|000011e0| 50 72 43 6c 6f 73 65 28 | 29 3b 0d 7d 0d 0d 76 6f |PrClose(|);.}..vo|
|000011f0| 69 64 20 44 6f 50 61 67 | 65 53 65 74 75 70 28 76 |id DoPag|eSetup(v|
|00001200| 6f 69 64 29 0d 7b 0d 09 | 49 6e 69 74 43 75 72 73 |oid).{..|InitCurs|
|00001210| 6f 72 28 29 3b 0d 09 50 | 72 4f 70 65 6e 28 29 3b |or();..P|rOpen();|
|00001220| 0d 09 69 66 20 28 50 72 | 45 72 72 6f 72 28 29 20 |..if (Pr|Error() |
|00001230| 3d 3d 20 6e 6f 45 72 72 | 29 20 7b 0d 09 09 50 72 |== noErr|) {...Pr|
|00001240| 56 61 6c 69 64 61 74 65 | 28 6d 79 48 50 72 69 6e |Validate|(myHPrin|
|00001250| 74 29 3b 0d 09 09 69 66 | 20 28 50 72 45 72 72 6f |t);...if| (PrErro|
|00001260| 72 28 29 20 3d 3d 20 6e | 6f 45 72 72 29 0d 09 09 |r() == n|oErr)...|
|00001270| 09 50 72 53 74 6c 44 69 | 61 6c 6f 67 28 6d 79 48 |.PrStlDi|alog(myH|
|00001280| 50 72 69 6e 74 29 3b 0d | 09 09 65 6c 73 65 20 4d |Print);.|..else M|
|00001290| 79 49 4f 43 68 65 63 6b | 28 50 72 45 72 72 6f 72 |yIOCheck|(PrError|
|000012a0| 28 29 29 3b 0d 09 7d 0d | 09 65 6c 73 65 0d 09 09 |());..}.|.else...|
|000012b0| 4d 79 49 4f 43 68 65 63 | 6b 28 50 72 45 72 72 6f |MyIOChec|k(PrErro|
|000012c0| 72 28 29 29 3b 0d 09 50 | 72 43 6c 6f 73 65 28 29 |r());..P|rClose()|
|000012d0| 3b 0d 09 4d 79 49 4f 43 | 68 65 63 6b 28 50 72 45 |;..MyIOC|heck(PrE|
|000012e0| 72 72 6f 72 28 29 29 3b | 0d 7d 0d 0d 76 6f 69 64 |rror());|.}..void|
|000012f0| 20 44 6f 50 72 69 6e 74 | 28 76 6f 69 64 29 0d 7b | DoPrint|(void).{|
|00001300| 0d 09 49 6e 69 74 43 75 | 72 73 6f 72 28 29 3b 0d |..InitCu|rsor();.|
|00001310| 09 70 72 69 6e 74 54 45 | 20 3d 20 67 46 72 6f 6e |.printTE| = gFron|
|00001320| 74 54 45 3b 0d 09 69 66 | 20 28 4d 79 48 61 6e 64 |tTE;..if| (MyHand|
|00001330| 54 6f 48 61 6e 64 28 28 | 48 61 6e 64 6c 65 20 2a |ToHand((|Handle *|
|00001340| 29 26 70 72 69 6e 74 54 | 45 29 20 21 3d 20 6e 6f |)&printT|E) != no|
|00001350| 45 72 72 29 0d 09 09 72 | 65 74 75 72 6e 3b 0d 09 |Err)...r|eturn;..|
|00001360| 74 78 74 20 3d 20 28 2a | 2a 67 46 72 6f 6e 74 54 |txt = (*|*gFrontT|
|00001370| 45 29 2e 68 54 65 78 74 | 3b 0d 09 69 66 20 28 4d |E).hText|;..if (M|
|00001380| 79 48 61 6e 64 54 6f 48 | 61 6e 64 28 26 74 78 74 |yHandToH|and(&txt|
|00001390| 29 20 21 3d 20 6e 6f 45 | 72 72 29 0d 09 09 72 65 |) != noE|rr)...re|
|000013a0| 74 75 72 6e 3b 0d 09 28 | 2a 2a 70 72 69 6e 74 54 |turn;..(|**printT|
|000013b0| 45 29 2e 68 54 65 78 74 | 20 3d 20 74 78 74 3b 0d |E).hText| = txt;.|
|000013c0| 09 4d 79 49 4f 43 68 65 | 63 6b 28 20 45 78 65 63 |.MyIOChe|ck( Exec|
|000013d0| 75 74 65 50 72 69 6e 74 | 28 6d 79 48 50 72 69 6e |utePrint|(myHPrin|
|000013e0| 74 29 20 29 3b 0d 09 4d | 79 44 69 73 70 6f 73 48 |t) );..M|yDisposH|
|000013f0| 61 6e 64 6c 65 28 74 78 | 74 29 3b 0d 09 4d 79 44 |andle(tx|t);..MyD|
|00001400| 69 73 70 6f 73 48 61 6e | 64 6c 65 28 28 48 61 6e |isposHan|dle((Han|
|00001410| 64 6c 65 29 70 72 69 6e | 74 54 45 29 3b 0d 7d 0d |dle)prin|tTE);.}.|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001480| 00 00 01 00 00 00 01 f8 | 00 00 00 f8 00 00 00 4a |........|.......J|
|00001490| 6e 6c 6f 61 64 53 65 67 | 28 28 50 74 72 29 20 44 |nloadSeg|((Ptr) D|
|000014a0| 6f 53 61 76 65 29 3b 0d | 09 55 6e 6c 6f 61 64 53 |oSave);.|.UnloadS|
|000014b0| 0c 70 72 69 6e 74 73 74 | 75 66 66 2e 63 d1 02 00 |.printst|uff.c...|
|000014c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000014d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 a9 8d 49 79 00 00 | 00 00 00 00 02 42 65 63 |....Iy..|.....Bec|
|00001500| 6f 72 64 3b 0d 09 4d 79 | 49 4f 43 68 65 63 6b 28 |ord;..My|IOCheck(|
|00001510| 48 61 6e 64 54 6f 48 61 | 6e 64 28 26 70 72 69 6e |HandToHa|nd(&prin|
|00001520| 74 54 45 29 29 3b 0d 09 | 74 78 74 20 3d 20 57 44 |tTE));..|txt = WD|
|00001530| 41 54 41 54 45 2e 68 54 | 65 78 74 3b 0d 09 4d 79 |ATATE.hT|ext;..My|
|00001540| 49 4f 43 68 65 63 6b 28 | 48 61 6e 64 54 6f 48 61 |IOCheck(|HandToHa|
|00001550| 6e 64 28 26 74 78 74 29 | 29 3b 0d 09 28 2a 2a 70 |nd(&txt)|);..(**p|
|00001560| 72 69 6e 74 54 45 29 2e | 68 54 65 78 74 20 3d 20 |rintTE).|hText = |
|00001570| 74 78 74 3b 0d 09 4d 79 | 49 4f 43 68 65 63 6b 28 |txt;..My|IOCheck(|
|00001580| 00 00 00 1e 00 50 00 20 | 03 63 02 3d 00 50 00 20 |.....P. |.c.=.P. |
|00001590| 03 63 02 3d 00 00 00 00 | 00 00 00 00 00 00 00 00 |.c.=....|........|
|000015a0| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 94 |.....H..|Monaco..|
|000015b0| 00 69 00 00 00 14 00 01 | a6 3c 00 0a 00 19 00 63 |.i......|.<.....c|
|000015c0| 00 24 00 69 00 00 00 00 | 00 06 00 04 00 50 00 20 |.$.i....|.....P. |
|000015d0| 01 dd 02 3d 00 50 00 20 | 01 dd 02 3d a3 ed c6 8d |...=.P. |...=....|
|000015e0| 00 00 12 71 00 00 12 78 | 00 00 11 6d 01 00 00 00 |...q...x|...m....|
|000015f0| 00 86 00 07 00 00 04 47 | 00 00 04 4e 07 43 6c 65 |.......G|...N.Cle|
|00001600| 61 6e 55 70 00 00 04 e2 | 00 00 04 ee 0d 45 78 65 |anUp....|.....Exe|
|00001610| 63 75 74 65 50 72 69 6e | 74 00 00 00 0b 8a 00 00 |cutePrin|t.......|
|00001620| 0b 94 0b 4d 79 50 72 65 | 70 50 72 6f 63 00 00 00 |...MyPre|pProc...|
|00001630| 0e 48 00 00 0e 52 0b 4d | 79 50 61 67 65 50 72 6f |.H...R.M|yPagePro|
|00001640| 63 00 00 00 10 a4 00 00 | 10 ad 09 49 6e 69 74 50 |c.......|...InitP|
|00001650| 72 69 6e 74 00 00 11 73 | 00 00 11 7e 0b 44 6f 50 |rint...s|...~.DoP|
|00001660| 61 67 65 53 65 74 75 70 | 00 00 12 71 00 00 12 78 |ageSetup|...q...x|
|00001670| 07 44 6f 50 72 69 6e 74 | 00 00 01 00 00 00 01 f8 |.DoPrint|........|
|00001680| 00 00 00 f8 00 00 00 4a | 00 3f 1d b0 04 c8 00 00 |.......J|.?......|
|00001690| 00 1c 00 4a 00 00 4d 50 | 53 52 00 02 00 0a 03 f0 |...J..MP|SR......|
|000016a0| ff ff 00 00 00 00 00 00 | 00 00 03 ed ff ff 00 00 |........|........|
|000016b0| 00 22 00 00 00 00 03 ef | ff ff 00 00 00 6e 00 40 |."......|.....n.@|
|000016c0| bf 4c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L......|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+