Topic: Barcode EAN-8 Generator mod
Unique EAN-8 Barcode ID generator for FA 2.3.x is enabled in this commit.
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Items and Inventory → Barcode EAN-8 Generator mod
Unique EAN-8 Barcode ID generator for FA 2.3.x is enabled in this commit.
Is there a way to print barcode lables and stock item names from Inventory
Barcode printing is available in the tcpdf library that FA uses for it's reporting. Checkout the TCPDF examples and write your reports for the barcode label size, type and layout needed.
Sample usage in a reporting/rep###.php file is:
// ..
// ..
// define barcode style
$style = array(
'position' => 'L', // If blank string, barcode starts on left edge of page
'stretch' => false,
'fitwidth' => true,
'cellfitalign' => '',
'border' => true,
'padding' => 'auto',
'fgcolor' => array(0,0,0),
'bgcolor' => false, //array(255,255,255),
'text' => true,
'font' => 'helvetica',
'fontsize' => 8,
'stretchtext' => 4
);
// EAN 8
$y = $rep->GetY();
// write1DBarcode($code, $type, $x='', $y='', $w='', $h='', $xres=0.4, $style='', $align='')
$rep->write1DBarcode('1234567', 'EAN8', 5, $y-8.5, 75, 22, 1.2, $style, 'N');
// ..
// ..
As EAN 8 is not available in the standard FA 2.3 and 2.4 as of now, my FAMods repos have been updated with the code backported from the TCPDF repo.
Attached is the file to replace in FA 2.3 and 2.4 (same file).
FrontAccounting forum → Items and Inventory → Barcode EAN-8 Generator mod
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.