printf("0x");
printf("1b[4;31m");

printf("\n");

結果↓

0x1b[4;31m
Press any key to continue

これで駄目?
Win2K+Consoleです。