有人使用wx.lib.printout吗? [英] Anyone using wx.lib.printout?

查看:93
本文介绍了有人使用wx.lib.printout吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设法通过几个函数调用给自己打印到纸张的能力,但我的努力已停滞不前。


我想,最低限度,能够改变一些页面元素,如字体和边距,但看起来属性和方法比我到目前为止遇到的例子埋得更深。


我发现的所有文件都是对于C wxPrintout模块,并且充其量是最小的。


如果有人有文档/说明,或者某些具有这种性质的示例代码,那将是最有帮助的。 />

谢谢。

I managed to give myself the capability to print to paper with just a couple function calls, but my efforts have stalled there.

I would like to, minimally, be able to change a few page elements such as the typeface and margins, but it appears the properties and methods are buried much deeper than the examples I have encountered so far.

All documentatiion I have uncovered is for the C wxPrintout module, and is minimal at best.

If anyone has documentation/instructions, or some example code that does something of this nature, it would be most helpful.

Thanks.

推荐答案

Windows或Linux?
Windows or Linux?


对不起,我以为是很明显,但我想的是win32的东西。这是针对Windows的。
Sorry, I thought it was obvious, but I was thinking of the win32 stuff instead. This is for windows.



我设法让自己只需几个函数调用即可打印到纸上,但我的努力有停滞不前。


我想,最低限度,能够改变一些页面元素,如字体和边距,但看起来属性和方法埋藏得比我到目前为止遇到的例子。


我发现的所有文件都是针对C wxPrintout模块的,并且最多只是最小的。


如果任何人都有文档/说明,或一些做这种性质的示例代码,这将是最有帮助的。


谢谢。
I managed to give myself the capability to print to paper with just a couple function calls, but my efforts have stalled there.

I would like to, minimally, be able to change a few page elements such as the typeface and margins, but it appears the properties and methods are buried much deeper than the examples I have encountered so far.

All documentatiion I have uncovered is for the C wxPrintout module, and is minimal at best.

If anyone has documentation/instructions, or some example code that does something of this nature, it would be most helpful.

Thanks.



字体由文档处理(查看C wx文档中的文档/视图概述)。边距在设置对话框中设置。我相信我们可以弄清楚如何让你开放。

The font is handled by the document (check out document/view overview in the C wx docs). Margins are set in a setup dialog. I''m sure that we can figure out how to get that open for you.


这篇关于有人使用wx.lib.printout吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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