Sha256: fb046f6d6c1ed888115fdae9718a9fd5e143293d6c530a01de1fc8fd55781969
Contents?: true
Size: 1 KB
Versions: 1
Compression:
Stored size: 1 KB
Contents
Feature: ASCII Text Size The DSL provides a number of default sizes. Due to the way sizes work across languages size and font have been extracted out. This means that the size will be approximate Scenario: Normal Text on EPL2 Given a DSL with: """ruby ZebraPrinterDocument.new do language :epl2 font(:size => :normal) do text '' end end """ When I execute the DSL Then the output should be like "A\d,\d,\d,2,1,1,[A-Z]" Scenario: Normal Text on EPL2 Given a DSL with: """ruby ZebraPrinterDocument.new do language :epl2 font(:size => :large) do text '' end end """ When I execute the DSL Then the output should be like "A\d,\d,\d,3,1,1,[A-Z]" Scenario: Normal Text on ZPL2 Given a DSL with: """ruby ZebraPrinterDocument.new do language :zpl2 font(:size => :normal) do text '' end end """ When I execute the DSL Then the output should be like "\^CF0N"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zebra_printer-0.1.1 | features/ascii-text-size.feature |