FlashPaper2转PDF问题

zhaochanglong 2011-12-21 07:46:24

public void ConvertPdfToSwf(string inFilename, string swfFilename)
{
try
{
//string flashPrinter = Server.MapPath(@"..\..\FlashPaper 2\FlashPrinter.exe");
string flashPrinter = string.Concat(AppDomain.CurrentDomain.BaseDirectory, @"systemInfo\FlashPaper2\FlashPrinter.exe");
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(flashPrinter);
startInfo.Arguments = string.Concat(Server.MapPath(inFilename), " -o ", Server.MapPath(swfFilename));
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo = startInfo;
process.Start();
process.WaitForExit();
process.Close();
}
catch (Exception ex)
{
throw ex;
}
}

文件已经转换成功。。。。但转换成功的swf内容是左倒着的 内容变成竖排的了。。。大侠帮忙啊。。。。
...全文
98 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhaochanglong 2011-12-27
  • 打赏
  • 举报
回复
问题还未处理。。。继续探索 还是接贴吧。。。
zhaochanglong 2011-12-27
  • 打赏
  • 举报
回复
问题还未处理。。。继续探索 还是接贴吧。。。
孟子E章 2011-12-21
  • 打赏
  • 举报
回复
参见
解决FlashPaper转PDF出现旋转问题的方法
http://blog.csdn.net/lizhihai_99/article/details/6191050
zhaochanglong 2011-12-21
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 net_lover 的回复:]

检查你的虚拟打印机FlashPrinter的属性设置
[/Quote]

我检查过 大小是A4 方向是 landscape 但就是不行。。。
孟子E章 2011-12-21
  • 打赏
  • 举报
回复
检查你的虚拟打印机FlashPrinter的属性设置

62,041

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