[Koha-bugs] [Bug 20676] New: svc/barcode should allow barcode to be printed without text

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 27 23:30:43 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20676

            Bug ID: 20676
           Summary: svc/barcode should allow barcode to be printed without
                    text
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

svc/barcode currently generates the barcode using

    $image = GD::Barcode->new( $type, $barcode )->plot()->png();

>From perldoc GD::Barcode

  plot()
    $oGd = $oGdBar->plot([Height => $iHeight, NoText => 0 | 1]);

    creates GD object with barcode image for the $sTxt specified at new
    method. $iHeight is height of the image. If NoText is 1, the image has no
    text image of $sTxt.

     ex.
      my $oGdB = GD::Barcode->new('EAN13', '123456789012');
      my $oGD = $oGdB->plot(NoText=>1, Height => 20);
      # $sGD is a GD image with Height=>20 pixels, with no text.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list