﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>ScriptX User Forum</title><link>https://scriptx.meadroid.com</link><item><title>printString problem</title><link>https://scriptx.meadroid.com/community-support/community-forum/raw-printing/2014/4/printstring-problem.aspx</link><description><![CDATA[
<p>i&nbsp;use a lot printDocument to print variable form on variable printers (pdf, laser, matrix, thermal, ) and he work perfectly.</p>
<p>but i tried to use printString to create script in javascript and send directly to the printer.</p>
<p>but, a problem occured when i tried to send positionning orders in ESC/P to an epson FX-890..</p>
<p>this printer request print order with value caracters encoded.</p>
<p>javascript exemple gotox(x)&nbsp;and print val_x&nbsp;function</p>
<p>function testprinterx(x)<br>
{<br>
&nbsp;var p = factory.rawPrinting;<br>
&nbsp;p.printer = testmatrixprinter;<br>
&nbsp;texte=&quot;&quot;;</p>
<p>nh=parseInt(x/256);<br>
&nbsp;nl=x%256;</p>
<p>exte&#43;=String.fromCharCode(0x1B);<br>
&nbsp;texte&#43;=String.fromCharCode(0x24);<br>
&nbsp;texte&#43;=String.fromCharCode(dl);<br>
&nbsp;texte&#43;=String.fromCharCode(dh);<br>
&nbsp;texte=texte&#43;&quot;val_&quot;&#43;x;<br>
&nbsp;&nbsp;p.printString(texte);<br>
}</p>
<p>the problem with this function isn't in this function, she work perfectly. <strong>
<span style="text-decoration:underline">the problem is in printString function.</span></strong></p>
<p>each caracters sended to printString with value&nbsp; &gt; 127 and value &lt; 160&nbsp; is converted to 80 : following , the exact list:</p>
<pre class="x_brush: x_c-sharp;">128,130 to 140, 142, 145 to 156, 158,159</pre>
<p>each value in this list, &nbsp;sended with printString is changed to 80!</p>
<p>it's unusable!!</p>
<p>i controled ALL: javascript encoded data, printers dump, and the only position of probleme is in the printString function who CHANGE VALUES SENDED!</p>
<p>WHY THIS FUNCTION CHANGE MY DATAS?</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></description><pubDate>Tue, 01 Apr 2014 12:00:17 GMT</pubDate></item><item><title>Problem Printing Page</title><link>https://scriptx.meadroid.com/community-support/community-forum/raw-printing/2015/12/problem-printing-page.aspx</link><description><![CDATA[
<p>It's been a month since I first encountered problem with the massive printing of files.</p>
<p>To put it more accurately, I daily send a list of files to be printed.The majority of files are printed normally.</p>
<p>However,sometimes a minor quantity of them (10 out 100, or 4 out of 1000, or 1 out of 15 files-it is random) are printed incompletely.</p>
<p>Part of the information is ommited.When I retry to print it seperately, it is<strong> always
</strong>printed accurately and completely.</p>
<p>I face this problem twice a week and I need immediately your help in order to solve th problem.</p>
<p>The version of MeadCo I use is v7.1.0.60(x86).</p>
<p>&nbsp;</p>
<p>Thank you for your helap in advance</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="color:#212121; font-family:arial,sans-serif; font-size:16px; line-height:24px; white-space:pre-wrap">I encountered problems with the massive printing</span></p>
]]></description><pubDate>Wed, 23 Dec 2015 12:56:58 GMT</pubDate></item></channel></rss>