Microsoft KB Archive/24645

From BetaArchive Wiki

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



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:


The following is an example after the change:


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:


Change the above line to the following:



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



KBCategory: kbother KBSubcategory: Additional reference words:

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