samba-users August 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] How to use TCP IP print port in samba

[Samba] How to use TCP IP print port in samba

From: Patrick Chalifoux <patrick.chalifoux_at_nospam>
Date: Thu Aug 19 2010 - 18:53:28 GMT
To: <samba@lists.samba.org>

Hello, I use samba as a print server and it work very well, I use cups
and push driver from samba.

But I have some driver (like Canon ImageRunner 5070) that need to talk
directly to the printer to use some feature like ask ID (and validate ID
on the printer) before printing.

So on the printer property, I need to see Port: 10.3.5.1 and
Description: Standard TCP/IP port, instead of Samba Printer Port and
Description: Local Port

I know that is run in Windows, but all my servers use samba.

I found the way in smb.conf with the enumports command = /sript.sh (the
script do echo "10.3.5.1"), but I still have description: Local Port.

It also have the addport command = /script.sh but I doesn't see any
example on the net.

I try to look on samba source code but I found noting I understand.

Anyone have an idea?

============================================
Patrick
Computer Tech at HBO school board

-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba