lib/easyzpl/label.rb
def draw_rectangle(x, y, height, width)
      return unless label_height > 0 && label_width > 0
      pdf.stroke_axis
      pdf.stroke do
        pdf.rectangle [x * pdf_dpi, label_width - (y * pdf_dpi) -
                      (width * pdf_dpi)], height,
                      (width * pdf_dpi) * -1
      end
    end
def draw_rectangle(x, y, height, width)
      return unless label_height > 0 && label_width > 0
      pdf.stroke_axis
      pdf.stroke do
        pdf.rectangle [x * pdf_dpi, label_width - (y * pdf_dpi) -
                      (width * pdf_dpi)], height,
                      (width * pdf_dpi) * -1
      end
    end
Draws the PDF rectangle (border)