vc ++打印多个方向不同的页面 [英] vc++ printing multiple pages with different orientation

查看:58
本文介绍了vc ++打印多个方向不同的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码应该通过打印具有交替方向(横向和纵向)的多个页面来重新打印到打印命令。不应调用打印对话框。如何在单个打印过程中更改打印方向(当输出设备是pdf驱动程序时,只应生成一个pdf文件)。谢谢。

My code should respnd to the Print command by printing several pages with alternate orientation (landscape and portrait). No call to the Print dialog should be made. How can I change printing orientation during a single printing process (when the output device is a pdf driver, only one pdf file should be produced). Thanks.

推荐答案

首先,您在内存(或临时文件)中运行横向和protrait打印作业,而不是需要组合兴趣部分(或仅绘制到最终作业中的一些记忆DC)将创建你的最终结果。
At first you run a landscape and protrait printing job in memory (or temp files) and than you need to combine the interestings parts (or only drawing to some memory DC) in the final job which will create your final result.


这篇关于vc ++打印多个方向不同的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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