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. First Blog, “Hello, world!”

    As every single book says as a tradition, "Hello, world!" An explanation about the name – ...

  2. requireJS 用法

    requireJS使用教程 2.0 常用方法 requirejs.config : 为模块指定别名 requirejs : 将写好的模块进行引入,根据模块编写主代码 define : 编写模块 htm ...

  3. php笔试题(1)--转载

    一份不错的php面试题,附答案,有准备换工作的同学可以参考一下.一.基础题1. 写出如下程序的输出结果 <?php     $str1 = null;     $str2 = false;    ...

  4. (原创)基于FPGA的调光流水灯(Verilog,CPLD/FPGA)

    1.Abstract     前几天做了一个呼吸灯,觉得确实挺有意思的:可惜的是只有一个灯管亮,板子上有四个灯,要是能让这些灯有序地亮起来,那应该更有趣味了!跟传统的一样,逻辑上做成一个流水灯的样式, ...

  5. Servlet的几种跳转(转)

    源地址:http://hi.baidu.com/awmtaplnaibmnxq/item/29d76f3dafcf00312e20c482 Servlet: 当然,在servlet中,一般跳转都发生在 ...

  6. 使用的组件:Web Uploader

    Web UploaderWebUploader是由Baidu WebFE(FEX)团队开发的一个简单的以HTML5为主,FLASH为辅的现代文件上传组件.在现代的浏览器里面能充分发挥HTML5的优势, ...

  7. extjs中form.reset(true)出现的bug修复

    在之前的开发extjs中,用ext.form.panel开发了一个表单,当使用了reset(true)之后,再次使用getRecord()却还是可以得到值,该值为上一次的旧值,查看了api文档,再结合 ...

  8. 在SSMS里批量删除表、存储过程等各种对象

    在SSMS里批量删除表.存储过程等各种对象 以前想找批量删除表或者存储过程的方法,原来SSMS的GUI界面也可以完成 请看下图,因为这次出差的时候要删除所有的存储过程,然后重建这些存储过程 而表.函数 ...

  9. C++ Primer学习笔记二

    vector<int> a(10,0); for(vector<int>::iterator itor=a.begin();itor!=a.end();itor++) *ito ...

  10. [ThingWorx] Install Guideline

    环境 硬件 软件 安装过程 PostgreSQL Tomcat ThingWorx