diff --git a/node-bwipjs.js b/node-bwipjs.js index f7b2abc2..63230b10 100755 --- a/node-bwipjs.js +++ b/node-bwipjs.js @@ -105,7 +105,7 @@ module.exports.toBuffer = function(args, callback) { // Call into the BWIPP cross-compiled code try { - bwipp()(bw, bcid, text, args); + bwipp()(bw, bcid, text, opts); bw.bitmap().getPNG(rot, callback); } catch (e) { // Invoking this callback is synchronous.