DefaultPaperSize

Paper10x14 254 x 355.6 mm

Paper11x17 279.4 x 431.8 mm

PaperA3 A3 ?,297 x 420 mm

PaperA4 A4 ?,210 x 297 mm

PaperA4Small A4 小?,210 x 297 mm

PaperA5 A5 ?,148 x 210 mm

PaperB4 B4 ?,250 x 354 mm

PaperB5 B5 ?,182 x 257 mm

PaperCsheet C Type,431.8 x 558.8 mm

PaperDsheet D Type,558.8 x 863.6 mm

PaperEnvelope10 #10 Envelope,104.8 x 241.3 mm

PaperEnvelope11 #11 Envelope,114.3 x 263.5 mm

PaperEnvelope12 #12 Envelope,120.7 x 279.4 mm

PaperEnvelope14 #14 Envelope,127 x 292.1 mm

PaperEnvelope9 #9 Envelope,98.4 x 225.4 mm

PaperEnvelopeB4 B4 Envelope,250 x 353 mm

PaperEnvelopeB5 B5 Envelope,176 x 250 mm

PaperEnvelopeB6 B6 Envelope,176 x 125 mm

PaperEnvelopeC3 C3 Envelope,324 x 458 mm

PaperEnvelopeC4 C4 Envelope, 114 x 229 mm

PaperEnvelopeC5 C5 Envelope,162 x 229 mm

PaperEnvelopeC6 C6 Envelope,114 x 162 mm

PaperEnvelopeC65 C65 Envelope,114 x 229 mm

PaperEnvelopeDL DL Envelope,110 x 220 mm

PaperEnvelopeItaly Italy Envelope,110 x 230 mm

PaperEnvelopeMonarch Monarch Envelope,98.4 x 190.5 mm

PaperEnvelopePersonal 6 3/4 Envelope,92.1 x 165.1 mm

PaperEsheet E Type,863.6 x 1117.6 mm

PaperExecutive Executive,184.1 x 266.7 mm

PaperFanfoldLegalGerman German Legal Fanfold,215.9 x 330.2 mm

PaperFanfoldStdGerman German Std Fanfold,215.9 x 304.8 mm

PaperFanfoldUS US Std Fanfold,377.8 x 279.4 mm

PaperFolio Folio,215.9 x 330.2 mm

PaperLedger Ledger,431.8 x 279.4 mm

PaperLegal Legal,215.9 x 355.6 mm

PaperLetter Letter,215.9 x 279.4 mm

PaperLetterSmall Letter Small,215.9 x 279.4 mm

PaperNote Note,215.9 x 279.4 mm

PaperQuarto Quarto,215 x 275 mm

PaperStatement Statement,139.7 x 215.9 mm

PaperTabloid Tabloid,279.4 x 431.8 mm

Dim doctoprint As New System.Drawing.Printing.PrintDocument()
doctoprint.PrinterSettings.PrinterName = "YourPrinterName" '(ex. "Epson SQ-1170 ESC/P 2")
For i = 0 To doctoprint.PrinterSettings.PaperSizes.Count - 1
Dim rawKind As Integer
If doctoprint.PrinterSettings.PaperSizes(i).PaperName = "MyCustomFormatName" Then
rawKind = CInt(doctoprint.PrinterSettings.PaperSizes(i).GetType().GetField("kind", Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic).GetValue(doctoprint.PrinterSettings.PaperSizes(i)))
oRpt.PrintOptions.PaperSize = rawKind
Exit For
End If
Next

