DosPFSVerifyFont
Bindings: C,
MASM
This call indicates whether the specified code page and font within that
code page are available in the font file for the specified printer.
DosPFSVerifyFont
(PrinterName, CodePage, FontID,
Reserved)
PrinterName (PSZ) - input
Address of the
name of the printer that queries the code page and font switching setup.
CodePage (USHORT) - input
Code
page to validate. Values are in the range 0 through 65535.
FontID
(USHORT) - input
Font ID to validate. Values
are in the range 0 through 65535. A value of 0 indicates that any font within
the specified code page is acceptable.
Reserved
(ULONG) - input
Reserved must be set to zero.
rc (USHORT) - return
Return
code descriptions are listed in the following section.
Remarks
DosPFSVerifyFont is intended for use only by applications that replace the
spooler as a print monitor and that do code page switching. Other applications
should use printer IOCTLs to manipulate printer code page switching.
DosPFSVerifyFont is located in SPOOLCP.DLL (not in DOSCALLS.LIB) and requires
an import statement in the module definition file. Refer to the IBM Operating
System/2 Version 1.2 Building Programs, Module Definition File Statements
section for information about the import statement.
Return values are:
- Code page not available.
- Font ID not available.
10
Invalid printer name as input.
13
Received code page request when code page
switcher not initialized.
[Back: DosPFSQueryAct]
[Next: DosPhysicalDisk]