随笔 - 1330  文章 - 1  评论 - 378  阅读 - 482万 

配置要求:
1、服务器必须是windows系统
因为本插件必须能将doc、xls、docx、ppt、txt、pdf等等文档打开才可以,因为这些文档只支持windows系统,所有必须服务器是windows系统,而且必须安装office和pdf阅读器。
2、php必须支持exe函数调用(因为首先要将文档打开然后打印成flash格式)
3、服务器必须支持虚拟打印功能
4、服务内存需要足够大,因为打印的时候要占用原有的内存(建议最低为2-4G);

满足上述服务器配置条件,才能支持在线文档插件。豆丁网几乎和上述配置一样。

这里为啥要征求大家意见:
1、一方面目前本插件在本服务器上测试OK,因为他只是在编辑器上添加一个调用按钮,尚未与论坛程序完全整合,也就是说他的原理为,在编辑器上添加一个在线文档按钮,然后跳出一个单文件上传系统,上传完成后,自动调用打印程序,打印完成后将flash的地址通过媒体标签的形式传递到输入框,编辑帖子完成后即显示文档flash
2、由于上述原理,如果真正的想和论坛程序深度整合的话,必须重写代码(与论坛的附件上传整合到一起)
3、由于服务器配置的局限性,可能需求的不多,所以,想征求大家意见


有谁知道FlashPaper?word to htm有问题要请教高手们
http://bbs.blueidea.com/thread-2781866-1-1.html
我有一些DOC文档要放在网上,但有特殊的格式,不能直接转换成HTML,用FlashPaper转换成SWF后,由于有Macromedia的LOGO及打印,放大,文本选择等一些工具,不能很好的保护文档,因此,想去掉LOGO及打印,放大,文本选择等工具,也知道FlashPaper的控制函数,但由于小可实在太菜,也不知道怎么用,请DX多指教。
另,有没有好的办法,将SWF嵌入HTML后,通过编辑HTML来调用FlashPaper的控制函数来实现打印,放大,文本选择等按钮的打开和关闭?
万分感谢。

现在我用的是FlashPaper2.0,有一个插件可以控制,但是就是不知道怎么用。
FlashPaper2.0:http://www.onlinedown.net/soft/35842.htm
插件:http://www.digitalflipbook.com/a ... ashpaper_comp_4.php
请高手回答,在此谢过。

这里有一篇文章好像也能实现,有4页,但我还是没有弄明白,有谁能译一下就好了
http://www.adobe.com/devnet/flas ... mport_flpaper2.html

基本能实现控制按的打开和关闭了,引用http://www.adobe.com/devnet/flas ... mport_flpaper2.html上面的方面。但是新的问题出来了,由于只是生成一个新的SWF,引用以前的SWF,新的SWF不能单独运行,如果单独运行就只能是一个空白文档。所以,有没有好的办法能直接对原始的SWF进行控制,或者能否实现新生成的新的SWF中本身就包含原始的SWF,而不仅仅是引用,有没有办法实现?请DX们指教。
举个例子:
我有一个原始的用FLASFHPAPER生成的SWF:FLASHPAPER.swf,按http://www.adobe.com/devnet/flas ... mport_flpaper2.html的方法处理后,去掉打印,文本选择等按钮后,生成一个新的SWF文件:FLASHPAPER-1.swf,但新生成的文件很小,没有包含原始的FLASHPAPER.swf,而仅仅只是引用。因此新生成的FLASHPAPER-1.swf不能独立运行,必须是FLASHPAPER.swf和FLASHPAPER-1.swf在一起时才能运行FLASHPAPER-1.swf。现在的问题是怎么实现新生成的FLASHPAPER-1.swf能独立的运行,就是说新生产的FLASHPAPER-1.swf文档要包含原始的FLASHPAPER.swf,而不仅仅是引用。
求助各位DX了。

这个问题已经彻底解决,现在可以对SWF进行修改,就是对FLASHPAPER的默认转换模板进行修改,然后控制打印,文本复制等功能。对SWF进行反编译,处理后解决。
现在用FLASHPAPER处理出来的DOC文档,不再会有打印,文本复制,等功能,只可看,只可浏览。利用在网页中的禁止保存、禁止打印、禁止右键等代码,较好的实现了文档的保护。

FlashPaper修改很容易,我这里都有现成修改好的 去logo 去工具条,部分工具屏蔽等模版,需要的站内PM

asp.net 调用 FlashPaper如何实现 有权限问题吗
http://topic.csdn.net/u/20081015/12/ef971788-d3e1-45e2-95a4-03565c917f05.html

ASP 调用 flashpaper 失败
1、CMD里执行 I:\I:\FlashPaper\FlashPrinter.exe I:\1.doc -o I:\1.swf 。I盘根目录下成功生成1.swf
期间进程出现了 winword.exe、FlashPrinter.exe 、还有一个macromedia的lisence进程。用户名为ADMINISTRATOR。命令执行完,均自动关闭。

2、而ASP里执行 WshShell.Run("I:\I:\FlashPaper\FlashPrinter.exe I:\1.doc -o I:\1.swf " ,0,true) 网页开始出现反应慢。查看进程只有FlashPrinter.exe和macromedia的lisence进程(用户名均为iwam),未见winword.exe进程。也没有文件生成。

3、用另一款转换工具pdf2swf,通过ASP,生成目标文件成功。

4、怀疑ASP访问时IWAN用户权限不够,于是采用CPAU账户替换工具,把IWAN替换成ADMINISTRATOR。FlashPrinter.exe和macromedia的lisence进程出现,且用户名均为ADMINISTRATOR,但IE报错“应用程序初始化错误”。

