class Zebra::Zpl::Raw
Attributes
width[R]
Public Instance Methods
to_zpl()
click to toggle source
# File lib/zebra/zpl/raw.rb, line 18 def to_zpl # check_attributes "^FW#{rotation}^FO#{x},#{y}#{data}^FS" end
width=(width)
click to toggle source
# File lib/zebra/zpl/raw.rb, line 10 def width=(width) unless margin.nil? || margin < 1 @width = (width - (margin * 2)) else @width = width || 0 end end