$this->SetFont('Arial', '', 8);
            //page numbers start counting from page #2
            $this->Cell(0, 10, 'Seite ' . ($this->PageNo() - 1) . ' von {nb}', 0, 0, 'C');
        }
    }
    function OrderBarcode($joi_id, $barcode_xpos, $barcode_ypos, $barcode_width)
    {
        $barcode_code39_no = 'JG-' . $joi_id;
        $barcode_code39 = DIR_FS_BARCODES . drawBarcode('CODE39', 'M', $barcode_code39_no, false, false);
        $this->Image($barcode_code39, $barcode_xpos, $barcode_ypos, $barcode_width);
    }
}
//ADDED TO ACTIVATE HTML TAGS IN MULTICELL (USED FOR OT.DE Rücksendeschein) SetStyle, MultiCellTag
require_once DIR_WS_CLASSES . 'class.string_tags.php';
require_once DIR_WS_CLASSES . 'class.multicelltag.php';
$pdf = new fpdf_multicelltag('P', 'mm', 'A4');
$pdf->setTitle('Invoices');
$pdf->SetAuthor('JULIE GRACE');
$pdf->SetCreator('k-Auto Generated PDF');
$pdf->SetDisplayMode('real');
$pdf->SetAutoPageBreak(false, 1);
$margin = 10;
$address_width = 60;
$address_height = 26;
$address_height2 = 33;
$gray = 160;
$fontsize_big = '9';
$fontsize_med = '8';
$fontsize_sml = '7';
$fontsize_sml_med = '6';
$fontsize_tny = '5';
Example #2
0
            $this->SetFont('Arial', '', 8);
            //page numbers start counting from page #2
            $this->Cell(0, 10, 'Seite ' . ($this->PageNo() - 1) . ' von {nb}', 0, 0, 'C');
        }
    }
    function OrderBarcode($joi_id, $barcode_xpos, $barcode_ypos, $barcode_width)
    {
        $barcode_code39_no = 'JG-' . $joi_id;
        $barcode_code39 = DIR_FS_BARCODES . drawBarcode('CODE39', 'M', $barcode_code39_no, false, false);
        $this->Image($barcode_code39, $barcode_xpos, $barcode_ypos, $barcode_width);
    }
}
//ADDED TO ACTIVATE HTML TAGS IN MULTICELL (USED FOR OT.DE Rücksendeschein) SetStyle, MultiCellTag
require_once DIR_WS_CLASSES . 'class.string_tags.php';
require_once DIR_WS_CLASSES . 'class.multicelltag.php';
$pdf = new fpdf_multicelltag('P', 'mm', 'A4');
$pdf->setTitle('Invoices');
$pdf->SetAuthor('JULIE GRACE');
$pdf->SetCreator('k-Auto Generated PDF');
$pdf->SetDisplayMode('real');
$pdf->SetAutoPageBreak(false, 1);
$margin = 10;
$address_width = 60;
$address_height = 30;
$address_height2 = 33;
$gray = 160;
$fontsize_big = '9';
$fontsize_med = '8';
$fontsize_sml = '7';
$fontsize_sml_med = '6';
$fontsize_tny = '5';
        $this->lasth = $h;
        if ($ln > 0) {
            //Go to next line
            $this->y += $h;
            if ($ln == 1) {
                $this->x = $this->lMargin;
            }
        } else {
            $this->x += $w;
        }
    }
}
//ADDED TO ACTIVATE HTML TAGS IN MULTICELL (USED FOR OT.DE Rücksendeschein) SetStyle, MultiCellTag
require_once DIR_WS_CLASSES . 'class.string_tags.php';
require_once DIR_WS_CLASSES . 'class.multicelltag.php';
$pdf = new fpdf_multicelltag('P', 'mm', 'A4');
$pdf->initPDF();
$pdf->setTitle('Invoice / Delivery Document');
$pdf->SetAuthor('JULIE GRACE');
$pdf->SetCreator('k-Auto Generated PDF');
$pdf->SetDisplayMode('real');
$pdf->SetAutoPageBreak(false, 1);
$gray = 160;
$black = 0;
$order_counter = 0;
$fontsize_big = '9';
$fontsize_med = '8';
$fontsize_sml = '7';
$fontsize_sml_med = '6';
$fontsize_tny = '5';
$margin = 10;