PRB: HP LaserJet III Truncates FoxPro LIST TO PRINT Output

Last reviewed: April 17, 1995
Article 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:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

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