From 8e2d75d1d6be3f2c8a0fc9170859c241a69c7ce7 Mon Sep 17 00:00:00 2001 From: mikael-zakaria Date: Mon, 5 Jan 2026 15:16:13 +0700 Subject: [PATCH] Update + 15 untuk sudut Y untuk printer Lab Bali --- app/Controllers/PrintLabel.php | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/app/Controllers/PrintLabel.php b/app/Controllers/PrintLabel.php index e04497d..ab9ed3d 100644 --- a/app/Controllers/PrintLabel.php +++ b/app/Controllers/PrintLabel.php @@ -102,7 +102,7 @@ class PrintLabel extends BaseController { $label=""; $role = session()->get('userrole'); - // Ruang Analis Printer POSTEK C168/200s + // Ruang Analis Printer POSTEK C168/200s + 15 untuk sudut Y if ($role == 'admin' || $role == 'user') { $label = "N OD @@ -110,15 +110,15 @@ q400 Q200,10+0 I8,A,001 D10 -A5,3,0,2,1,1,N,\"$title.$name1\" -A$jarak,20,0,2,1,1,N,\"$name2\" -A5,42,0,1,1,1,N,\"DoB: $birthdate\" -A337,42,0,1,1,1,N,\"$sex {$age}Y\" -B16,57,0,1,4,8,70,N,\"$access\" -A120,132,0,1,1,1,N,\"REQ# $access\" -A5,149,0,2,1,1,N,\"VN:$bv\" -A5,166,0,2,1,1,N,\"RM:$uhid\" -A195,166,0,2,1,1,N,\"$collectiondate\" +A5,18,0,2,1,1,N,\"$title.$name1\" +A$jarak,35,0,2,1,1,N,\"$name2\" +A5,57,0,1,1,1,N,\"DoB: $birthdate\" +A337,57,0,1,1,1,N,\"$sex {$age}Y\" +B16,66,0,1,4,8,70,N,\"$access\" +A120,147,0,1,1,1,N,\"REQ# $access\" +A5,164,0,2,1,1,N,\"VN:$bv\" +A5,181,0,2,1,1,N,\"RM:$uhid\" +A195,181,0,2,1,1,N,\"$collectiondate\" P1 "; @@ -193,22 +193,22 @@ P1 $jarak = '53'; } - // Printer Posteck + // Printer Posteck + 15 untuk sudut Y $sampleLabel ="N OD q400 Q200,10+0 I8,A,001 D10 -A5,3,0,2,1,1,N,\"$title.$name1\" -A$jarak,20,0,2,1,1,N,\"$name2\" -A325,25,0,2,1,1,N,\"$sex {$age}Y\" -A5,47,0,2,1,1,N,\"$sample\" -A204,47,0,2,1,1,N,\"DoB: $birthdate\" -B37,68,0,1,4,8,70,N,\"$barcode\" -A115,143,0,2,1,1,N,\"SAM# $barcode\" -A5,165,0,2,1,1,N,\"RM:$uhid\" -A195,165,0,2,1,1,N,\"$collection_date\" +A5,18,0,2,1,1,N,\"$title.$name1\" +A$jarak,35,0,2,1,1,N,\"$name2\" +A325,40,0,2,1,1,N,\"$sex {$age}Y\" +A5,62,0,2,1,1,N,\"$sample\" +A204,62,0,2,1,1,N,\"DoB: $birthdate\" +B37,83,0,1,4,8,70,N,\"$barcode\" +A115,158,0,2,1,1,N,\"SAM# $barcode\" +A5,180,0,2,1,1,N,\"RM:$uhid\" +A195,180,0,2,1,1,N,\"$collection_date\" P1 ";