Why does Order Printer app print one order on two pages?

bigfoot4x4
Excursionist
28 0 28

I am using the Order Printer app to print orders.  I can select multiple orders, use that app to pull them up and print.  However, sometimes it prints 1 order on 2 pages even though it will easily fit on one page.  I can go to select that same order which it is splitting, print it by itself and it prints on 1 page.  It's only when I select multiple that it switches to multiple.

 

Pics below show 2 invoices being selected and then what happens when I want to print, where it splits the one order.  The next pics are selecting that same invoice and it going print on one page.

1.JPG2.JPG3.JPG4.JPG5.JPG

 

Code for the template:

 

<p style="float: right; text-align: right; margin: 0;">
{{ created_at }}<br />
  Order {{ order_name }}
</p>

<div style="float: left; margin: 0 0 1em 0;" >
  <strong style="font-size: 2em;">{{ shop_name }}</strong><br />

</div>

<table class="table-tabular" style="margin: 0 0 1em 0;">
  <thead>
    <tr>
      <th>Quantity</th>
      <th>Item</th>
      <th>SKU</th>
      <th>Price</th>
    </tr>
  </thead>
  <tbody>
    {% for line_item in line_items %}
      <tr>
        <td>{{ line_item.quantity }} x</td>
        <td>{{ line_item.title }}</td>
        <td>{{ line_item.sku }}</td>
        <td>
          {% if line_item.original_price != line_item.price %}
            <s>{{ line_item.original_price | money }}</s>
          {% endif %}
          {{ line_item.price | money }}
        </td>
      </tr>
    {% endfor %}
  </tbody>
</table>

{% if transactions.size > 1 %}
  <table class="table-tabular" style="margin: 0 0 1em 0;">
    <thead>
      <tr>
        <th>Type</th>
        <th>Amount</th>
        <th>Kind</th>
        <th>Status</th>
      </tr>
    </thead>
    <tbody>
      {% for transaction in transactions %}
        <tr>
          <td>{{ transaction.gateway | payment_method }}</td>
          <td>{{ transaction.amount | money }}</td>
          <td>{{ transaction.kind }}</td>
          <td>{{ transaction.status }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>
{% endif %}

<table class="table-tabular" style="margin: 0 0 1em 0;">
  <tr>
    <td>Subtotal price:</td>
    <td>{{ subtotal_price | money }}</td>
  </tr>
  {% for discount in discounts %}
  <tr>
    <td>Includes discount "{{ discount.code }}"</td>
    <td>{{ discount.savings | money }}</td>
  </tr>
  {% endfor %}
  <tr>
    <td>Total tax:</td>
    <td>{{ tax_price | money }}</td>
  </tr>
  {% if shipping_address %}
    <tr>
      <td>Shipping:</td>
      <td>{{ shipping_price | money }}</td>
    </tr>
  {% endif %}
  <tr>
    <td><strong>Total price:</strong></td>
    <td><strong>{{ total_price | money }}</strong></td>
  </tr>
  {% if total_paid != total_price %}
    <tr>
      <td><strong>Total paid:</strong></td>
      <td><strong>{{ total_paid | money }}</strong></td>
    </tr>
    <tr>
      <td><strong>Outstanding Amount:</strong></td>
      <td><strong>{{ total_price | minus: total_paid | money }}</strong></td>
    </tr>
  {% endif %}
</table>

{% if note %}
  <h4 style="margin: 0 0 1em 0;">Note</h3>
  <p>{{ note }}</p>
{% endif %}

{% if shipping_address %}

  <div style="margin: 0 0 1em 0; padding: 1em; border: 1px solid black;">
    {{ shipping_address.name }}<br/>
    {% if shipping_address.company %}
      {{ shipping_address.company }}<br/>
    {% endif %}
    {{ shipping_address.street }}<br/>
    {{ shipping_address.city }}
    {{ shipping_address.province_code }}
    {{ shipping_address.zip | upcase }}<br/>
    {{ shipping_address.country }}<br/>
    {{ shipping_address.phone }}<br/>
    {{ email }}<br/>
    {{ note }}
  </div>
{% endif %}
{% for transaction in transactions %}
{{ transaction.gateway | payment_method }} 	
{{ shipping_method.title }}
{% endfor %}
<p></p>

 

Replies 4 (4)

GracieJ
Excursionist
11 0 4

the same thing happens to me every day.  Did you every figure out a solution?

bigfoot4x4
Excursionist
28 0 28

No, unfortunately.  Not a single response and still having this issue randomly.

DeAndra_DeArmas
Visitor
1 0 0

I've been having this problem for over a year now!! I went through 2 black Fridays of this happening and Shopify Customer Service says there's not a problem on their end... I didn't know others were having this problem too! 

GracieJ
Excursionist
11 0 4
Seems to be better lately. Don’t know if it is because we stopped using chrome or if there has been a change.