Microsoft KB Archive/92796

{| = PRB: HP LaserJet III Truncates FoxPro LIST TO PRINT Output =
 * width="100%"|

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)+&quot;&s0C&quot; (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