Overview

Namespaces

  • Neodynamic
    • SDK
      • Web
  • PHP

Classes

  • ClientPrinter
  • ClientPrintJob
  • DefaultPrinter
  • InstalledPrinter
  • NetworkPrinter
  • ParallelPortPrinter
  • PrintFile
  • SerialPortHandshake
  • SerialPortParity
  • SerialPortPrinter
  • SerialPortStopBits
  • UserSelectedPrinter
  • Utils
  • WebClientPrint
  • Overview
  • Namespace
  • Class
  • Tree

Class ClientPrintJob

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

Namespace: Neodynamic\SDK\Web
Located at WebClientPrint.php
Methods summary
public string
# sendToClient( )

Sends this ClientPrintJob object to the client for further processing. The ClientPrintJob object will be processed by the WCPP installed at the client machine.

Sends this ClientPrintJob object to the client for further processing. The ClientPrintJob object will be processed by the WCPP installed at the client machine.

Returns

string
A string representing a ClientPrintJob object.
Properties summary
public Neodynamic\SDK\Web\ClientPrinter $clientPrinter null
#

Gets or sets the ClientPrinter object. Default is NULL. The ClientPrinter object refers to the kind of printer that the client machine has attached or can reach.

  • 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 Windows 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.

Gets or sets the ClientPrinter object. Default is NULL. The ClientPrinter object refers to the kind of printer that the client machine has attached or can reach.

  • 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 Windows 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.
public string $printerCommands ''
#

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

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

public boolean $formatHexValues false
#

Gets or sets whether the printer commands have chars expressed in hexadecimal notation. Default is false. The string set to the $printerCommands property can contain chars expressed in hexadecimal notation. Many printer languages have commands which are represented by non-printable chars and to express these commands in a string could require many concatenations and hence be not so readable. By using hex notation, you can make it simple and elegant. Here is an example: if you need to encode ASCII 27 (escape), then you can represent it as 0x27.

Gets or sets whether the printer commands have chars expressed in hexadecimal notation. Default is false. The string set to the $printerCommands property can contain chars expressed in hexadecimal notation. Many printer languages have commands which are represented by non-printable chars and to express these commands in a string could require many concatenations and hence be not so readable. By using hex notation, you can make it simple and elegant. Here is an example: if you need to encode ASCII 27 (escape), then you can represent it as 0x27.

public Neodynamic\SDK\Web\PrintFile $printFile null
#

Gets or sets the PrintFile object to be printed at the client side. Default is NULL.

Gets or sets the PrintFile object to be printed at the client side. Default is NULL.

public array $printFileGroup null
#

Gets or sets an array of PrintFile objects to be printed at the client side. Default is NULL.

Gets or sets an array of PrintFile objects to be printed at the client side. Default is NULL.

Neodynamic WebClientPrint for PHP Documentation
Copyright © 2003 - Neodynamic - All rights reserved.