在VB6中打印 [英] Printing in VB6

查看:121
本文介绍了在VB6中打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




有谁知道如何在Visual Basic 6中打印整个表单?我需要能够调整表单大小以便在一页上打印。

Hi,

Does anyone know how print an entire form in Visual Basic 6? I need to be able to resize the form so it prints on one page.

推荐答案




尝试form1。 printform。但在执行此操作之前,请将表单颜色更改为白色。所以它不会浪费墨水... ^^


问候,

杰夫
Hi,

Try form1.printform. But before executing this, change the form color to white. So that it will not waste ink... ^^

Regards,
Jeff


是的,它真的归结为两种选择之一 - PrintForm,或自己滚动。虽然我多年前回忆起创建自己的PrintForm并不是那么难。当然,PrintForm的问题在于(如果我没记错的话)它以屏幕分辨率打印,并且丢失了很多细节。通过运行表单上的控件并自行打印,我认为你可以解决这个问题。


(或许你可以购买某种能够处理它的打印软件,但是这似乎是一种浪费。)
Yes, it really comes down to one of two choices - PrintForm, or "roll your own". Though I do recall from some years back that creating your own equivalent of PrintForm is not that hard. The problem with PrintForm, of course, is that (if I remember correctly) it prints at screen resolution, and loses lots of detail. By running through the controls on the form and printing them yourself, I think you can get around that.

(Or maybe you can buy some sort of printing software that will handle it, but that seems rather a waste.)





我尝试了PrintForm,但它切断了我的一半表格。你建议我创建自己的PrintForm等价物,你有什么想法吗?我尝试在网上寻找例子但是找不到任何能满足我需求的东西。


Hi,

I tried the PrintForm but it cuts off half of my form. You suggested for me to create my own equivalent to PrintForm, do you have any ideas how to go about that? I tried looking for examples online but couldn''t really find anything that would fit my needs.



是的,它确实倒下了选择两个选项之一 - PrintForm,或自己滚动。虽然我多年前回忆起创建自己的PrintForm并不是那么难。当然,PrintForm的问题在于(如果我没记错的话)它以屏幕分辨率打印,并且丢失了很多细节。通过运行表单上的控件并自行打印,我认为你可以解决这个问题。


(或许你可以购买某种能够处理它的打印软件,但是这似乎是一种浪费。)
Yes, it really comes down to one of two choices - PrintForm, or "roll your own". Though I do recall from some years back that creating your own equivalent of PrintForm is not that hard. The problem with PrintForm, of course, is that (if I remember correctly) it prints at screen resolution, and loses lots of detail. By running through the controls on the form and printing them yourself, I think you can get around that.

(Or maybe you can buy some sort of printing software that will handle it, but that seems rather a waste.)


这篇关于在VB6中打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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