Options
All
  • Public
  • Public/Protected
  • All
Menu

Specifies information about the print job to be processed at the client side.

Hierarchy

  • ClientPrintJob

Index

Accessors

binaryPrinterCommands

binaryPrinterCommands:

Gets or sets the printer's commands in binary format. Default is null (nothing).

clientPrinter

clientPrinter:

Gets or sets the ClientPrinter object. Default is null (nothing).

Use a DefaultPrinter object for using the default printer installed in the client machine.

Use a InstalledPrinter object for using a printer installed in the client machine with an associated OS printer driver.

Use a ParallelPortPrinter object for using a printer which is connected through a parallel port in the client machine.

Use a SerialPortPrinter object for using a printer which is connected through a serial port in the client machine.

Use a NetworkPrinter object for using a Network IP/Ethernet printer which can be reached from the client machine.

files

files:

Gets an array of PrintFile objects to be printed at the client side. Default is an empty list.

printerCommands

printerCommands:

Gets or sets the printer's commands in text plain format. Default is an empty string.

printerCommandsCopies

printerCommandsCopies:

Gets or sets the number of copies for Printer Commands. Default is 1.

Methods

_genPCArrayAsync

  • _genPCArrayAsync(printerCommands: string, binPrinterCommands: Uint8Array, printerCopies: number): Promise<Blob>
  • Parameters

    • printerCommands: string
    • binPrinterCommands: Uint8Array
    • printerCopies: number

    Returns Promise<Blob>

_genPFGArrayAsync

  • _genPFGArrayAsync(printFileGroup: PrintFile[]): Promise<Blob>
  • Parameters

    Returns Promise<Blob>

_genPrinterArrayAsync

  • _genPrinterArrayAsync(clientPrinter: IClientPrinter): Promise<Uint8Array>
  • Parameters

    Returns Promise<Uint8Array>

_generateDataAsync

  • _generateDataAsync(): Promise<Blob>
  • Returns Promise<Blob>

_intToByteArray

  • _intToByteArray(number: number): Uint8Array
  • Parameters

    • number: number

    Returns Uint8Array

_str2UTF8Array

  • _str2UTF8Array(str: string): number[]
  • Parameters

    • str: string

    Returns number[]

sendToClient

  • sendToClient(): any
  • It sends this ClientPrintJob to the JSPrintManager Client App.

    Returns any