Browse Source

はがきPDF調整

develop
sosuke.iwabuchi 2 years ago
parent
commit
8a5a878b6e
2 changed files with 4 additions and 3 deletions
  1. +1
    -0
      app/Logic/ReceiptIssuingOrder/Custom/HelloTechno/PDFDownLoadManagerHelloTechno.php
  2. +3
    -3
      resources/css/receipt_letter.css

+ 1
- 0
app/Logic/ReceiptIssuingOrder/Custom/HelloTechno/PDFDownLoadManagerHelloTechno.php View File

@@ -79,6 +79,7 @@ class PDFDownLoadManagerHelloTechno extends PDFDownLoadManager
// はがきサイズを指定 // はがきサイズを指定
$ret = $pdf->setOption('page-height', 148) $ret = $pdf->setOption('page-height', 148)
->setOption('page-width', 100) ->setOption('page-width', 100)
->setOption('margin-right', 3)
->setOption('encoding', 'utf-8') ->setOption('encoding', 'utf-8')
->inline() ->inline()
->header("Content-Disposition", sprintf('inline; filename=%s', $filename)); ->header("Content-Disposition", sprintf('inline; filename=%s', $filename));


+ 3
- 3
resources/css/receipt_letter.css View File

@@ -68,16 +68,16 @@ div.zz {
font-size: 10mm; font-size: 10mm;
} }
div.zipcode1 { div.zipcode1 {
left: 52mm;
left: 54mm;
width: 50mm; width: 50mm;
border: solid 1px; border: solid 1px;
letter-spacing: 4.5mm; letter-spacing: 4.5mm;
} }
div.zipcode2 { div.zipcode2 {
left: 86mm;
left: 88mm;
width: 35mm; width: 35mm;
border: dotted 1px; border: dotted 1px;
letter-spacing: 3.5mm;
letter-spacing: 5.5mm;
} }


div.section-address div.address-field { div.section-address div.address-field {


Loading…
Cancel
Save