Crystal Reports 支持的纸张种类
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 支持的纸张种类的更多相关文章
- 创建条形码图像易用的控制字符编码功能的条形码控件Native Crystal Reports Barcode Generator
Native Crystal Reports Barcode Generator是一个对象,它可以很容易地被嵌入到一个Crystal Report中用于创建条形码图像.一旦此条形码被安装在一个报表中, ...
- VS2015环境下Crystal Reports(水晶报表)的安装使用
1.首先下载Crystal Reports13对于Visual Studio 2015支持的2个文件. CRforVS_13_0_17 CRforVS_redist_install_64bit_13_ ...
- Crystal Reports拉报表报错:Error detected by database DLL
问题描述: 最近在使用Crystal Reports打印报表时,提示错误信息:"Error detected by database DLL." 如下图: 经查找,是因为数据库名称 ...
- 水晶报表13.x(Crystal Reports for VS2010)的安装部署经验
这两天搞安装包真心坎坷,一个问题接一个问题,先是为了实现自定义动作现啃vbs,后面又是安装过程老是报错: 各种搜索.各种尝试,总算搞掂,积累了些经验,分享一下. 首先CR for VS2010的所有东 ...
- Crystal Reports 2008(水晶报表) 第一个报表
学习Craystal Reports 2008的时候,光看说明文档,很多东西看了就忘了. 我在看文档的时候,是跟着文档上面来做的. 这样边看边做,效果还不错哈 下面就是我的第一个demo 先看看效果: ...
- Crystal Reports 2008(水晶报表) JDBC连接mysql数据库
在本blog中,主要介绍的是Crystal Reports 2008使用JDBC连接mysql数据库. 在连接之间,首先要确认你电脑上面都安装了mysql数据库. 其次,就是jdbc连接数据时候所使用 ...
- Crystal Reports 2008(水晶报表) 启动时检查更新
在安装好了Crystal Reports后,每次打开的是都会出现以下提示: 服务器正在运行中 由于另一个程序正在运行中,此操作无法完成.请选择“切换到”来激活正在运行中的程序,并更正问题. 碰到这样的 ...
- Crystal Reports 2008(水晶报表) 安装
这篇blog主要是介绍Crystal Reports2008(水晶报表)的安装. 首先我们应该知道Crystal Reports 有什么作用? 从这里Crystal Reports 你可以了解到它的一 ...
- Crystal Reports课程01-连接SQL Sever数据库
选择[OLE DB(ADO)] 选择[microsoft DB provider for SQL Sever],点击[下一步] 填写连接的服务器,数据库,用户名,密码等信息,然后点击[下一步] 选择[ ...
随机推荐
- 7.1 Java中的堆和栈
栈与堆都是Java用来在Ram中存放数据的地方.Java自动管理栈和堆,程序员不能直接地设置栈或堆. Java的堆是一个运行时数据区,类的对象从中分配空间.这些对象通过new.newarray.ane ...
- Java中long类型直接赋值大数字 注意事项
在java中,我们都知道有八种基本数据类型:byte. char. short .int. long. float. double .boolean 下面列出以下四种数据类型及其取值范围: 本文主要讲 ...
- Cocos2d-x Application Wizard for Visual Studio User Guide
0. Overview Cocos2d-x-win32's project can be generated by Wizard. Wizard supports Visual Studio 2008 ...
- java基础知识分析: final , finally,finalize
final final-修饰符(关键字)如果一个类被声明为final,意味着它不能再派生出新的子类,不能作为父类被继承.因此一个类不能既被声明为 abstract的,又被声明为final的.将变量或方 ...
- javascript --- 继承初探七日谈 (一)
原型链是javascript实现继承的默认方式.下面来一个例子看一下她的魔法吧: 首先定义三个构造函数: function her(){ this.name = 'Anna'; this.toStri ...
- Unity3D引用dll打包发布的问题及解决
今年我们开始使用Unity3D开发MMORPG,脚本语言使用C#,这样我们就可以使用以往积累的许多类库.但是,在U3D中使用.NET dll的过程并不是那么顺利,比如我们今天遇到的这种问题. 一.问题 ...
- [异常] VC6.0 error LNK2001: unresolved external symbol _main解决办法
来自:http://www.douban.com/note/65638800/ 学习VC++时经常会遇到链接错误LNK2001,该错误非常讨厌,因为对于编程者来说,最好改的错误莫过于编译错误,而一般说 ...
- ybutton 高端大气上档次华丽的按钮特效
小菜偶然在某网站中看到一款非常华丽的按钮特效,感觉十分有必要抄袭下来,以备日后使用. 简单描述一下按钮的效果:鼠标移到按钮上的时候,会出现灯光闪过的效果,非常的高端. 但遗憾的,这么牛逼的效果,仅仅兼 ...
- 基本hibernate DEMO
Hibernate常用API: 1Configuration: 负责加载主配置文件信息,同时也加载映射关系文件信息. 2SessionFactory 负责创建Session对象. 3Session 数 ...
- Install wget for mac
Download: http://ftp.gnu.org/gnu/wget/ Unpack: tar zxvf wget-1.16.tar Configuration: ./configure If ...