mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-20 22:41:25 +08:00
13 lines
291 B
Ruby
13 lines
291 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class ZebraLabelTemplate < LabelTemplate
|
||
|
def self.default
|
||
|
ZebraLabelTemplate.new(
|
||
|
name: I18n.t('label_templates.default_zebra_name'),
|
||
|
width_mm: 25.4,
|
||
|
height_mm: 12.7,
|
||
|
content: Extends::DEFAULT_LABEL_TEMPLATE[:zpl]
|
||
|
)
|
||
|
end
|
||
|
end
|