Class PrintJob

    • Field Detail

      • FLAG_REPRINT

        public static final int FLAG_REPRINT
        Indicate this is a reprint on the print out
        See Also:
        Constant Field Values
      • FLAG_BILL

        public static final int FLAG_BILL
        Indicate this print out is a bill of sale, transaction such as payments will not print out
        See Also:
        Constant Field Values
      • FLAG_REFUND

        public static final int FLAG_REFUND
        Indicate this print job is for a refund, additional refund information will be included on print out
        See Also:
        Constant Field Values
      • FLAG_NO_SIGNATURE

        public static final int FLAG_NO_SIGNATURE
        Do not show customer signature line on print out even if normally required
        See Also:
        Constant Field Values
      • FLAG_FORCE_SIGNATURE

        public static final int FLAG_FORCE_SIGNATURE
        Force customer signature line on print out even if normally not required
        See Also:
        Constant Field Values
      • FLAG_CUSTOMER

        public static final int FLAG_CUSTOMER
        Print receipt for the customer with appropriate verbiage and without signature line
        See Also:
        Constant Field Values
      • FLAG_MERCHANT

        public static final int FLAG_MERCHANT
        Print receipt for the merchant with signature line if required
        See Also:
        Constant Field Values
      • FLAG_EXPEDITOR

        public static final int FLAG_EXPEDITOR
        When this flag is set on a print job for an order receipt it will print subtitle "Expo Receipt" or localized version of it. Also, please make sure you are printing whole order when you are setting this flag. The title "Expo Receipt" will help expeditor at restaurant to quickly identify this is a whole order receipt and he/she can assemble the order without missing a single item

        Note : you can either set this flag FLAG_EXPEDITOR or FLAG_UNLABELED_ITEMS but not both on a same print job

        See Also:
        Constant Field Values
      • FLAG_UNLABELED_ITEMS

        public static final int FLAG_UNLABELED_ITEMS
        When this flag is set on a print job for an order receipt it will print subtitle "Unlabeled Items" or localized version of it. Please, make sure when you are setting this flag on a print job for an order receipt, print only unlabeled items, you can use StaticOrderPrintJob.Builder.itemIds(ArrayList) to pass list of unlabeled line item ids.

        you can either set this flag or FLAG_UNLABELED_ITEMS FLAG_EXPEDITOR but not both on a same print job

        See Also:
        Constant Field Values
      • FLAG_FORCE_TIP

        public static final int FLAG_FORCE_TIP
        Force customer tip line on print out even if normally not required
        See Also:
        Constant Field Values
      • flags

        public final int flags
    • Constructor Detail

      • PrintJob

        @Deprecated
        protected PrintJob​(int flags)
        Deprecated.
      • PrintJob

        protected PrintJob​(Parcel in)