ExtEscapeを使ってpostscriptデータをプリンターに送ろうとしているのですが、以下のコードに対してプリンターが全く応答しませんでした(1回目のExtEscapeもtrueを返しました。2回目のExtEscapeもtrueを返しましたが、印刷物は出ませんでした)。助けていただければ幸いです。
escapeCode = POSTSCRIPT_PASSTHROUGH;
if (bReturn = ExtEscape( printerDC, QUERYESCSUPPORT, sizeof(int),
(LPCSTR)&escapeCode, 0, NULL ) <= 0)
return;
bReturn = ExtEscape(
hdcPrint,
escapeCode,
sizeof(temp_out_ptr),
temp_out_ptr, // this contains postscript data
0,
NULL
);