Create dummy printer

On SCO Openserver we create a so called dummy printer that directs to /dev/null (we use this in our software to purge some stuff).

Now I have SCO UnixWare 7.1.4, but I cannot create a dummy printer. I create the printer exactly as in Openserver by the Printer Manager,

  • Enter spoolname
  • Choose model
  • Device select /dev/null

That last option is not available in SCO UnixWare. When I select Other at the Connection Port and enter the port /dev/null I get an error it says that Missing -U or -v option.

Someone there to tell me how to create this dummy printer?

I haven't looked at unixware in years but I'll give it a try.

Can you make a real printer to say, /dev/lp? If you can, then can you change the device by hand? For example, under OpenServer 6.0 (which is built on unixware) when you create a local printer the device is defined in:

/var/spool/lp/admins/lp/printers/[printer-name]/configuration

You can edit the file and change the /dev/lp to /dev/null.

Hope this is applicable and helps.

Cheers.