Hi,
I am trying to send an invoice report to a generic / text printer using escape sequence to set the font size of the layouts.
The problem is that the not printable ascii codes are modified.
I.E. the escape ascii code (27) is transformed to 2E before printing.
Has anyone an idea ?
Thanks.
0
Comments
I'm not sure what your trying to exactly? can you explain a bit more?
http://www.BiloBeauty.com
http://www.autismspeaks.org
Is there a way to send by a navisio report these non printable ascii codes to a printer ?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
In the Navisision report, you just have to put the property Bold or Underline to Yes.
I never used the escape sequences for 10/12/17 cpi, but in case those don't work and you don't use bold or underline, you can put the code for N cpi in the bold or underline sequence.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
If you open the sourcecode to edit this, you will have to copy the escape codes from the documentation section to the (OnPreReport) functional section.
They do work after compiling. Only when you open de sourcecode to edit
are modified.
An other way is to declare Char variables and set these to the numeric values voor the asci values. E.g. Char_Quote := 27;
It is not solution, because the code will not reach printer. Windows driver will change it...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!