To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorPosition EPL2
position set the origin for anything with the
block or from last call. Any use of the :at
option move the location relative to the set
position
- Scenarios
-
- Position block EPL2
-
- Given
-
a DSL with:
ZebraPrinterDocument.new do language :epl2 position(12,34) do text '' end end
- When
- I execute the DSL
- Then
- the output should include "A12,34,0,2,1,1,N,"""
- Move text relative to position
-
- Given
-
a DSL with:
ZebraPrinterDocument.new do language :epl2 position(12,34) do text '', :at => [10,10] end end
- When
- I execute the DSL
- Then
- the output should include "A22,44,0,2,1,1,N,"""
Last published over 7 years ago by Paul Mitchell.