免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234下一页
最近访问板块 发新帖
查看: 7173 | 回复: 31
打印 上一主题 下一主题

求助:怎样在打印文件中划表格? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-22 11:21 |只看该作者 |倒序浏览
横线懂的划,可是竖线不知道怎么划,请大家帮忙,谢谢

论坛徽章:
0
2 [报告]
发表于 2004-10-22 19:31 |只看该作者

求助:怎样在打印文件中划表格?

用"|"不就好了.

论坛徽章:
0
3 [报告]
发表于 2004-10-25 10:06 |只看该作者

求助:怎样在打印文件中划表格?

用apw画吧!
DRAW(1  6  2   6  87)
DRAW(1  7  2   7  87)
DRAW(1  9  7   9  87)
DRAW(1 11  7  11  87)
DRAW(1 13  2  13  87)
DRAW(1 18  2  18  87)

论坛徽章:
0
4 [报告]
发表于 2004-10-25 11:01 |只看该作者

求助:怎样在打印文件中划表格?

先谢谢楼上两位。
不知draw怎么用啊,是在打印文件中的record keyword中定义吗?
draw中的几个参数代表什么

论坛徽章:
0
5 [报告]
发表于 2004-10-25 17:26 |只看该作者

求助:怎样在打印文件中划表格?

写好画线文件在cl中调用
MRGAPW     FORMD(画线文件名) FILE(QAPWSRC) SPLF(打印文件名)
参数解释
(线的类型 起点的行 起点的列 终点的行 终点的列)
yangliang 该用户已被删除
6 [报告]
发表于 2004-10-26 08:19 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
yangliang 该用户已被删除
7 [报告]
发表于 2004-10-26 08:30 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
yangliang 该用户已被删除
8 [报告]
发表于 2004-10-26 08:37 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
9 [报告]
发表于 2004-10-26 10:28 |只看该作者

求助:怎样在打印文件中划表格?

MRGAPW这个命令有几个参数很重要。


  1. Merge Form Description (MRGAPW)                        
  2.                                                                                 
  3. Type choices, press Enter.                                                     
  4.                                                                                 
  5. Form description . . . . . . . .   *SELECT       Name, *NONE, *SELECT         
  6. Form description file  . . . . .                 Name                          
  7.    Library  . . . . . . . . . . .     *LIBL       Name, *LIBL, *CURLIB         
  8. Spooled file . . . . . . . . . .   *NONE         Name, *NONE                  
  9. Job  . . . . . . . . . . . . . .   *             Name, *                       
  10.    User . . . . . . . . . . . . .                 Name                          
  11.    Number . . . . . . . . . . . .                 000000-999999                 
  12. Spooled file number  . . . . . .   *LAST         1-999999, *LAST, *ONLY, *ANY  
  13. Job system name  . . . . . . . .   *ONLY         Name, *ONLY, *CURRENT, *ANY   
  14. Spooled file created:                                                         
  15.    Creation date  . . . . . . . .   *ONLY         Date, *ONLY, *LAST            
  16.    Creation time  . . . . . . . .                 Time, *ONLY, *LAST            
  17. Starting page  . . . . . . . . .   1             1-99999                       
  18. Number of copies . . . . . . . .   1             1-99                          
  19. Output device  . . . . . . . . .   *FILE         Name, *FILE, *JOB, *SYSVAL   
  20. Spool output . . . . . . . . . .   *YES          *YES, *NO                     
  21. Output queue . . . . . . . . . .   *FILE         Name, *FILE, *JOB, *DEV      
  22.    Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB         
  23. Form type  . . . . . . . . . . .   *FILE         Character value, *FILE        
  24. Spool output file  . . . . . . .   *FRMD         Name, *FRMD                  
  25. Schedule . . . . . . . . . . . .   *FILE         *FILE, *JOBEND, *FILEEND...   
  26. Job description  . . . . . . . .   *NONE         Name, *NONE                  
  27.    Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB         
  28. Device type  . . . . . . . . . .   *SCS          *SCS, *PAGES, *AFPDS         
  29.                                                                               
  30.                                                                                 
  31.                                                                          Bottom
  32. F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display   
  33. F24=More keys                                                                  

复制代码


看看HELP吧~~~


  1. Merge Form Description (MRGAPW) - Help                     
  2.                                                                                 
  3.      The Merge Form Description (MRGAPW) command allows you to merge            
  4.      spooled data with your form description for printing desired form.         
  5.                                                                                 
  6. Form description (FORMD)                                                      
  7.                                                                                 
  8.      Specifies the name of the form description to be merged.                  
  9.                                                                                 
  10.      *SELECT                                                                    
  11.          Displays a list of form descriptions in the file specified in         
  12.          the FILE parameter. You can select the form description to be         
  13.          used for merging from the list.                                       
  14.                                                                                 
  15.      *NONE                                                                     
  16.          No form description is used. In this case, APW transfers only         
  17.          user data to the printer.                                             
  18.                                                                                 
  19.      form-description-name                                                      
  20.          Specifies the name of the form description to be merged.     
  21.              Merge Form Description (MRGAPW) - Help                     
  22.                                                                                 
  23. Form description file (FILE)                                                   
  24.                                                                                 
  25.      Specifies the names of the physical file and library that containing      
  26.      the form description to be merged.                                         
  27.                                                                                 
  28.      The possible library values are:                                          
  29.                                                                                 
  30.      *LIBL                                                                     
  31.          The library list is used to locate the file.                           
  32.                                                                                 
  33.      *CURLIB                                                                    
  34.          The current library for the job is used to locate the file.            
  35.                                                                                 
  36.      library-name                                                               
  37.          Specifies the name of the library where the file is located.           
  38.                                                                                 
  39. Spooled file (SPLF)                                                      
  40.                                                                               
  41.      Specifies the spooled file containing the user data to be printed on      
  42.      the printer.                                                               
  43.                                                                                 
  44.      *NONE                                                                     
  45.          No spooled file is to be used during form description merge.           
  46.                                                                                 
  47.      spooled-file-name                                                         
  48.          Specifies the name of the spooled file containing the user data        
  49.          to be printed on the printer.                                          
  50.                                                                                 

复制代码

论坛徽章:
0
10 [报告]
发表于 2004-10-28 12:17 |只看该作者

求助:怎样在打印文件中划表格?

不好意思,我很菜啊,能不能说清楚点
怎么在cl中调用,还有apw文件是什么啊
能不能写一个简单的cl和apw看看
还有就是系统提示没有MRGAPW这个命令啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP