From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:PJL and PCL" |
|---|
| claim | "A PCL 5 job is recognised by ESC E ESC (1B 45 1B) at offset 0; the paper size command ESC&l<n>A at offset 3 selects the size (26 = A4, 2 = US letter, 3 = US legal)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "PCL 5" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "string match at offset 0 and 3" |
|---|
| indicator | "1B 45 1B, then '&l26A' etc. at offset 3" |
|---|
| table | "0 default, 1 executive, 2 letter, 3 legal, 26 A4, 80 Monarch, 81 No. 10, 90 DL, 91 C5, 100 B5, -81/-90 landscape envelopes" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "HP PCL printer data rules" |
|---|
| repo | "file/file" |
|---|
| commit | "4ee5ca8fb938c3168bcededd0ce7c2e03daea485" |
|---|
| path | "magic/Magdir/printer" |
|---|
| lines | "116-128" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "PCL 5 reset" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T08:38:08.660Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:11:53.201Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read file(1) Magdir/printer lines 112-128 at the cited commit: string rule 1B 45 1B at offset 0 and the table of &l<n>A sizes at offset 3 (0,1,2,3,26,80,81,90,91,100,-81,-90). The size suffix is only annotated when it directly follows the reset; a PJL-wrapped PCL job starts with the UEL, not ESC E." |
|---|
|
|
|---|