Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re: DOS Printing in VFP

Status
Not open for further replies.

austinms

Programmer
Feb 14, 2001
6
IN
I am trying to print to a Dot Matrix Printer using a Generic Text driver but font character codes are being printing as dot characters in the report....

How can one use condense/double width character codes with Generic Text printers in VFP ?



 
When using the Generic Text driver, printer codes (like bold, condensed etc) must be sent explict.
This can be done either in the printer-options box or by sending them yourself.

In VFP, <ESC> can be sent by using CHR(27) Diederik Vermeeren
verm1864@exact.nl
 
report form xxxx to file text.txt ascii
type text.txt to printer prompt

David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top