LEADTOOLS Virtual Printer (Leadtools.Printer.Client assembly)
LEAD Technologies, Inc

PrintJob Method






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
)
function Leadtools.Printer.Client.IVirtualPrinterClient.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IVirtualPrinterClient Interface
IVirtualPrinterClient Members
Leadtools.Printer.Printer.RemoteData

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.