Class: Zebra::Zpl::Raw
- Inherits:
-
Object
- Object
- Zebra::Zpl::Raw
- Includes:
- Printable
- Defined in:
- lib/zebra/zpl/raw.rb
Instance Attribute Summary collapse
-
#width ⇒ Object
Returns the value of attribute width.
Attributes included from Printable
#data, #margin, #position, #x, #y
Instance Method Summary collapse
Methods included from Printable
#initialize, #justification, #justification=, #rotation, #rotation=
Instance Attribute Details
#width ⇒ Object
Returns the value of attribute width.
8 9 10 |
# File 'lib/zebra/zpl/raw.rb', line 8 def width @width end |
Instance Method Details
#to_zpl ⇒ Object
18 19 20 21 |
# File 'lib/zebra/zpl/raw.rb', line 18 def to_zpl # check_attributes "^FW#{rotation}^FO#{x},#{y}#{data}^FS" end |