Skip to content

Instantly share code, notes, and snippets.

@viniciusss
Created June 12, 2013 15:25
Show Gist options
  • Save viniciusss/5766286 to your computer and use it in GitHub Desktop.
Save viniciusss/5766286 to your computer and use it in GitHub Desktop.
protected function layoutEtiqueta($etiqueta)
{
$this->AddPage();
$text = <<<CONTEUDO
EXPEDICAO: 1 - PLACA: ODG1222
CARGA: 12312 - ENTREGA: 12312 - ITINERARIO
123123 - FULANO DE TAL
043133 - CAMA CASAL MARFIM - VERDE
Fornecedor: PHILCO
VOLUME 1/2 - 00.00.00.00
GRANDEZA - ESTOQUE: 104
CONTEUDO;
$this->MultiCell(100, 2.7, $text, 0, 'L');
$this->Image(CodigoBarras::gerarImagemEAN13($etiqueta['codBarras']), 55, 12, 50);
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment