public function barcodeAction()
    {
        $code = $this->getRequest()->getParam('code', 'empty');
        \Zend_Layout::getMvcInstance()->disableLayout();
        $this->_helper->viewRenderer->setNoRender();

        $barcodeOptions = array('text' => $code);
        $rendererOptions = array();
        $barcode = \Zend_Barcode::render('code128', 'image', $barcodeOptions, $rendererOptions);
        $barcode->render();
    }