Microsoft KB Archive/24645

Printing on Legal-Sized Paper with a Xerox 4045

PSS ID Number: Q24645 Article last modified on 11-02-1994

3.x 4.00 5.00 5.50 6.00

MS-DOS

= SUMMARY =

To print legal-sized paper on a Xerox 4045, change the page length with the Format Division Margins (Word 5.00) or Format Section Margins (Word 5.50) command. Also, make the following change to the code at byte 0 in the printer driver:

The following is an example before the change:

“[zg[m660,0,0,0,510J[+PJ[+1Titan10iso-PJ[1”

The following is an example after the change:

“[zg[m840,0,0,0,510J[+PJ[+1Titan10iso-PJ[1”

The Word version 5.50 printer driver differs from the Word 5.00 printer driver in that it uses measurements of 300ths of an inch while Word 5.00 uses measurements of 60ths of an inch.

The new value at byte 0 reads:

“[zf[m3300,0,0,0,2550J[+PJ[+1Titan10iso-PJ[1”

Change the above line to the following:

“[zf[m4200,0,0,0,2500J[+PJ[+1Titan10iso-PJ[1”

= MORE INFORMATION =

The sequence ^[zf and ^[zg set the default measurement values to 300ths and 60ths, respectively. The escape sequence ^[m#1,#2,#3,#4,#5 set the margins (the #’s are replaced with numerical values).

The different numbers are as follows:


 * 1) 1 = size of paper #2 = top margin #3 = bottom margin #4 = left margin #5 = right margin

Example
^[m4200,0,0,0,0

KBCategory: kbother KBSubcategory: Additional reference words:

=
================================================================ Copyright Microsoft Corporation 1994.