PHP Classes

Issue in code39 barcode height

Recommend this page to a friend!

      PHP Print EPL  >  All threads  >  Issue in code39 barcode height  >  (Un) Subscribe thread alerts  
Subject:Issue in code39 barcode height
Summary:Issue in code39 barcode height
Messages:2
Author:arun
Date:2017-12-16 15:42:07
 

 


  1. Issue in code39 barcode height   Reply   Report abuse  
Picture of arun arun - 2017-12-16 15:42:07
I am facing one issue, my label size is 1.5inch width and 1 inch height and i am using code39 barcode, when i print the barcode height is very low. How can we increase height of barcode

$hostPrinter = "\\test-PC\test";
$speedPrinter = 3;
$darknessPrint = 6;
$labelSize = array(450,100);
$referencePoint = array(300,50);

$z = new ZebraPrinter($hostPrinter, $speedPrinter, $darknessPrint, $labelSize, $referencePoint);

$z->setBarcode(3,240,50,"123456"); #1 -> cod128
$z->writeLabel("12345678",175,0,4);
//$z->setBarcode(1, 344, 230, "ContentBarCode"); #1 -> cod128
//$z->writeLabel("TestLabel",344,180,4);
$z->setLabelCopies(1);
$z->print2zebra();

  2. Re: Issue in code39 barcode height   Reply   Report abuse  
Picture of arun arun - 2017-12-16 15:42:08
I am facing one issue, my label size is 1.5inch width and 1 inch height and i am using code39 barcode, when i print the barcode height is very low. How can we increase height of barcode

$hostPrinter = "\\test-PC\test";
$speedPrinter = 3;
$darknessPrint = 6;
$labelSize = array(450,100);
$referencePoint = array(300,50);

$z = new ZebraPrinter($hostPrinter, $speedPrinter, $darknessPrint, $labelSize, $referencePoint);

$z->setBarcode(3,240,50,"123456"); #1 -> cod128
$z->writeLabel("12345678",175,0,4);
//$z->setBarcode(1, 344, 230, "ContentBarCode"); #1 -> cod128
//$z->writeLabel("TestLabel",344,180,4);
$z->setLabelCopies(1);
$z->print2zebra();

 
For more information send a message to info at phpclasses dot org.