7 has
'font' => ( is
=> 'rw',
12 has
'orientation' => ( is
=> 'rw',
18 has
'print_quality' => ( is
=> 'rw',
23 has
'print_orientation' => ( is
=> 'rw',
28 has
'units_of_measurement' => ( is
=> 'rw',
33 has
'print_width' => ( is
=> 'rw',
37 has
'label_length' => ( is
=> 'rw',
41 has
'dots_per_millimeter' => ( is
=> 'rw',
45 has
'command_list' => ( is
=> 'rw',
49 has
'field_typeset' => ( is
=> 'rw',
53 has
'field_default_height' => ( is
=> 'rw',
58 has
'field_default_width' => ( is
=> 'rw',
63 has
'field_default_ratio' => ( is
=> 'rw',
72 $self->add("^GS$o,$h,$w");
76 sub bar_code_field_default
{
79 $self->field_default_width($w);
80 $self->field_default_ration($r);
81 $self->field_default_height($h);
96 sub graphic_diagonal_line
{
105 sub field_orientation
{
119 die if ($mirror !~ /y|n/i);
120 $self->add("^PM$mirror");
123 sub barcode_code128
{
125 my ($o, $h, $f, $g, $e, $m) = @_;
127 if (!defined($o)) { $o = $self->print_orientation(); }
128 if (!defined($h)) { $h = $self->field_default_height(); }
129 if (!defined($f)) { $f = ''; }
130 if (!defined($g)) { $g = ''; }
131 if (!defined($e)) { $e = ''; }
132 if (!defined($m)) { $m = ''; }
134 $self->add("^BC$o,$h,$f,$g,$e,$m");
156 my $command_list = $self->command_list();
157 push @
$command_list, $command;
158 $self->command_list($command_list);
166 foreach my $c (@
{$self->command_list()}) {