Crystal Reports 支持的纸张种类的更多相关文章

  1. 创建条形码图像易用的控制字符编码功能的条形码控件Native Crystal Reports Barcode Generator

    Native Crystal Reports Barcode Generator是一个对象,它可以很容易地被嵌入到一个Crystal Report中用于创建条形码图像.一旦此条形码被安装在一个报表中, ...

  2. VS2015环境下Crystal Reports(水晶报表)的安装使用

    1.首先下载Crystal Reports13对于Visual Studio 2015支持的2个文件. CRforVS_13_0_17 CRforVS_redist_install_64bit_13_ ...

  3. Crystal Reports拉报表报错:Error detected by database DLL

    问题描述: 最近在使用Crystal Reports打印报表时,提示错误信息:"Error detected by database DLL." 如下图: 经查找,是因为数据库名称 ...

  4. 水晶报表13.x(Crystal Reports for VS2010)的安装部署经验

    这两天搞安装包真心坎坷,一个问题接一个问题,先是为了实现自定义动作现啃vbs,后面又是安装过程老是报错: 各种搜索.各种尝试,总算搞掂,积累了些经验,分享一下. 首先CR for VS2010的所有东 ...

  5. Crystal Reports 2008(水晶报表) 第一个报表

    学习Craystal Reports 2008的时候,光看说明文档,很多东西看了就忘了. 我在看文档的时候,是跟着文档上面来做的. 这样边看边做,效果还不错哈 下面就是我的第一个demo 先看看效果: ...

  6. Crystal Reports 2008(水晶报表) JDBC连接mysql数据库

    在本blog中,主要介绍的是Crystal Reports 2008使用JDBC连接mysql数据库. 在连接之间,首先要确认你电脑上面都安装了mysql数据库. 其次,就是jdbc连接数据时候所使用 ...

  7. Crystal Reports 2008(水晶报表) 启动时检查更新

    在安装好了Crystal Reports后,每次打开的是都会出现以下提示: 服务器正在运行中 由于另一个程序正在运行中,此操作无法完成.请选择“切换到”来激活正在运行中的程序,并更正问题. 碰到这样的 ...

  8. Crystal Reports 2008(水晶报表) 安装

    这篇blog主要是介绍Crystal Reports2008(水晶报表)的安装. 首先我们应该知道Crystal Reports 有什么作用? 从这里Crystal Reports 你可以了解到它的一 ...

  9. Crystal Reports课程01-连接SQL Sever数据库

    选择[OLE DB(ADO)] 选择[microsoft DB provider for SQL Sever],点击[下一步] 填写连接的服务器,数据库,用户名,密码等信息,然后点击[下一步] 选择[ ...

随机推荐

  1. PowerDesigner增强

    把注释显示出来 选定编辑的表,右键- >Properties- >Columns- >Customize Columns and Filter(或直接用快捷键Ctrl+U)- > ...

  2. Linux splint命令

    一.简介 splint是一个针对C语言的开源程序静态分析工具. 二.安装配置 1)yum安装 yum install -y splint 2)源码安装 http://www.splint.org/ 配 ...

  3. linux系统基础网络配置

    1.修改主机名 临时方法: 退出当前shell重新登录即可生效.此法只能临时修改生效.重启系统后失效. 提示:很多人使用hostname主机名来修改,其实这个只是作为暂时的.重启后将恢复到配置前的主机 ...

  4. Vmware Vsphere WebService SDK开发(第一讲)-基本知识学习

    刚开始这方面开发的时候,不知道如何下手,能够查到的资料特别少,而且看到很多网友和我一样也在找这方面的资料.接下来的一段时间我就结合自己所参与的项目,完成关于Vmware Vsphere WebServ ...

  5. SQL入门经典(一)之简介

    今天是我第一天开通博客,也是我的第一篇博客.以后为大家带来第一篇关于学习技术性文章,这段时间会为大家带来是SQL入门学习.希望大家坚持读下去,因为学历有限.我也是初学者.语言表达能力不好和知识点不足, ...

  6. Orleans的单线程执行模型

    Orleans在默认情况下只创建一个grain的实例,并以单线程模型执行.如果同一个grain实例,在Orleans存在多个实例,就会产生并发冲突,单线程执行模型就可以完全避免并发冲突了. 但在特殊场 ...

  7. 一致性Hash算法在Redis分布式中的使用

    由于redis是单点,但是项目中不可避免的会使用多台Redis缓存服务器,那么怎么把缓存的Key均匀的映射到多台Redis服务器上,且随着缓存服务器的增加或减少时做到最小化的减少缓存Key的命中率呢? ...

  8. 剑指offer 面试题6:重建二叉树

    重建二叉树 题目 输入某二叉树的前序遍历和中序遍历,请重建出该二叉树.假设输入的前序遍历和中序遍历的结果中都不含有重复的数字. 例如,前序遍历序列:{1,2,3,7,3,5,6,8},中序遍历序列:{ ...

  9. 【Android】进入Material Design时代

    由于本文引用了大量官方文档.图片资源,以及开源社区的Lib和相关图片资源,因此在转载的时候,务必注明来源,如果使用资源请注明资源的出处,尊重版权,尊重别人的劳动成果,谢谢! Material Desi ...

  10. Atitit.软件的建模种类and 建模语言选型and UML???

    Atitit.软件的建模种类and  建模语言选型and UML??? 1. 4大的建模种类:ui建模,业务流程建模 , 业务对象建模, 数据库建模 1 2. 文本还是图片化(推荐)的建模 1 3.  ...