On 06/04/13 02:33 PM, Jeff Johnson wrote:
Dan: The whole problem is because these invoices print letter quality
bold and wide in the heading. Can your print class do that by sending
the print codes before the text?
Jeff
Apparently, yes. Here's a snippet:
------------
procedure PrintBody
* Print a single invoice to (TempFile)
set memowidth to 255
if PtrName = "LPT1" or PtrName = "\\"
*-- It's an OKIDATA, add the control codes
@ 02, 00 say chr(27)+chr(103) && Esc g = 15 cpi
@ 02,103 say chr(27)+chr(80) && Esc P = 10 cpi
@ 02,106 say INVNO
@ 02,114 say iif(PRINTED,"*","")
@ 02,116 say chr(27)+chr(103) && back to 15 cpi
else
*-- A Windows printer, no codes
@ 02,106 say INVNO
@ 02,114 say iif(PRINTED,"*","")
endif
-------------
This code is from FPW 2.5!
Dan
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.