- 论坛徽章:
- 0
|
Sometimes we need to setup dummy printers for whatever reason. It’s for applications in most cases.\r\n\r\nTo setup a dummy printer you need to setup an interface file and call it anything you wish. In this example it is called unixinterface.\r\n\r\n\r\n1. Create unixinterface in /etc/lp/interface and type in the following,\r\n exit 0\r\n\r\n make sure unixinterface is owned by lp and group lp and the file permissions is 755/\r\n\r\n2. A printer queue must be registered. To setup a printer called \"unixprt\" perform the following \r\n lpadmin -p unixprt -v /dev/null -I any -i /etc/lp/interface/unixinterface -o nobanner\r\n\r\n3. Enable printer by\r\n accept unixprt\r\n enable unixprt\r\n\r\n4. 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 \r\nunixprt ostScript:2:Unix statments queue:default.ppd |
|