Hi, i would like to configure a computer (Linux/SuSE 6.3 i386 connected to a local lan, clients with Win9x) to do the following: whenever an user print a document on a shared printer the document will be printed twice: - once in a printer connected to Linux (through lpr or smbprint?) - once to another shared printer Is this possible? Are there any related documents? Thanks in advance, Mat
[Mat]> whenever an user print a document on a shared printer the document > will be printed twice: > > - once in a printer connected to Linux > (through lpr or smbprint?) > - once to another shared printerPiece of cake. Use an lpd input filter to route the document off using `smbclient' or whatever (see the samba docs for how to use smbclient to print), without changing the file itself. (I.e. the input filter prints out the same file it gets in.) Then let lpd do its normal thing with the document after the input filter is done with it. Alternatively, the input filter can issue two smbclient calls and leave lpd with nothing left to do. That way both printers can be elsewhere on your 'doze network if you wish.... Peter