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 collaboratorRotation of ASCII text
Text can be rotated by 0,90,180,270 degrees.
This will affect all text that comes within the
rotation section. The rotation happens clockwise
- Scenarios
-
- Rotate text 90 degrees for EPL2
-
- Given
-
a DSL with:
ZebraPrinterDocument.new do language :epl2 rotate :by_90 do text '' end end
- When
- I execute the DSL
- Then
- the output should include "A0,0,1,2,1,1,N,"""
- Rotate text 90 degrees for ZPL2
-
- Given
-
a DSL with:
ZebraPrinterDocument.new do language :zpl2 rotate :by_90 do text '' end end
- When
- I execute the DSL
- Then
- the output should be like "\^CF[A-Z]R,\d+,\d+"
- Late evaluation of rotated text
-
- Given
-
code:
a = ZebraPrinterDocument.new a.language :zpl2 label = Proc.new do rotate :by_90 do text '' end end a.process(&label) a.document
- When
- I execute the code
- Then
- the output should be like "\^CF[A-Z]R,\d+,\d+"
Last published over 5 years ago by Paul Mitchell.