1 API
Class Ax.ext.printer
Method Summary
Modifier and Type
Method
Description
static SQLResultSetArray
getQueueJobs(Ax.text.String printer)
Gets the queue jobs from a printer
static SQLResultSetArray
getQueueJobs(Ax.text.String printer,Ax.text.String user_code)
Gets the queue jobs from a printer
static boolean
isDeviceReady(Ax.text.String printer)
Checks the state of the printer if it is allowed to print
static boolean
isDeviceReady(Ax.text.String printer,Ax.text.String user_code)
Checks the state of the printer if it is allowed to print
static boolean
removeJob(Ax.text.String printer, Ax.text.String jobid)
Removes a job that is in a printer queue
static boolean
removeJob(Ax.text.String printer,Ax.text.String jobid,Ax.text.String user_code)
Removes a job that is in a printer queue
static HashMap
sendFile(Ax.text.String printer, InputStream fileStream, Ax.text.String fileName)
Sends the order to print to the printer
static HashMap
sendFile(Ax.text.String printer,InputStream fileStream,Ax.text.String fileName,Ax.text.String user_code)
Sends the order to print to the printer
Method Detail
Ax.ext.printer.getQueueJobs
-
static resultset Ax.ext.printer.getQueueJobs( string printer )
- Info:
-
Gets the queue jobs from a printer - Parameters:
- printer -
- Returns:
- resultset
Ax.ext.printer.getQueueJobs
-
static resultset Ax.ext.printer.getQueueJobs( string printer, string user_code )
- Info:
-
Gets the queue jobs from a printer - Parameters:
- printer -
- user_code -
- Returns:
- resultset
Ax.ext.printer.isDeviceReady
-
static boolean Ax.ext.printer.isDeviceReady( string printer )
- Info:
-
Checks the state of the printer if it is allowed to print - Parameters:
- printer -
- Returns:
- boolean
Ax.ext.printer.isDeviceReady
-
static boolean Ax.ext.printer.isDeviceReady( string printer, string user_code )
- Info:
-
Checks the state of the printer if it is allowed to print - Parameters:
- printer -
- user_code -
- Returns:
- boolean
Ax.ext.printer.removeJob
-
static boolean Ax.ext.printer.removeJob( string printer, string jobid )
- Info:
-
Removes a job that is in a printer queue - Parameters:
- printer -
- jobid -
- Returns:
- boolean
Ax.ext.printer.removeJob
-
static boolean Ax.ext.printer.removeJob( string printer, string jobid, string user_code )
- Info:
-
Removes a job that is in a printer queue - Parameters:
- printer -
- jobid -
- user_code -
- Returns:
- boolean
Ax.ext.printer.sendFile
-
static object Ax.ext.printer.sendFile( string printer, object fileStream, string fileName )
- Info:
-
Sends the order to print to the printer - Parameters:
- printer -
- fileStream -
- fileName -
- Returns:
- object
Ax.ext.printer.sendFile
-
static object Ax.ext.printer.sendFile( string printer, object fileStream, string fileName, string user_code )
- Info:
-
Sends the order to print to the printer - Parameters:
- printer -
- fileStream -
- fileName -
- user_code -
- Returns:
- object