Class ClientPrintJob
Specifies information about the print job.
Inheritance
Inherited Members
Namespace: Neodynamic.Blazor
Assembly: cs.temp.dll.dll
Syntax
public class ClientPrintJob
Properties
BinaryPrinterCommands
Gets or sets the printer's commands in binary format. Default is null (nothing).
Declaration
public byte[] BinaryPrinterCommands { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
ClientPrinter
Gets or sets the ClientPrinter object. Default is null (nothing).
Declaration
public object ClientPrinter { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
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.
Files
Gets a group of PrintFile objects to be printed at the client side. Default is an empty list.
Declaration
public List<object> Files { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Object> |
Id
Gets an unique ID.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
PrinterCommands
Gets or sets the printer's commands in text plain format. Default is an empty string.
Declaration
public string PrinterCommands { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrinterCommandsCopies
Gets or sets the num of copies for Printer Commands. Default is 1.
Declaration
public int PrinterCommandsCopies { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Most Printer Command Languages already provide commands for printing copies. Always use that command instead of this property. Refer to the printer command language manual or specification for further details.
PrinterCommandsDocName
Gets or sets the name of the document shown by the print queue. Default is a random name.
Declaration
public string PrinterCommandsDocName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GenerateUniqueId()
Generates an unique ID for this job.
Declaration
public void GenerateUniqueId()