How to setup a dummy printer for Oracle reports

weixin_38066392 2003-10-01 03:26:37

Sometimes we need to setup dummy printers for whatever reason. It’s for applications in most cases.

To setup a dummy printer you need to setup an interface file and call it anything you wish. In this example it is called unixinterface.


1. Create unixinterface in /etc/lp/interface and type in the following,
    exit 0

    make sure unixinterface is owned by lp and group lp and the file permissions is 755/

2. A printer queue must be registered. To setup a printer called "unixprt" perform the following
   lpadmin -p unixprt -v /dev/null -I any -i /etc/lp/interface/unixinterface -o nobanner

3. Enable printer by
   accept unixprt
   enable unixprt

4. Ensure you have the printer unixprt listed in the Oracle reports uiprint.txt file in the reports home directory <reports home>;/guicommon6/tk60/admin and entry
unixprtostScript:2:Unix statments queue:default.ppd
...全文
26 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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