- 论坛徽章:
- 0
|
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
unixprt ostScript:2:Unix statments queue:default.ppd |
|