含有jpg格式的数据需要输出到rave打印(系统需要穿过Internet,所以不可以用bmp格式),但好像rave的Bitmap只支持bmp格式。
rave的帮助中提到在TRvSystem的OnDecodeImage事件中用代码转换,但我发现这个事件好像根本不会触发。
rave的帮助中提到在TRvSystem的OnDecodeImage事件中用代码转换,但我发现这个事件好像根本不会触发。
解决方案 »
- 为什么我的线程CPU占用率达到100%啊
- 如何对一个二进制文件进行对比,我用BlockRead读出来,如何对比buf数组中的数据是否一致,代码如下
- 怎样在一个字符串中要找第N个字符
- 当grid中的一列设置为下拉列表以后,如何捕捉选择了下拉列表中的某一行的所触发的事件?
- 问一个语法问题,下面这句VB语言转化为DELPHI应该是什么?请高手作答,谢谢!
- 动态创建使用TOleContainer的方法???
- 一个关于pascal语言的问题
- mscomm控件的问题,感兴趣的有分呀!!!!!!!!!
- 关于DBgrid的问题!!
- delphi 实现指定盘符文件搜索过滤功能
- 如何全选dbgrid的记录呢?
- 国内最全的IP地址库
问题16:打印JPEG法一:在RAVE上增加JPEG控件 Bitmap components can only display bitmaps, not jpegs. You'll need the jpegadd-on that's available from the Nevrona web site,http://www.nevrona.com/rave/addons.shtml. Installation instructions for TRaveJPEGImage--------------------------------------------1: Extract the files in this archive in your Rave main directory(normally d:\RAVE5). Make sure to expand with directories so that the sourcewill be placed in it's own directory.2: Copy the NDCsJPEG.PAS file into the appropriate directory for the versionof Delphi or C++Builder that you are using (for Delphi 6.0 it would normallybe d:\RAVE5\D6).3: Start Rave, go to the preferences dialog (Edit|Preferences), select thePackages tab and add the D:\RAVE5\ND_JPEG.BPL package file to the list ofinstalled package and click OK.法二,程序中控制,具体参照//www.nevrona.com/rave/tips/rvtip31.html
http://search.csdn.net/expert/topic/53/5311/2003/5/6/1743788.htm