10.1 Pengaturan Ukuran barcode, label, kartu anggota dan nota peminjaman

10.1 Pengaturan Ukuran barcode, label, kartu anggota dan nota peminjaman

Setting ukuran barcode dan label dapat dilakukan dengan melakukan editing file printed_settings.inc.php yang terletak di /senayan3-stable7/admin/admin_template/.

Dalam file ini akan didapatkan baris-baris kode sebagai berikut:

// label print settings

/* measurement in cm */

$page_width = 50;

$page_height = 30;

$page_margin = 0.2;

$items_per_row = 3;

$items_margin = 0.05;

$box_width = 8;

$box_height = 3.3;

$include_header_text = 1; // change to 0 if dont want to use header in each label

$header_text = ''; // keep empty if you want to use Library Name as a header text

// item barcode print settings

/* measurement in cm */

$barcode_page_width = 50;

$barcode_page_height = 30;

$barcode_page_margin = 0.2;

$barcode_items_per_row = 3;

$barcode_items_margin = 0.1;

$barcode_box_width = 7;

$barcode_box_height = 5;

$barcode_include_header_text = 1; // change to 0 if dont want to use header in each barcode

$barcode_cut_title = 50; // maximum characters in title to appear in each barcode. change to 0 if you dont want the title cutted

$barcode_header_text = ''; // keep empty if you want to use Library Name as a header text

// member card print settings

/* measurement in cm */

$card_page_width = 50;

$card_page_height = 50;

$card_page_margin = 0.2;

$card_items_per_row = 2;

$card_items_margin = 0.1;

$card_box_width = 11;

$card_box_height = 6;

$card_header_text = $sysconf['library_name'];

$card_photo_width = 3;

$card_photo_height = 3;

// barcode generator print settings

$barcodegen_page_width = 29.7;

$barcodegen_page_height = 21;

$barcodegen_page_margin = 0.2;

$barcodegen_items_margin = 0.05;

$barcodegen_include_border = 0;

/* Receipt Printing */ 

$receipt_width = '15cm'; 

$receipt_font = 'serif'; 

$receipt_color = '#000'; 

$receipt_margin = '5px'; 

$receipt_padding = '5px'; 

$receipt_border = '1px dashed #000'; 

$receipt_fontSize = '7pt'; 

$receipt_header_fontSize = '8pt'; 

$receipt_titleLength = 100;

?>

Jika anda menginginkan setingan untuk barcode, label dan kartu anggota berbeda pada tiap template, maka anda dapat mengcopi file print_settings.inc.php ke dalam tiap template admin, dan mengubahnya sesuai selera anda.