feat: 실험 파일 영수증에 방법 번호 표시 추가
각 영수증에 "*** 방법 1 ***" 형식으로 번호 표시
어떤 방법이 QR을 성공적으로 인쇄했는지 쉽게 확인 가능
출력 예:
================================
*** 방법 1 ***
내장 QR (GS ( k)
================================
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6b5c98b4f0
commit
161f826380
@ -52,7 +52,10 @@ def method_1_native_qr_model2():
|
||||
|
||||
# 헤더
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
commands.append("=== 방법 1: 내장 QR (GS ( k) ===\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append(" *** 방법 1 ***\n".encode('euc-kr'))
|
||||
commands.append(" 내장 QR (GS ( k)\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
|
||||
# QR 설정
|
||||
@ -105,7 +108,10 @@ def method_2_raster_bitmap_gs_v():
|
||||
|
||||
# 헤더
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
commands.append("=== 방법 2: Raster (GS v 0) ===\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append(" *** 방법 2 ***\n".encode('euc-kr'))
|
||||
commands.append(" Raster (GS v 0)\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
|
||||
# QR 이미지 생성 (작게: 80x80)
|
||||
@ -162,7 +168,10 @@ def method_3_bit_image_esc_star():
|
||||
|
||||
# 헤더
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
commands.append("=== 방법 3: Bit Image (ESC *) ===\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append(" *** 방법 3 ***\n".encode('euc-kr'))
|
||||
commands.append(" Bit Image (ESC *)\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
|
||||
# QR 이미지 생성 (작게: 80x80)
|
||||
@ -230,7 +239,10 @@ def method_4_simple_text_only():
|
||||
|
||||
# 헤더
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
commands.append("=== 방법 4: 텍스트만 (비교용) ===\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append(" *** 방법 4 ***\n".encode('euc-kr'))
|
||||
commands.append(" 텍스트만 (비교용)\n".encode('euc-kr'))
|
||||
commands.append("================================\n".encode('euc-kr'))
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
commands.append("QR 이미지 대신 URL만 출력\n".encode('euc-kr'))
|
||||
commands.append("\n".encode('euc-kr'))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user