CR80或名片的纸张尺寸常数 [英] Paper size constant for CR80 or Business card

查看:467
本文介绍了CR80或名片的纸张尺寸常数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

    

  Dim 打印机作为 打印机
Printer.PrintAction = Printing.PrintAction.PrintToPreview
Printer.PaperSize = vbPRPSLegal
Printer.Print("使用legal legal paper"
Printer.EndDoc()


如何为名片或CR80设置纸张大小不变或值。例如,A4常数为20但我希望名片不变 


这是微软网站上文章的链接  https://msdn.microsoft.com/en-us/library / windows / desktop / dd319099(v = vs.85).aspx

解决方案

< blockquote>

您好PRO_WAV,


感谢您发布此处。


对于您的问题,如果您想打印身份证,可以从以下链接下载源文件。


最好的问候,


Wendy


    

    Dim Printer As New Printer
    Printer.PrintAction = Printing.PrintAction.PrintToPreview
    Printer.PaperSize = vbPRPSLegal
    Printer.Print("Using legal size paper")
    Printer.EndDoc()

How can set paper size constant or value for business card or CR80. For example A4 constant is 20 but i want constant for Business card 

This is link for the article on microsoft site https://msdn.microsoft.com/en-us/library/windows/desktop/dd319099(v=vs.85).aspx

解决方案

Hi PRO_WAV,

Thank you for posting here.

For your question, if you want to print ID card, you could download the source file from the following link.

https://www.codeproject.com/Tips/869718/How-to-design-an-identification-card-ID-Card-print

Best Regards,

Wendy


这篇关于CR80或名片的纸张尺寸常数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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