PreviousNext
Help > Development > W-Language Functions for AS/400 > Spool functions > ASCreateSpool > Parameters
Parameters


Result

boolean – true if success, false in case of failure.

Connection

Connection to AS/400.

 

prn_FileName

Print file in the format of the destination printer (PCL or other). Use iDestination (iFile, "file_name") to create the print file from a classic WinDev print..

Options

Basic options for the spool file. The possible valeurs are a combination of the following constants:

ASsplHold : for creating the spool file in hold state.

ASsplSave : for a spool file which will be saved after being printed.


User_data
 (10 characters)

User data: a short identifier for the spool item. Aslo known as user reference. This is used to easily retrieve the spool after creation.


User_name

Name of the user which will own the spool. Possible values are:

Name of a user

*CURRENT (by default) -> current user

User_text (100 characters)

User text. Holds a customized description.


copies

Number of copies to be printed.


spoolname
(10 characters)

Name of the spool file to create.


Output_Queue

Name of the outq. Possible values are:

Name of an OUTQ (*LIBL/OUTQ, or OUTQ)

*JOB (by default)


Output_priority

Output priority. Possible values:

1-9

*JOB (by default)

Form_type (10 caracters)

Form type: possible values are: *STD or any string.