打印支票旋转90度 [英] Print cheque rotated by 90 degrees

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

问题描述

大家好,这是我在这个论坛上的第一个问题.

我的问题是,我们正在开发支票打印软件;为此,我们将支票以90度的角度(由于纸张尺寸)放入打印机.要更正此问题,我需要以90度的倾斜角打印支票.

我该怎么办?

谢谢

Hi guys, this is my first ever question in this forum.

My problem is, we are developing a cheque printing software; for that, we are placing the cheque in the printer at an angle of 90 degrees (because of the paper size). To correct this, I need to print the cheque in the tilted angle of 90 degrees.

How do I do this?

Thanks

推荐答案

这取决于您完成此过程的程度.如果已将支票的图像存储在计算机上,则只需使用Image.FromFile进行加载,使用Graphics.FromImage获取Graphics实例,然后使用 ^ ]方法.

您可以从那里打印出来,也可以使用图形程序将其保存回文件中,以便以后打印.为此,可以使用PrintDocument,也可以使用Image.Save.

PS:我编辑了您的原始问题,以纠正一些小的可读性问题.如果您觉得我错过了什么,请随时对其进行)
This depends on how far you are through the process. If you''ve got the image of the cheque stored on the computer, then you simply use Image.FromFile to load it in, get a Graphics instance using Graphics.FromImage, then use the Graphics.RotateTransform[^] method.

From there you can either print it out or save it back into the file to print it later, using a graphics program. You use a PrintDocument for this, or you can use Image.Save.

PS: I edited your original question to correct a few small readability issues. If you feel that I''ve missed something, feel free to edit it again :)


检查打印机设置,看看是否可以修改打印方向(某些打印机和某些打印机).特定的固件完全不支持).在某些情况下,您将必须将整个内容转换为图像,将图像切碎并按顺序打印出来(几年前我在爱普生热敏打印机上工作时遇到了类似的问题,这就是我所做的) .

某些打印机允许您设置垂直和水平边距,您可以使用它们偏移打印区域.但是这些都不能轻易解决您的问题.在您选择适合您需要的选项之前,您将不得不自己进行一些研究和工作.
Check with the printer settings and see if you could modify the print direction (some printers, and some specific firmwares don''t support it at all). In some cases, you''ll have to convert the whole thing to images, chop the images and print them out in order (I worked on an Epson thermal printer a few years ago on a similar problem, and this is what I did).

Some printers allow you to set the vertical and horizontal margin, with which you could offset the printing area. But none of these can readily solve your problem. You''ll have to do some research and some work on your own until you could choose an option that suits your needs.


我已经告诉您检查打印机规格是否支持这种打印.你做完了吗?

您为什么以"ANSWER"的形式发布您的问题? :rolleyes:

使用此页面底部的留言板提供您可能需要提供的其他信息.目前,您的查询还没有任何人可以回答.谁会知道它是哪种打印机,它支持什么样的功能,等等?

恐怕您必须阅读打印机手册并自己做.
I''ve already told you to check with the printer specifications if or not does it support such printing. Have you done that yet?!

Why have you posted your question as an "ANSWER"?! :rolleyes:

Use the message board at the bottom of this page to provide any additional information that you may need to provide. Right now, your query is not something that anyone can answer. Who will know what sort of printer it is, what kind of features does it support, etc?!

I''m afraid you''ll have to read the printer manual and do this yourself.


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

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