<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[프론트 플러그인 printReceipt의 프린터 오류 관측 범위와 안전한 재출력 문의]]></title><description><![CDATA[<p dir="auto">안녕하세요. 프론트 플러그인으로 승인된 거래의 결제 영수증을 프론트에 연결된 프린터에서 출력하려고 합니다. 프린터 용지 부족·연결 해제 등으로 영수증을 받지 못하면 승인 상태를 보존하고 영수증만 다시 출력하는 흐름입니다.</p>
<ol>
<li><code>sdk.printer.printReceipt({ paymentKey, count: 1 })</code>가 <code>Promise</code> 완료 또는 오류를 반환한다고 안내돼 있습니다. 지원 프린터나 프론트 앱/SDK 버전에 따라, 요청 수락과 실제 종이 출력 완료를 구별할 수 있나요? 용지 부족, 연결 해제, 출력 중 취소·시간 초과를 앱에서 구분할 공식 오류 코드/이벤트와 지원 프린터 또는 연결 방식이 있다면 예시를 부탁드립니다. 구별이 불가능한 상황은 직원이 실물 출력 여부를 확인하도록 처리하려고 합니다.</li>
<li>출력 응답이 유실돼 인쇄 여부를 알 수 없을 때, 직전 작업을 확인할 공식 상태 조회가 있나요? 확인 수단이 없다면 동일 <code>paymentKey</code>로 재출력하기 전에 권장하는 확인 절차가 있는지 부탁드립니다.</li>
</ol>
<p dir="auto">감사합니다. <a href="https://docs.tossplace.com/reference/plugin-sdk/front/printer.html#printreceipt" rel="nofollow ugc">Printer API</a></p>
]]></description><link>https://forum.tossplace.com/topic/152/프론트-플러그인-printreceipt의-프린터-오류-관측-범위와-안전한-재출력-문의</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Dec 2026 03:10:56 GMT</lastBuildDate><atom:link href="https://forum.tossplace.com/topic/152.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Nov 2026 07:53:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 프론트 플러그인 printReceipt의 프린터 오류 관측 범위와 안전한 재출력 문의 on Mon, 23 Nov 2026 09:35:31 GMT]]></title><description><![CDATA[<p dir="auto">안녕하세요. 토스플레이스 개발자센터입니다.</p>
<p dir="auto"><strong>1. printReceipt의 성공 응답만으로 종이가 실제로 나왔는지까지 구분할 수는 없습니다.</strong><br />
프론트에 연결한 프린터로 출력을 요청하면 SDK는 성공 시 별도 값 없이 완료되고 실패 시 오류를 반환합니다. 요청 수락과 실제 배출을 분리한 이벤트나, 용지 부족, 연결 해제, 사용자 취소, 시간 초과를 기종과 연결 방식에 관계없이 판별할 수 있는 공통 오류 코드는 제공하지 않습니다. 오류가 발생했다고 반드시 종이가 나오지 않은 것도 아닙니다.</p>
<p dir="auto"><strong>2. 결과를 받지 못했다면 결제는 그대로 두고, 실물을 확인한 뒤 영수증만 다시 출력해 주세요.</strong><br />
현재 프론트 프린터 API에는 직전 출력 작업의 상태나 인쇄 이력을 조회하는 기능이 없습니다. paymentKey는 결제 건을 지정하는 값이지 중복 인쇄를 막는 작업 번호가 아니므로 자동으로 재출력하지 마세요.</p>
<p dir="auto">직원이 해당 영수증이 이미 나왔는지 먼저 확인하고, 나오지 않았다면 용지와 연결 상태를 복구한 뒤 <strong>원승인 paymentKey와 count: 1로 printReceipt만 한 번</strong> 실행해 주세요. 이때 승인 상태를 변경하거나 결제를 다시 요청할 필요는 없습니다. <a href="https://docs.tossplace.com/reference/plugin-sdk/front/printer.html#printreceipt" rel="nofollow ugc">영수증 출력 API</a></p>
]]></description><link>https://forum.tossplace.com/post/341</link><guid isPermaLink="true">https://forum.tossplace.com/post/341</guid><dc:creator><![CDATA[토스플레이스-개발자센터]]></dc:creator><pubDate>Mon, 23 Nov 2026 09:35:31 GMT</pubDate></item></channel></rss>