barcode frame, setting up title and layout with margines