ReceiptPrintJob 클래스

정의

영수증 프린터에서 실행하려는 인쇄 지침 집합을 나타냅니다.

public ref class ReceiptPrintJob sealed
public ref class ReceiptPrintJob sealed : IReceiptOrSlipJob
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ReceiptPrintJob final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ReceiptPrintJob final : IReceiptOrSlipJob
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ReceiptPrintJob
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ReceiptPrintJob : IReceiptOrSlipJob
Public NotInheritable Class ReceiptPrintJob
Public NotInheritable Class ReceiptPrintJob
Implements IReceiptOrSlipJob
상속
Object Platform::Object IInspectable ReceiptPrintJob
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

영수증 프린터에 대한 새 인쇄 작업을 만들려면 ClaimedReceiptPrinter.CreateJob을 호출합니다. 만든 인쇄 작업 개체는 만든 ClaimedReceiptPrinter 개체가 유효한 한 유효합니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1903 18362 FeedPaperByLine
1903 18362 FeedPaperByMapModeUnit
1903 18362 Print(String,PosPrinterPrintOptions)
1903 18362 StampPaper

메서드

CutPaper()

프린터 작업에 영수증 용지를 완전히 자르는 명령을 추가합니다.

CutPaper(Double)

프린터 작업에 명령을 추가하여 영수증 용지의 지정된 비율을 줄입니다.

DrawRuledLine(String, PosPrinterLineDirection, UInt32, PosPrinterLineStyle, UInt32)

영수증 프린터 스테이션의 용지에 그려진 규칙선을 인쇄하는 명령을 인쇄 작업에 추가합니다.

ExecuteAsync()

영수증 프린터 스테이션에서 인쇄 작업을 비동기적으로 실행합니다.

FeedPaperByLine(Int32)

영수증 프린터 스테이션에서 용지를 줄별로 공급하기 위한 지침을 인쇄 작업에 추가합니다.

FeedPaperByMapModeUnit(Int32)

영수증 프린터 스테이션의 지도 모드 단위로 용지를 공급하기 위한 명령을 인쇄 작업에 추가합니다.

MarkFeed(PosPrinterMarkFeedKind)

영수증 프린터 스테이션의 표시 센서를 사용하여 영수증 용지를 배치하는 지침을 프린터 작업에 추가합니다.

Print(String)

영수증 프린터 스테이션에서 지정한 텍스트를 인쇄하는 명령을 인쇄 작업에 추가합니다.

Print(String, PosPrinterPrintOptions)

영수증 프린터 스테이션에서 지정한 텍스트와 옵션을 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintBarcode(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, PosPrinterAlignment)

영수증 프린터 스테이션에서 지정된 데이터 및 기호가 있는 바코드를 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintBarcodeCustomAlign(String, UInt32, UInt32, UInt32, PosPrinterBarcodeTextPosition, UInt32)

영수증 프린터 스테이션에서 지정한 데이터, 기호 및 사용자 지정 맞춤이 있는 바코드를 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintBitmap(BitmapFrame, PosPrinterAlignment)

영수증 프린터 스테이션에 지정된 표준 가로 배치를 사용하여 지정된 비트맵을 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintBitmap(BitmapFrame, PosPrinterAlignment, UInt32)

영수증 프린터 스테이션에서 지정한 너비와 표준 가로 배치를 사용하여 지정된 비트맵을 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintCustomAlignedBitmap(BitmapFrame, UInt32)

영수증 프린터 스테이션의 맨 왼쪽 인쇄 열에서 지정된 거리에 지정된 비트맵을 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintCustomAlignedBitmap(BitmapFrame, UInt32, UInt32)

지정한 너비와 영수증 프린터 스테이션의 맨 왼쪽 인쇄 열에서 지정된 거리에 있는 지정된 비트맵을 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintLine()

영수증 프린터 스테이션에서 줄 바꿈 문자를 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintLine(String)

영수증 프린터 스테이션에서 텍스트 줄을 인쇄하는 명령을 인쇄 작업에 추가합니다.

PrintSavedBitmap(UInt32)

SetBitmap 또는 SetCustomAlignedBitmap을 통해 프린터에 저장된 비트맵 및 정보를 사용하여 영수증 프린터 스테이션에서 비트맵을 인쇄하는 명령을 인쇄 작업에 추가합니다.

SetBarcodeRotation(PosPrinterRotation)

영수증 프린터 스테이션의 페이지에서 바코드 회전을 설정합니다.

SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment)

영수증 프린터 스테이션에서 해당 비트맵을 인쇄하는 데 사용할 비트맵 및 표준 가로 배치에 대한 정보를 저장하므로 나중에 PrintSavedBitmap 메서드를 사용하여 해당 정보를 인쇄 작업에 추가할 수 있습니다.

SetBitmap(UInt32, BitmapFrame, PosPrinterAlignment, UInt32)

영수증 프린터 스테이션에서 해당 비트맵을 인쇄하는 데 사용할 너비 및 표준 가로 배치와 함께 비트맵에 대한 정보를 저장하므로 나중에 PrintSavedBitmap 메서드를 사용하여 해당 정보를 인쇄 작업에 추가할 수 있습니다.

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32)

나중에 PrintSavedBitmap 메서드를 사용하여 해당 정보를 인쇄 작업에 추가할 수 있도록 영수증 프린터 스테이션에서 해당 비트맵을 인쇄하려는 가장 왼쪽 인쇄 열의 비트맵과 거리에 대한 정보를 저장합니다.

SetCustomAlignedBitmap(UInt32, BitmapFrame, UInt32, UInt32)

영수증 프린터 스테이션에서 해당 비트맵을 인쇄하는 데 사용할 맨 왼쪽 인쇄 열의 너비 및 거리와 함께 비트맵에 대한 정보를 저장하므로 나중에 PrintSavedBitmap 메서드를 사용하여 해당 정보를 인쇄 작업에 추가할 수 있습니다.

SetPrintArea(Rect)

영수증 프린터 스테이션에서 작업을 인쇄할 수 있는 페이지의 영역을 설정합니다.

SetPrintRotation(PosPrinterRotation, Boolean)

영수증 프린터 스테이션의 페이지에서 텍스트 또는 이미지의 회전을 설정합니다.

StampPaper()

영수증 프린터 스테이션의 스탬프에 인쇄 작업에 명령을 추가합니다.

적용 대상

추가 정보