features/barcode-code128.feature in zebra_printer-0.1.1 vs features/barcode-code128.feature in zebra_printer-0.8.0
- old
+ new
@@ -55,5 +55,17 @@
When I execute the DSL
Then the output should include "^BCN,30,Y,N,N"
And the output should include "^FO8,16"
And the output should include "^FDhello^FS"
+ Scenario: Code 128 on ZPL
+ Given a DSL with:
+ """ruby
+ ZebraPrinterDocument.new do
+ language :zpl2
+ barcode :code_128, 'hello', :height => 100
+ end
+ """
+ When I execute the DSL
+ Then the output should include "^BCN,100,Y,N,N"
+ And the output should include "^FDhello^FS"
+