Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This article will walk you through how you can set up zebra label printers such as the Zebra GK420t in both chrome and firefox. 


Creating the Template 

To use sticker printers you first need to create a new template to be used with the messaging. Start by going to the Templates & Design page under System Config

This will take you to the Layouts List page where you want to click the Create Layout button to create a new layout. This will bring up the Add Layout model window. 

Name the layout whatever makes sense for you, in this case I will be naming the layout Zebra Printing. Click Save Changes when you are finished. 

Providing the Sections

Click Toggle Templates to bring up a list of the available sections we can create. For this template we only care about creating the Styles and Scripts and we can leave the rest of these sections empty.

Copy the styling and scripts below into each of the sections for the languages you wish to support. 

Styles Section
<style>
  @media print {
  	@page {
      size: 2.25in 1.25in;  		
  	}
    .sticker-4-1 {
      border: 0px none !important;
    }
  }
  @media screen {
    .sticker-4-1 {
      margin: 100px auto 0px;      
    }
  }
  .sticker-4-1 {
    width: 2.25in; 
    height: 1.22in; 
    border: solid 1px red;
    box-sizing: border-box; 
    padding: 0.15in 0.1in 0.05in; 
    text-align: center; 
    line-height: 1.4;
  }
</style>

Script Section
<script>
  window.onload = function() {
    window.print();
  };
  window.onafterprint = function() {
    history.back(-1);
  }
</script>

Creating the System Messaging

Next we will need to create the system message that will use our new layout. 

From here click the Create Page/Message button

Complete the fields with the data shown below.

Page Type - This should me message 

Title - This can be anything you would like and will be the text button that will be displayed when you go to print the permit. 

Identifier - This must start with permitPrintable____ and can include any text after depending on how many printable messages you would like. For example you could have one for the printer and one for printing on the web. 

Language - This can be whatever language you support in your system 

Layout - This must be the layout we created previously.

Related Pages

Filter by label

There are no items with the selected labels at this time.

  • No labels