summaryrefslogtreecommitdiff
path: root/contrib/barcode
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/barcode')
-rw-r--r--contrib/barcode/barcode.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/barcode/barcode.go b/contrib/barcode/barcode.go
index c5e4193..faed915 100644
--- a/contrib/barcode/barcode.go
+++ b/contrib/barcode/barcode.go
@@ -135,8 +135,8 @@ func RegisterDataMatrix(pdf barcodePdf, code string) string {
// RegisterPdf417 registers a barcode of type Pdf417 to the PDF, but not
// to the page. Use Barcode() with the return value to put the barcode on the
// page.
-func RegisterPdf417(pdf barcodePdf, code string) string {
- bcode := pdf417.Encode(code)
+func RegisterPdf417(pdf barcodePdf, code string, columns int, securityLevel int) string {
+ bcode := pdf417.Encode(code, columns, securityLevel)
return registerBarcode(pdf, bcode, nil)
}