Module: ZebraZpl::Commands::DefaultWidth::InstanceMethods

Defined in:
lib/zebra_zpl/commands/default_width.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) default_width=(width, ratio = nil, height = nil)



11
12
13
14
# File 'lib/zebra_zpl/commands/default_width.rb', line 11

def default_width= width, ratio = nil, height = nil
  params = [width, ratio, height].compact
  @data << "#{ COMMAND }#{ params.join ',' }"
end