简体   繁体   English

Adobe LiveCycle打印到信封

[英]Adobe LiveCycle Print to Envelope

I created a PDF form usuing Adobe LiveCycle 8.2. 我使用Adobe LiveCycle 8.2创建了PDF表单。 The form captures data, after this data is validated (Customer Name, Address, Account Number etc) the usuer prints it, that gets mailed to the customer, printing the detailed report no problem, the problem im having is im trying to figure out a way that after the report is printed an enveloped needs to be printed as well with the info entered in the form. 表单捕获数据,该数据经过验证(客户名称,地址,帐号等)后,用户用它进行打印,然后将其邮寄给客户,打印详细的报告没有问题,我正在试图找出一个问题这样,在打印报告后,还需要打印信封,并在表格中输入信息。 Any one have an idea how to approach/tackle this issue? 有人知道如何解决/解决这个问题吗? Adobe LC has JavaScript and FormCal to extend LiveCycle limitations Adobe LC具有JavaScript和FormCal以扩展LiveCycle限制

flow: 流:
User inputs info into PDF. 用户将信息输入PDF。
user prints PDF. 用户打印PDF。
user copies cust name and address to word doc to print the envelope. 用户将客户名称和地址复制到Word文档以打印信封。
printed PDF and Envelope are mailed to cust. 打印的PDF和信封邮寄给客户。
problem: 问题:
How to print the cust name and address directly to envelope from the PDF without going to word just to print the envelope. 如何直接从PDF中将客户名称和地址直接打印到信封,而不必仅仅为了打印信封而使用word。 Id like the PDF to print the report and the envelope, is this possible? 我希望PDF可以打印报告和信封,这可能吗?

Thanks 谢谢

The best way to handle printing an envelope using the data from your LiveCycle form is to add a separate envelope page to your original form. 使用LiveCycle表单中的数据处理信封的最佳方法是在原始表单中添加单独的信封页面。 Then add a separate print button that will print only this envelope page. 然后添加一个单独的打印按钮,将仅打印该信封页面。 Here are some basic steps on how to accomplish this using LiveCycle Designer: 以下是一些有关如何使用LiveCycle Designer来完成此操作的基本步骤:

1) Create a new Master Page in your original form document. 1)在原始表单文档中创建一个新的母版页。 This Master Page should have the same dimensions as the envelope you wish to print on. 该母版页的尺寸应与要在其上打印的信封的尺寸相同。

2) Create a new Page to your form document that uses the envelope Master Page template. 2)使用信封母版页模板在表单文档中创建一个新页。 In this page add the form fields you wish to print onto your envelope (name, address, city, state, ZIP, etc.) and place them in the proper location for your envelope layout. 在此页面中,将希望打印的表单字段(名称,地址,城市,州,邮政编码等)添加到信封上,并将其放置在信封布局的适当位置。

3) Bind the envelope field values to their related field values on your original form. 3)将信封字段值绑定到原始表单上的相关字段值。

4) Set presence value on your Envelope page to "hidden" 4)将“信封”页面上的状态值设置为“隐藏”

5) Add a new button to your original form page called "Print Envelope" 5)在原始表单页面上添加一个名为“打印信封”的新按钮

6) Add JavaScript to the "Print Envelope" button that performs the following functions: 6)将JavaScript添加到执行以下功能的“打印信封”按钮:

  • Set original form pages presence to "hidden" 将原始表单页面的存在设置为“隐藏”
  • Set envelope page presence to "visible" 将信封页面的状态设置为“可见”
  • Print document 列印文件

7) Add a "postPrint" event for each of your original form pages that will set the page presence property to "visible". 7)为每个原始表单页面添加一个“ postPrint”事件,该事件会将页面状态属性设置为“可见”。 Add a "postPrint" event for your envelop page that will set that page presence to "hidden". 为您的信封页面添加“ postPrint”事件,该事件会将页面状态设置为“隐藏”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM