<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — barcode]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8103&amp;type=atom" />
	<updated>2019-04-22T18:50:36Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8103</id>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34792#p34792" />
			<content type="html"><![CDATA[<p>@apmuthu, thanks for this report. Very useful for me.</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2019-04-22T18:50:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34792#p34792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34791#p34791" />
			<content type="html"><![CDATA[<p>The sizing of what you want is attached - 5cm x 3cm.</p><p>As the code in my previous post has all the necessary variables and functionality, you can now engage anyone in the <a href="https://frontaccounting.com/punbb/viewforum.php?id=16">Job Board</a> to do it for you <a href="https://www.amazon.in/Avery-Plastic-Thermal-Barcode-Adhesive/dp/B06XVDDDR8">specific to your printer</a>.</p><p>If you print all your barcodes in one A4 page then you can use a regular printer with <a href="https://www.amazon.in/Desmat-Stickers-Products-Fulfillment-Services/dp/B06XXJB8F7">Avery like labels</a> - but printing on them may waste paper if you just need one or two.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-22T18:10:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34791#p34791</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34786#p34786" />
			<content type="html"><![CDATA[<p>i need remove all in page header and i need view one page same like this image<br />https://i.ibb.co/nck6Cjc/14145568.png<br />to print label in printer TSC label</p>]]></content>
			<author>
				<name><![CDATA[almohasb]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18218</uri>
			</author>
			<updated>2019-04-22T13:44:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34786#p34786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34775#p34775" />
			<content type="html"><![CDATA[<p>Here is a first draft of <strong>rep311.php</strong> which should do the job.</p><p>@joe: Move the defines to <strong>sys_prefs</strong> table with appropriate settables in the Company Setup and incorporate it into the core if found useful.</p><p>Additional variables could be number of barcodes per sheet (here 1) besides suppressing the header if not necessary.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-21T19:45:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34775#p34775</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34770#p34770" />
			<content type="html"><![CDATA[<p>If rep303.php has the &#039;EAN&#039; replaced with &#039;C128B&#039;, the attached Stock Check Sheets would ensue.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-21T17:32:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34770#p34770</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34769#p34769" />
			<content type="html"><![CDATA[<p>The <strong>EAN8</strong> barcode type is hardcoded in the <strong>reporting/rep303.php</strong> file in lines 327-329:<br /></p><div class="codebox"><pre><code>$barcode = str_pad($trans[&#039;stock_id&#039;], 7, &#039;0&#039;, STR_PAD_LEFT);
$barcode = substr($barcode, 0, 8); // EAN 8 Check digit is auto computed and barcode printed
$rep-&gt;write1DBarcode($barcode, &#039;EAN8&#039;, $rep-&gt;cols[$firstcol++], $bar_y + 22, 22, $SysPrefs-&gt;pic_height, 1.2, $style, &#039;N&#039;);</code></pre></div><p>The default FA <strong>reporting/includes/barcodes.php</strong> file is from the TCPDF &#039;s 1dBarcode library when used.</p><p>The <strong>reporting/rep303.php</strong> file however uses <a href="http://www.phpclasses.org/package/8560-PHP-Detect-type-and-check-EAN-and-UPC-barcodes.html">another library&#039;s extracted barcode functionality</a> which supports only the following subset of formats:<br /></p><div class="codebox"><pre><code>EAN, EAN-8, EAN-13, GTIN-8, GTIN-12, GTIN-14, UPC, UPC-12 coupon code, JAN</code></pre></div><p>Using another subset of TCPDF from a <a href="https://github.com/picqer/php-barcode-generator">GitHub project for barcode generation</a> is also feasible. This library is set to be PHP 5.4+ compatible but for backwards compatibility with PHP 5.3.x, just replace all instances of &quot;= []&quot; with &quot;= Array()&quot; in it&#039;s <strong>src/BarcodeGenerator.php</strong> file.</p><p>Sample code for using it in a standalone manner would be:<br /></p><div class="codebox"><pre><code>&lt;?php
include(&#039;src/BarcodeGenerator.php&#039;);
include(&#039;src/BarcodeGeneratorPNG.php&#039;);

$generator = new Picqer\Barcode\BarcodeGeneratorPNG();
file_put_contents(&#039;src/files/081231723897-code128.png&#039;, $generator-&gt;getBarcode(&#039;081231723897&#039;, $generator::TYPE_CODE_128));
echo &#039;&lt;img src=&quot;data:image/png;base64,&#039; . base64_encode($generator-&gt;getBarcode(&#039;081231723897&#039;, $generator::TYPE_CODE_128)) . &#039;&quot;&gt;&#039;;</code></pre></div><p>The above will both generate a file and display it inline as well.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-21T17:06:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34769#p34769</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34756#p34756" />
			<content type="html"><![CDATA[<p>Setup =&gt; Company Setup =&gt; tick &quot;Use Barcodes on Stocks&quot; and optionally tick &quot;Company Logo on Reports&quot; if logo is present and desired.</p><p>Items and Inventory =&gt; Items =&gt; Add New Item<br />You will now see the EAN-8 Barcode which if clicked, will yield a random <a href="https://en.wikipedia.org/wiki/EAN-8">EAN-8 barcode</a></p><p>Any other barcodes you will need to make changes in the codebase and you can also use third party online tools to generate them like:</p><p>https://barcode.tec-it.com/en/EAN8<br />https://www.free-barcode-generator.net/code-128/</p><p>Items and Inventory =&gt; Inventory Reports =&gt; Stock Check Sheets =&gt; Select &quot;Yes&quot; for &quot;Show Pictures&quot; and optionally &quot;Inventory Column&quot; and now all barcodes will be listed.</p><p>Since you want code-128 barcode and one barcode per sheet with your fields listed there, just edit the Stock Check Sheets <strong>reporting/rep303.php</strong> file to suit your need.</p><p>If you need technical assistance for it, post your specs and bounty in the Jobs board and hopefully someone will assist you.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-20T16:51:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34756#p34756</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34707#p34707" />
			<content type="html"><![CDATA[<p>i need used Code 128 Font <br />and i need relation to print label barcode contain :- </p><p>barcode number <br />name item<br />price ( got list price from type sales for example if i need print barcode by list retail price is retail - if need wholesale print wholesale&nbsp; ) </p><p>and i need one item in one page by ( size 2.5 cm width × 5 cm height ) to print one item in one page <br />for example 20 item = 20 page by this size </p><p>thanks</p>]]></content>
			<author>
				<name><![CDATA[almohasb]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18218</uri>
			</author>
			<updated>2019-04-18T11:35:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34707#p34707</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34704#p34704" />
			<content type="html"><![CDATA[<p>Which field in FA do you want to use as Barcode and what code type of barcode do you want?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-18T10:32:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34704#p34704</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[barcode]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34702#p34702" />
			<content type="html"><![CDATA[<p>i need report print label barcode in item by printer barcode<br />how this report</p>]]></content>
			<author>
				<name><![CDATA[almohasb]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18218</uri>
			</author>
			<updated>2019-04-17T18:19:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34702#p34702</id>
		</entry>
</feed>
