Skip to content
Log in

POS Print Template Object Reference

On this page

Overview

Stores print templates for POS cart/quote printing, receipt printing, product label printing, and PDF document printing. Templates are written in Liquid and rendered by the POS app at print time.

Property Value
API Name s_c__Pos_Print_Template__c
Label POS Print Template
Plural Label POS Print Templates
Type Custom Object
Sharing model Public Read/Write

Fields

Field Label API Name Type Size Description
POS Print Template Name Name Text 80 Display name of the template
Content s_c__Content__c Long Text Area 131,072 The Liquid template content
Context s_c__Context__c Picklist What data is passed to the template. See picklist values below.
Printer Type s_c__Printer_Type__c Picklist The printer hardware type this template targets. See picklist values below.
StoreConnect External ID s_c__sC_Id__c Text 36 Auto-generated GUID used for sync. Do not modify.

Picklist values

Context

Value Description
cart Template receives cart/quote data (current_cart, current_outlet, current_store)
receipt Template receives order data (current_order, current_outlet, current_store)
label Template receives product data (products array, quantity)

Printer type

Value Description
receipt Output is encoded as ESC-POS or Star PRNT commands and sent to a thermal receipt printer
label Output is sent as raw ZPL or EPL commands to a label printer
document Output is rendered as a PDF via jsPDF and sent to the browser print dialog

Validation rules

Rule Description
Content_Required Content field must not be blank
Context_Required Context picklist must be selected
Printer_Type_Required Printer Type picklist must be selected

For usage documentation, see POS print templates.

Was this article helpful?

Was this article helpful?