Hello,
Please acknowledge that how can i set the subject matter in forxpro for dos. I want to set this subject on to printer when i get started my printouts. I know but i don't have exact command for these purpurpose.
One of the most common methods of doing most of what you describe is to use the specific printer's Programming Command Language (PCL).
This approach is consistent with your suggested CHR(xxx) method.
By sending the proper command strings to the printer prior to sending the text, you can control many printing properties - Condensed Font, Bold Font, etc.
Many dot-matrix printers use the old Epson FX-80 PCL as a "generic" standard, but some do not. You would need to check with your printer's manufacturer and/or its manuals to know for certain.
Once you have determined the appropriate and necessary PCL strings you can send them to the printer with either the
???CHR(xxx)
method directly in your code or by calling a function to send them.
Good Luck,
JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
With a Chr before each command. I store them in a control file and use them as needed. You can get more examples in the manual of any dot matrix printer.
MBSCSI, thanks for the reply. The codes you provide are a great start, but I would like the full list of escape codes for an Epson FX-80, for which I don't have the manual. Any idea where else I could find these codes?
I'll take a look at my old printer manuals and get back to you ina day or so. If I have one, I can e-mail or fax you. I am new to this forum and I do not know if you have private messages. I hate to put my e-mail address in a forum like this as spammers sacn sites and mine the info..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.