tapeHeight = $height; } /** * Get the barcode size ratio for calculations * * @return float */ public function getBarcodeRatio() { return 0.9; // Barcode should use 90% of available width } }