5、期间尝试无数次办法:把IWAN、IUSR加入管理组;虚拟打印机加入IWAN、IUSR所有权限,修改组策略等等等...均失败。

请高手解读.......
问题补充:WshShell.Run("I:\FlashPaper\FlashPrinter.exe I:\1.doc -o I:\1.swf " ,0,true),刚才写错了。

另外第四条时,没有文件生成。


命令行调用FlashPaper Command Line Conversion
FlashPrinter.exe 2008年数据业务中心IT系统现状以及规划汇报080508.ppt -o 200808.swf

Unable to use sample code in php of sdk folder
http://print2flash.com/forum/viewtopic.php?f=4&t=58

Unable to use sample code in php of sdk folder
by jai on Fri Feb 29, 2008 12:39 am

when I use the sample code index.php on my server, then i get an error "Error writing file /hsphere/local/home/akashnig/clickmydocs.com/PHP/uploadedfiles\investm.rtf".

how can I use this sample code in my project on server to convert files. ???

I want to use print2flash in my project, please provide the code for this.............

If any help regarding this....please provide.jai

Posts: 1
Joined: Wed Feb 27, 2008 6:19 am Top
--------------------------------------------------------------------------------

Re: Unable to use sample code in php of sdk folder
by staff on Wed Mar 05, 2008 4:21 am

You need to grant Read and Write permissions to the uploadedfiles and convertedfiles folders for the user under which your web server runs (for IIS it is usually IUSR_xxx) and for the user which credentials you specified in the Print2Flash Service Configuration window.

No, command line does not support URLs. The solution may be writing a program for downloading and saving a page to disk, and then you can convert that page to Flash using Print2Flash command line.


Command Line failed in ASP
http://print2flash.com/forum/viewtopic.php?f=4&t=86

http://www.lynchconsulting.com.au/blog/index.cfm/2007/2/22/Batch-Convert-PDF-files-to-Flash-Paper

asp如何在服务器端调用winzip命令行对上传的多个文件打包--asp编程技术
http://www.fansart.com/cweb/2006516174722.asp

写了2个小时的东东想了两天!PHP上传文件类
http://farflight.blog.sohu.com/53196006.html

js调用可执行性(exe)文件
http://blog.sina.com.cn/s/blog_5ca9fdd80100bdh1.html

liujunpeng的个人空间_列表_PHPChina 开源社区门户 - powered by ..
http://www.phpchina.com/html/23/6123_type_blog_view_track.html

FlashPaper类库
http://yourpalmark.com/downloads/flash/components/FlashPaper_doc.html

FlashPaper组件中文说明

http://www.mediamacros.com/item/item-1006687373/

If it's any help this is the code from my site which opens a document (newsletter).

<p class="smallCtrdTxt">This is a Flash document. You can see some controls just above the document. The control just left of the double arrow will open a new window or tab for full size viewing.</p>
<div class="flashDoc"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0, 19,0" width="100%" height="100" title="August Newsletter">
<param name="movie" value="images/docs/newsletterAugust07.swf" />
<param name="quality" value="high" />
<embed src="images/docs/newsletterAugust07.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="94%" height="670" ></embed>
</object></div>

找人开发
http://forums.adobe.com/thread/170010?tstart=330

http://print2flash.com/

http://space.flash8.net/space/?376578/viewspace-308332.html

php exec FlashPrinter有问题
http://zhidao.baidu.com/question/58766588.html

CMD 运行带参数的程序 WEB调用
http://zhidao.baidu.com/question/129685919.html?si=8


于老師教室討論版:: 觀看文章- FlashPaper 轉換的檔案,如何嵌入於
http://203.208.37.132/search?q=cache:JM280Bxa4moJ:yunol.stes.tc.edu.tw/phpBB2/viewtopic.php%3Fp%3D27422%26sid%3D19c50e3736c5d28bc26ff188850fed12+php+flashpaper+%E4%BB%A3%E7%A0%81&cd=30&hl=zh-CN&ct=clnk&gl=cn&st_usg=ALhdy2_zM4XAz6LykBkw9PqDMznZSy_DYA

如何给Flash Paper生成的SWF文件添加一个弹出窗口按钮? 看这里

 

直接在URL后面加参数:
http://www.dengjie.com/temp/tiger_book.swf?POPUP_ENABLED=true

PHP code
$exstr = "D:\\FlashPaper\\FlashPrinter.exe D:\\11.doc -o D:\\output1.swf";
exec($exstr);


在Flash中用FlashPaper API
http://www.happycampus.cn/docs/959266665903@hc09/154235/

.語法如下:
代碼:
<embed height="993" width="700" quality="high" type="application/x-shockwave-flash" src="http://elesson.tceb.edu.tw/~yunol/FlashPaper_2/Tylopilus_nigropurpureus.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" />

height是文件高度
width是文件寬度
src是文件來源,就是網址路徑
以上三個參數,請根據自己的資料修改。


类库
http://yourpalmark.com/downloads/flash/components/FlashPaper_doc.html

FlashPaper and ASP.NETIs there any way of using FlashPaper in ASP.NET in order to:
1) convert documents (DOC, RTF, etc) into FlashPaper files
2) publish FlashPaper documents in ASPX pages

Thanks in advance.

JK, Chennai

Hi!
i need to convert my docs into .swf file through flashpaper2 by calling .aspx file i.e. i need to know aspx code for flashparer for convert any docs into .swf file. My requirment is that i need to create a webpage through which i can upload any document and it will convert into swf file by flashpaper.
So if any one have solution then plz reply me.


posted on   钱途无梁  阅读(6747)  评论(9编辑  收藏  举报
编辑推荐:
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
历史上的今天:
2009-04-16 C# 生成js文件
2009-04-16 onmousemove与onmouseover区别
点击右上角即可分享
微信分享提示