<?php
/*
Generated by OutputBooks Team
*/

goto Dd5Aa;
k6rlC:
$content .= tabular("\115\101\x54\105\x52\111\x41\x4c", $itemName);
goto KV9Br;
lXVmC:
$content .= EscPos::init();
goto R5B8X;
MAmt0:
ob_clean();
goto DKjbz;
WPFZR:
$content .= str_pad(strtoupper($address), EscPos::$CharLen, "\x20", STR_PAD_BOTH);
goto TB0YD;
dtycm:
$content .= PHP_EOL;
goto O3kUk;
oO7Ja:
$address = $company["\141\144\x64\162\145\163\x73\x31"];
goto gCGPs;
zGIkQ:
$content = '';
goto lXVmC;
sz0_p:
$content .= PHP_EOL;
goto SmOfn;
YAxis:
$content .= tabular("\x54\101\x52\105\40\x57\164\40\x20", EscPos::Big(str_pad($emptyWeight, 5, "\x20", STR_PAD_LEFT)) . "\x20\113\147\x73");
goto bi1Xg;
ngx9_:
$content .= PHP_EOL;
goto JSsz8;
D2_U9:
$content .= tabular("\x52\123\x54\x20\116\x4f", EscPos::Bold($id));
goto v3ji1;
pOMsi:
$content .= PHP_EOL;
goto k6rlC;
SmOfn:
$content .= EscPos::DrawLine();
goto mjgZf;
TB0YD:
$content .= PHP_EOL;
goto VdPuC;
XjlID:
$neetWeight = $neetWeight > 0 ? $neetWeight : 0;
goto WpM5p;
KV9Br:
$content .= tabular("\x50\x41\x52\124\x59", strtoupper($conName));
goto ngx9_;
bi1Xg:
$content .= tabular("\104\141\x74\145\x20\x54\x69\155\x65", $emptyDate ? $emptyDate : '');
goto voUTx;
XZ8iI:
$address .= $company["\172\151\160"] ? "\x2d" . $company["\172\151\160"] : '';
goto zGIkQ;
qgLHH:
$content .= tabular("\116\105\124\124\x20\x57\164\40\40", EscPos::Big(str_pad($neetWeight, 5, "\40", STR_PAD_LEFT)) . "\40\113\x67\163");
goto sz0_p;
DKjbz:
$date = new DateTime($emptyDate);
goto Gt0lh;
ag0d2:
echo EscPos::Feed(0.5, true);
goto X6ez2;
O3jzI:
$content .= EscPos::DrawLine();
goto dtycm;
cZav1:
$neetWeight = $loadWeight - $emptyWeight;
goto XjlID;
tpdJY:
$content .= tabular("\104\141\164\x65\40\124\x69\155\145", $loadDate ? $loadDate : '');
goto ZrQJH;
MTB8B:
$address .= $company["\143\151\x74\171"] ? "\x2c" . $company["\143\x69\164\171"] : '';
goto XZ8iI;
Gt0lh:
$company = get_company();
goto ePj7M;
R5B8X:
$content .= "\x20\40\x20\40\40\40\x20\x20\40\x20\x20\x20" . EscPos::Bold(EscPos::Big(strip_tags(strtoupper($company["\156\x61\155\145"]))));
goto pNBVa;
voUTx:
$content .= PHP_EOL;
goto qgLHH;
gCGPs:
$address .= $company["\141\x64\x64\162\145\163\x73\x32"] ? "\54" . $company["\141\x64\144\162\145\x73\x73\62"] : '';
goto MTB8B;
WpM5p:
$wt_str = amount_in_words($neetWeight);
goto DDGIm;
DDGIm:
$wt_str = $wt_str["\x72\x75\160\145\145\163"];
goto oO7Ja;
v3ji1:
$content .= tabular("\126\x45\x48\111\103\x4c\x45\x20\x4e\117", EscPos::Big($truckNo));
goto pOMsi;
Uq7Hm:
ob_clean();
goto ag0d2;
JSsz8:
$content .= EscPos::DrawLine();
goto LWXxK;
O3kUk:
$content .= "\x4f\x70\145\162\x61\164\157\x72\47\x73\40\123\x69\147\x6e\141\164\x75\x72\145\x20\x3a\40";
goto kx_cQ;
VdPuC:
$content .= PHP_EOL;
goto D2_U9;
v3HDs:
$content .= strtoupper($wt_str);
goto w9eHb;
pNBVa:
$content .= PHP_EOL;
goto WPFZR;
LWXxK:
$content .= PHP_EOL;
goto ASzIm;
kx_cQ:
$content .= str_repeat(PHP_EOL, 15);
goto Uq7Hm;
mjgZf:
$content .= PHP_EOL;
goto v3HDs;
Dd5Aa:
defined("\x42\x41\123\x45\x50\x41\124\110") or exit("\x4e\x6f\40\144\x69\x72\x65\143\x74\40\163\143\x72\151\160\x74\x20\x61\x63\x63\x65\163\163\40\141\154\x6c\157\x77\x65\x64");
goto MAmt0;
w9eHb:
$content .= PHP_EOL;
goto O3jzI;
ePj7M:
if (!function_exists("\164\x61\x62\165\x6c\x61\162")) {
    function tabular($key = '', $val = '')
    {
        goto v7Mwl;
        jlGpz:
        return $ret;
        goto kZxJv;
        BrEyF:
        $ret = str_pad($key, $colLen, "\x20", STR_PAD_RIGHT);
        goto A09GA;
        A09GA:
        $ret .= "\72\40" . str_pad(empty($val) ? "\40" : $val, EscPos::$CharLen / 2 - ($colLen + 2), "\x20", STR_PAD_RIGHT);
        goto jlGpz;
        v7Mwl:
        $colLen = 12;
        goto BrEyF;
        kZxJv:
    }
}
goto cZav1;
ZrQJH:
$content .= PHP_EOL;
goto YAxis;
ASzIm:
$content .= tabular("\107\122\x4f\x53\123\x20\127\164", EscPos::Big(str_pad($loadWeight, 5, "\40", STR_PAD_LEFT)) . "\40\113\147\163");
goto tpdJY;
X6ez2:
echo $content;
