Microsoft KB Archive/24211

Printing in Compressed Print and Landscape Orientation PSS ID Number: Q24211 Article last modified on 08-31-1988 PSS database name: D_MPlan

3.x

MS-DOS

Question:

I would like to print my spreadsheet in compressed print and landscape orientation, but the escape codes for this combination are too long to enter in the Print Options setup field.

Response:

If the escape code sequence is longer than 32 characters, it will be too long for the setup field in Print Options. You need to do the following:


 * 1) Split the codes.
 * 2) Enter one group in the setup field under Print Options.
 * 3) Place the other group in the first cell of the area on the spreadsheet which is being printed.

Because the setup field in Print Options is read first, it is the location into which you enter the escape code for the landscape orientation. Enter the escape code for the compressed font in the first cell of your spreadsheet.

The following example uses the Hewlett-Packard LaserJet Plus with the Z cartridge to print out a spreadsheet using the lineprinter (compressed) font in landscape orientation. In Print Option setup, type the following:

^[&&l1O

where the last three characters are a lowercase letter l, the number 1, and an uppercase letter O.

In the first cell (in Alpha Mode), enter the following:

[(0U[(s16.66h8.5v0s0b0T

where the ^ must be entered by pressing CTRL-B, and 0 is zero.

Copyright Microsoft Corporation 1988.