PHP Classes

File: views/layouts/label_GodexBP500L_6X6.php

Recommend this page to a friend!
  Classes of Uldis Nelsons   PHP Barcode and QRCode Reader and Generator   views/layouts/label_GodexBP500L_6X6.php   Download  
File: views/layouts/label_GodexBP500L_6X6.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Barcode and QRCode Reader and Generator
Generate barcodes and qrcodes for printing
Author: By
Last change:
Date: 3 years ago
Size: 625 bytes
 

Contents

Class file image Download
<?php

use yii\web\View;
/**
 * @var View $this
 * @var string $content
 */



$this->beginPage()
?><!DOCTYPE html>
    <head>
        <meta charset="utf-8">
    <style type="text/css">
        html {width: 330px;}
        @page {
            /* size: 5cm 5cm; */
            margin: 1mm 1mm 1mm 1mm;
        }
        @media print {
            body{
                width: 300px;
                text-align: center;
            }
        }
    </style>
        <?php $this->head(); ?>
</head>
    <?php $this->beginBody() ?>
<?=$content?>
<?php $this->endBody() ?>
</body>
</html>
<?php
$this
->endPage();