Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextMerge and Fonts, Sytles
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127857
Message ID:
00128065
Vues:
36
The problem is none of their documentation provided codes on fonts, colors, font sizes, etc. Everytime I deviate from just a ? or ??, like feeding it data from a field, the printer goes nuts [prints high bit characters]. EPSON relies on the ESC/POS standards being developed jointly by MS, Epson, and other POS manufacturers. Their is a web site for all this but it is over a 650 page document describing all this. Ughhh.

Yeah, this is lots of fun. :(

Due to time constraints, I have 86ed this option temporarily and only providing the option for printing invoices on standard printers and letter size paper. I will pick up this development later.

>Are you having fun yet?
>
>Instead of TextMerge, use ? and ?? Then when you want to insert a printer code use ??? (Yup, really!)
>
>As for codes for Courier New, you're probably limited to what is provided by the printer. Have a good time reading printer codes, which are always written in fine print, in light gray type on a glossy page in about 6 pt type.
>
>Barbara
>
>>retry -- I substituted [] for the angle brackets because of HTML format.
>>
>>Huh? This is a receipt printer. It accepts whatever VFP will send to it. Are you suggesting something like:
>>set textmerge on
>>\ [[chr(27)+....]]ACME School for Widget Makers
>>scan
>>\ [[chr(##)+....]]table.field
>>endscan
>>set textmerge off
>>\
>>
>>What escape codes would you use to specify *Courier New*?
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform