Microsoft KB Archive/20827

Unable to Achieve a One Line Bottom Margin PSS ID Number: Q20827 Article last modified on 03-28-1990 PSS database name: D_MPlan

3.00 3.01 3.02 3.04

MS-DOS

Summary: If you specify Print Margins in such a way that the Top Margin together with the Print Length add up to a value of one less than the Page Length, Multiplan will not send the Form Feed character to get to the top of a new page. This problem will seem to stop you from being able to print a spreadsheet with a one line bottom margin. A workaround is the following:


 * 1) Set the Page Length field under Print Margins to a larger value so that its value is two or more lines more than the sum of the Top Margin and the Print Length.
 * 2) Configure your printer (by putting the appropriate code in the Print Options Setup field) to have a “Form Length in Lines” that matches the Page Length you originally specified.

More Information: For example, suppose you are using an Epson-Fx printer and you want to get a top margin of two lines, a print length of seven lines, and a page length of 10 lines. To achieve this, you would define the values under Print Margins to be Top:2, Print Length:7, and Page Length:11. Then go in under Print Options Setup and enter the code that will configure the Epson-Fx for a “Form Length in Lines” of 10. The Epson-Fx code for “Form Length in Lines” is CHR$(27)"C"CHR$ (n). The code we would enter under Print Options Setup would be “[CJ”. The “^[” stands for character 27, i.e., ESCAPE. “^J” is the ASCII representation of character 10. Version 3.04 allows for a command line parameter that causes Multiplan to use Line Feeds instead of Form Feed codes to get to the Top of a new Page. The solution to the problem of not allowing a one line bottom margin, if you have Version 3.04, is to start the program by typing “mp /L”.

Copyright Microsoft Corporation 1990.