feat: 통합 테스트 및 샘플 코드 추가
- test_integration.py: QR 토큰 생성 및 라벨 테스트 - samples/barcode_print.py: Brother QL 프린터 예제 - samples/barcode_reader_gui.py: 바코드 리더 GUI 참고 코드 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
28
backend/samples/printers.json
Normal file
28
backend/samples/printers.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"printers": [
|
||||
{
|
||||
"id": "printer_1",
|
||||
"name": "메인 프린터 (QL-710W)",
|
||||
"model": "QL-710W",
|
||||
"ip_address": "192.168.0.121",
|
||||
"port": 9100,
|
||||
"label_type": "29",
|
||||
"is_default": true,
|
||||
"is_active": true,
|
||||
"description": "1층 조제실 메인 프린터",
|
||||
"location": "조제실"
|
||||
},
|
||||
{
|
||||
"id": "printer_2",
|
||||
"name": "보조 프린터 (QL-810W)",
|
||||
"model": "QL-810W",
|
||||
"ip_address": "192.168.0.168",
|
||||
"port": 9100,
|
||||
"label_type": "29",
|
||||
"is_default": false,
|
||||
"is_active": true,
|
||||
"description": "2층 조제실 보조 프린터",
|
||||
"location": "투약대"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user