Obtains the embedded fonts attached to a specific print job.
Character string that contains the folder path, to copy the fonts to.
Job ID to retrieve the fonts from.
A null-terminated string buffer to be updated with the font's name. Each font name will have a MAX_PATH length.
Pointer to an integer to be updated with the size of pszFontNames, in bytes.
Pointer to an integer to be updated with the number of elements of pszFontNames.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
To use this function:
Declare two variables of type L_INT and pass the address of the variables as pnBufferSize and pnElements parameters.
Pass NULL for the pszFontNames parameter.
The size will be returned in the variable *pnBufferSize.
Locate a buffer of *pnBufferSize.
Call the function again passing the address of the buffer for pszFontNames.
The embedded fonts are returned in the buffer pszFontNames. Each font will have a MAX_PATH length.
Required DLLs and Libraries
For an example, refer to L_PrnGetRemoteData.