ABAP PRINT PDF FILE

在SAP中打印PDF文件时,可以使用SAP_PDF_VIEWER_DEMO程序的'PRINT'方法,或者通过GUI_EXECUTE调用Acrobat Reader的/p选项。然而,这可能会导致PDF按本地PC的打印机设置而非SAP打印队列的顺序打印。讨论还涉及了通过CL_GUI_FRONTEND_SERVICES=>EXECUTE方法直接打印PDF的问题,该方法会导致PDF打开并等待用户关闭。另外,建议使用OLE方法处理Excel和Word文件的打印,并提到了DOS命令来从SAP打印文件的相关资源。
摘要由CSDN通过智能技术生成

 

 

 

http://www.sapfans.com/forums/viewtopic.php?f=13&t=324672

 

Have a look at program SAP_PDF_VIEWER_DEMO. This has a 'PRINT' method.

If you don't want to go to all the trouble of using the PDF viewer you can always use GUI_EXECUTE to run Acrobat with a /p option.

However, if you are trying to do what I was which is to print a sequence of documents note that the print spooler used is the local pc's spooler rather than the SAP Spooler so your PDF can be printed at any time and not neccesarily in the sequence that you send the prints from SAP. It could also be printed on a totally different printer dependant on the users printer settings.

 

-----------------------------------------------------

I have a PDF file in "C:/".
printed pdf file using cl_gui_frontend_se

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值