Home about IT Motivation Course Sales Project About Me

Sunday, July 26, 2009

C3 BARCODE LABEL - JEITA FORMAT 4f programming


below steps that you can use to develop printing Barcode label use format C3 JEITA 4f ?
you can use : PHP 5 programming , APACHE web server and fpdf class.
The point programming as below:
  • require code39.php and $pdf->Code39($pdf->GetX()+1, $pdf->GetY(), "1P$pn1") for barcode font
  • $pdf = new FPDF('P', 'cm', 'A4') for paper size
  • for($i=1;$i<=$ctk1;$i++) {....} for looping label printing quantity
  • function SetCol($col) { $x=25+$col*87 ...} at code39.php to set margin each column label.
  • onKeyDown="if(event.keyCode==13) document.getElementById('ctk11').focus();" for setup enter and focus cursor
  • onKeypress="if(event.keyCode <> 57) event.returnValue = false;" for setup only type number
  • onclick="form.action='test1.php';form.submit();" for submit button
  • Highlight form element- © Dynamic Drive (www.dynamicdrive.com) to create highlight form element

No comments: