LEADTOOLS Virtual Printer (Leadtools.Printer.Client assembly)

PrintJob Method

Show in webframe





PrintJobData class containing the information about the print job.
Provides a callback function called from the Network Virtual Printer Driver at job start.
Syntax
bool PrintJob( 
   PrintJobData printJobData
)
'Declaration
 
Function PrintJob( _
   ByVal printJobData As PrintJobData _
) As Boolean
'Usage
 
Dim instance As IVirtualPrinterClient
Dim printJobData As PrintJobData
Dim value As Boolean
 
value = instance.PrintJob(printJobData)

            

            
bool PrintJob( 
   PrintJobData^ printJobData
) 

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

See Also

Reference

IVirtualPrinterClient Interface
IVirtualPrinterClient Members
Leadtools.Printer.Printer.RemoteData

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.