←Select platform

PrintJob Method

Summary

Provides a callback function called from the Network Virtual Printer Driver at job start.

Syntax

C#
VB
C++
public bool PrintJob( 
   PrintJobData printJobData 
) 
  
Function PrintJob( _ 
   ByVal printJobData As Leadtools.Printer.Client.PrintJobData _ 
) As Boolean 

Parameters

printJobData
PrintJobData class containing the information about the print job.

Return Value

returning false from this function will cause the cancellation of the print job.

Remarks

This callback function will be called by the Network Virtual Printer Driver, with the printer information.

The user will read the information and act accordingly.

The user must fill the UserData field of the printJobData parameter. This data will be sent to the server machine and can be used to provide custom behaviors.

Data in the server side can be read using property.

Example

Refer to Startup example.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.