如何使用mfc在每个页面上添加徽标/位图以进行打印预览 [英] How can add a logo/bitmap on each page for print preview using mfc

查看:58
本文介绍了如何使用mfc在每个页面上添加徽标/位图以进行打印预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

引用:

hi iam使用visual studio 2010和第三方库prof-Ui进行自定义控件。

hi iam using visual studio 2010 and third party library prof-Ui for customized controls.





我尝试了什么:



hi iam使用visual studio 2010和第三方库prof-Ui用于自定义控件。



What I have tried:

hi iam using visual studio 2010 and third party library prof-Ui for customized controls.

推荐答案

您必须打印或绘制打印机直流打印代码中的位图。阅读 Print Spooler API Functions 文档一些概述。



大多数时候只绘制一些带水印的位图是有意义的。所以用一些外部绘图程序准备这样的位图。
You must "print" or draw the bitmap in you printing code on the printer dc. Read the Print Spooler API Functions documentation for some overview.

Most times it makes sense to only draw some watermarked bitmap. So prepare such bitmap with some external drawing program.


这篇关于如何使用mfc在每个页面上添加徽标/位图以进行打印预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