Question

Photo of Knolly Shadrache

0

PDF Merge on a list fails with a cryptic error I can't fathom?

Hope someone can explain please?

merge_Capture.PNG


Here is my lava template intended to produce a pdf I can download and print:

"

<!doctype html>

<html lang="en">

document-width="11"

document-height="8.5"

document-name="mydocument.pdf"

autogenerate-bookmarks="true"

table-header-repeat-enabled="true"

avoid-image-breaks="true"

document-background-color="#c4c4c4;"

image-scaling-enabled="false"

reset-page-numbers-per-row="true" >

<head>

    <meta charset="utf-8">

    <title>HTML & CSS Avery Labels (5160) by MM at Boulder Information Services</title>

    <link href="labels.css" rel="stylesheet" type="text/css" >

    <style>

    body {

        width: 8.5in;

        margin: 0in .1875in;

  font-size: 7px;

        }

    .label{

        /* Avery 5160 labels -- CSS and HTML by MM at Boulder Information Services */

        width: 2.025in; /* plus .6 inches from padding */

        height: 1.2in; /* plus .125 inches from padding */

        padding: .125in .3in 0;

        margin-right: .125in; /* the gutter */


        float: left;


        text-align: center;

      <!-- overflow: hidden; -->


        outline: 1px dotted; /* outline doesn't occupy space like border does */

        }

    .page-break {

        clear: left;

        display:block;

        page-break-after:always;

        }#

 .font size="3"

    </style>


</head>

<body>

{% for Row in Rows %}

<div class="label"><img width="30" height="30" class="thumb img-fluid" src="{{'Global' | Attribute:'InternalApplicationRoot'}}content/logo/kci_crown_black.png"><img class="img" src="{{'Global' | Attribute:'InternalApplicationRoot'}}GetImage.ashx?Guid={{Row | Attribute:'QRCode','RawValue'}}&maxwidth=120&maxheight=120"/><br/>{{Row.Name}}</div>

{% endfor %}

<div class="page-break"></div>


</body>

</html>

"


  • Photo of Knolly Shadrache

    0

    The answer was pretty simple really...

    The opening HTML Tag was closed on the same line it was opened!

    I should have left it open for the other HTML tag attributes that come just after.