Sha256: 227a66c312ee5edca8e3cfbb94464444fee4155280c71e1ebe012bbbbcf0d025

Contents?: true

Size: 821 Bytes

Versions: 3

Compression:

Stored size: 821 Bytes

Contents

Feature: Simple ASCII text

  The text option accepts a number of different arguments.
  The minimum number of arguments is x,y & the text.  This
  will generate a label that has the default rotation, scaling,
  font, horizntal and vertical multiliers and the image will be
  number (not reversed)

  Scenario: Basic text only DSL for EPL2
    Given a DSL with:
    """ruby
    ZebraPrinterDocument.new do
      language :epl2
      text ''
    end
    """
    When I execute the DSL
    Then the output should include "A0,0,0,2,1,1,N,"""
    
  Scenario: Basic text only DSL for ZPL2
    Given a DSL with:
    """ruby
    ZebraPrinterDocument.new do
      language :zpl2
      text ''
    end
    """
    When I execute the DSL
    Then the output should include "^FO0,0"
    And the output should include "^FD^FS"
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zebra_printer-0.9.0 features/ascii-text-simple.feature
zebra_printer-0.8.0 features/ascii-text-simple.feature
zebra_printer-0.1.1 features/ascii-text-simple.feature