二维码

[Smart] Smartform中Page protection页面保护的用法

Twilight发表于 2015-02-26 17:12zhongguomao 最后回复于 2017-08-09 11:46 [复制链接] 5788 1

smartform中打印内容通常都是多页,很多需求中都要求:各页面中的内容不允许串页,保持页码格式的简洁美观,这种方法很实用,其实用起来也很简单。

1、T-code: SMARTForms
新建两个Text文本
Page protection 1.jpg
TEXT1输入如下内容:
  1. collage copy

  2. Student who were selected in the campus recruitment please  fill this form and submit it in the college placement office

  3. Name:___________________

  4. Age:____________________

  5. Date of birth:____________________

  6. Father's name:____________________

  7. Mother's name:____________________

  8. pass out from college :____________________

  9. pass out year :____________________

  10. registration number:____________________

  11. selected in the company:____________________

  12. Date of offer letter given:____________________

  13. Date of joining:____________________

  14. work location:____________________

  15. designation :____________________

  16. salary offered :____________________

  17. Temporary employee no:____________________
复制代码

TEXT2输入如下内容:
  1. company copy

  2. Student who were selected in the campus recruitment please  fill this form, keep it safe and submit it in the respective
  3. companies  at the time of joining

  4. Name:___________________

  5. Age:____________________

  6. Date of birth:____________________

  7. Father's name:____________________

  8. Mother's name:____________________

  9. pass out from college :____________________

  10. pass out year :____________________

  11. registration number:____________________

  12. selected in the company:____________________

  13. Date of offer letter given:____________________

  14. Date of joining:____________________

  15. work location:____________________

  16. designation :____________________

  17. salary offered :____________________

  18. Temporary employee no:____________________
复制代码


2、测试执行效果:
Page protection 2.jpg
Page protection 3.jpg
发现有串页现象,第二页的内容,上串到第一页中了

3、Page protection页面保护
Page protection 4.jpg
%TEXT2-->output options 勾选Page protection

4、再次测试
Page protection 5.jpg
第二页的内容被保护起来了,不会被分到不同页面了。

PS:实战中通常不会这么简单,我们可以新建一个Folder文件夹,将需要保护的内容放到此文件夹下,将Folder的Page protection钩子选上
回复

使用道具 举报

zhongguomao
这个串页的例子暂时没有用到过。
回复 支持 反对

使用道具 举报

快速回帖

本版积分规则
您需要登录后才可以回帖 登录 | 注册有礼

快速回复 返回顶部 返回列表