Remote Printing SDK for Thinfinity - Delphi

Delphi

Objective

The Remote Printing SDK allows you to programmatically send commands and documents to the end-user’s printer. Currently, raw printers are supported.

The following table shows the methods of the Remote Printer SDK.

Components

Basic Scheme

The Remote Printer SDK tasks:

  1. Retrieve the printer list.

  2. Prepare the connection for printing.

  3. Send data to the printer

  4. Inform the end of the printing process.

  5. In case of any error must be Cancel the printing or if the user wants.

  6. In case of any error, can get it more details using LastError method

API

The following table shows the methods of the Remote Printer SDK.

Methods

Parameters

WideString - Character or string used as delimiter of the printer names on Printers param.

Parameters

Integer - Out last error code. If ErrorCode is 0, there is not error

Parameters

Integer - Determines the type of priting. Now support PRINT_TYPE_RAW = 1

Parameters

WideString - The document identifier obtained by BeginDoc

Parameters

WideString - The document identifier obtained by BeginDoc

Parameters

WideString - The document identifier obtained by BeginDoc

Parameters

Integer - Determines the type of printing.

Now support:

PRINT_TYPE_XPS = 3

PRINT_TYPE_PDF = 4

PRINT_TYPE_DIRECT = 5

Last updated