<div class="content"><p> </p><p><b>RpcAsyncPlayGdiScriptOnPrinterIC</b> returns font
information for a printer connection.</p><p>The counterpart of this method in the Print System Remote
Protocol is <b>RpcPlayGdiScriptOnPrinterIC</b>. All parameters not defined
below are specified in <span><a href="../ms-rprn/d42db7d5-f141-4466-8f47-0a4be14e2fc1" data-linktype="relative-path">[MS-RPRN]</a></span>
section <span><a href="../ms-rprn/eff167ad-f400-4c6e-b0e2-c48b62ac0826" data-linktype="relative-path">3.1.4.2.11</a></span>.</p><dl>
<dd>
<div><pre> DWORD RpcAsyncPlayGdiScriptOnPrinterIC(
   [in] GDI_HANDLE hPrinterIC,
   [in, size_is(cIn)] unsigned char* pIn,
   [in] DWORD cIn,
   [out, size_is(cOut)] unsigned char* pOut,
   [in] DWORD cOut,
   [in] DWORD ul
 );
</pre></div>
</dd></dl><p><b>hPrinterIC: </b>A printer <span><a href="a98de8d9-8e9e-4cd7-92f7-f9269206a41e#gt_e6193b0f-37ad-4f30-978b-0e1e1291f674" data-linktype="relative-path">information
context</a></span> handle ([MS-RPRN] section <span><a href="../ms-rprn/ec9126fa-bc33-423f-adfc-1bf52bd7890e" data-linktype="relative-path">2.2.1.1.2</a></span>)
that has been returned by <b>RpcAsyncCreatePrinterIC</b> (section <span><a href="2a71dc19-abeb-42d0-b85a-942981008f9c" data-linktype="relative-path">3.1.4.1.18</a></span>).</p><p><b>Return Values: </b>This method returns zero to indicate
successful completion or a nonzero Win32 error code (<span><a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a></span>
section <span><a href="../ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d" data-linktype="relative-path">2.2</a></span>)
to indicate failure. The client MUST treat any nonzero return value as a fatal
error.</p><p><b>Exceptions Thrown:</b> This method MUST NOT throw any
exceptions other than those that are thrown by the underlying <span><a href="a98de8d9-8e9e-4cd7-92f7-f9269206a41e#gt_8a7f6700-8311-45bc-af10-82e10accd331" data-linktype="relative-path">RPC</a></span>
protocol <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>.</p><p>This method MUST adhere to the parameter validation,
processing, and response requirements that are specified in [MS-RPRN] section
3.1.4.2.11.</p></div>