Microsoft KB Archive/92796

From BetaArchive Wiki

PRB: HP LaserJet III Truncates FoxPro LIST TO PRINT Output

ID: Q92796

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, versions 1.02, 2.0, 2.5x, 2.6, 2.6a

SYMPTOMS

When the Microsoft FoxPro LIST TO command is used to print database records to a Hewlett-Packard (HP) LaserJet III or IIISi printer, long records are truncated.

CAUSE

End-of-line wrap is not enabled on the printer.

RESOLUTION

If a printer driver is not used, send the following escape sequence to the printer from the Command window or a program before issuing the LIST TO PRINT statement:

   ??? CHR(27)+"&s0C"

(The characters within the quotation marks are an ampersand, lower case s, zero, and uppercase C.) If a printer driver is used, modify the printer driver to include the escape sequence above. To do so, modify the P_SETUP field of the HP LaserJet III printer record in the P_CODES database. For more information on changing the P_CODES database, query on the following words in the Microsoft Knowledge Base:

   editing and p_codes and database

REFERENCES

"LaserJet IIISi Printer User's Reference Manual," Page C-10

The Hewlett-Packard LaserJet III and LaserJet IIISi printers are manufactured by Hewlett-Packard Company, a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

Additional reference words: FoxDos 1.02 2.00 2.50 2.50a 2.50b 2.60 2.60a laser jet KBCategory: kbprg kbprb KBSubcategory:


Last Reviewed: April 17, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.