Using samba 3.05 and the point and print features how does one setup tcp/ip ports for printing. After having loaded the print drivers using the APW all the printer ports show a local port on the samba server and all of my printers use a 192.168.10.X address. Is there anyway this can automatically happen without user intervention. I wasn't able to locate this info in the how to's. Thanks Douglas Sterner
I'm making progress but samba doesn't seem to hand off printing to cups. I used ldadmin to create my tcp/ip printing shares and I from xwindows i can print a test page but not from an xp client. Douglas Sterner
Using samba 3.05 and cups for raw printing does anyone know why i'm 
getting this when i print from an xp client. All i'm trying to do is get 
point and print printing working in raw cups mode.
Thanks
Samba version 3.0.5
PID     Username      Group         Machine
-------------------------------------------------------------------
23087   root          10000         chpaw-test   (192.168.10.199)
 
Service      pid     machine       Connected at
-------------------------------------------------------
print$       23087   chpaw-test    Tue Aug 17 15:09:58 2004
scans        23087   chpaw-test    Tue Aug 17 14:42:06 2004
IPC$         23087   chpaw-test    Tue Aug 17 12:39:46 2004
Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2UZ.ZIP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2F0.DFM   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2D$.INI   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2TH.HLP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.HLP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.ALL   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.CNT   Tue Aug 17 15:09:58 2004
 
[root@chpas-lansrvr samba]#
[global]
        workgroup = ARNOLD
        log file = /var/log/samba/%U.log
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192
        printcap name = cups
        printer admin = dsterner
        guest ok = Yes
        printing = cups
        cups options = raw
        print command = /usr/bin/lp -d '%p' %s; rm %s
        lpq command = /usr/bin/lpstat -o '%p'
        lprm command = /usr/bin/cancel '%p-%j'
        lppause command = lp -i '%p-%j' -H hold
        lpresume command = lp -i '%p-%j' -H resume
        queuepause command = /usr/bin/disable '%p'
        queueresume command = /usr/bin/enable '%p'
[printers]
        comment = CHPA - Complete printer share
        path = /var/spool/samba
        printer admin = @ntadmin, root, dsterner
        printable = Yes
        browseable = No
[print$]
        comment = Printer Driver Download Area
        path = /data/samba/drivers
        write list = @ntadmin, root, dsterner
[CH-5300N]
        comment = CH Dispatch Dell 5300N Laser Jet
        path = /var/spool/samba/dell5300n
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        guest ok = Yes
        printable = Yes
        printer name = CH Dispatch Dell 5300N Laser Jet
[CH-1600N-1]
        comment = CH Maintenance Dell 1600N Laser Jet
        path = var/spool/samba/dell1600N-1
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        printable = Yes
        printer name = CH Maintenance Dell 1600N Laser Jet
[CH-1600N-2]
        comment = CH MIS Dell 1600N Laser Jet
        path = var/spool/samba/dell1600N-2
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        printable = Yes
        printer name = CH MIS Dell 1600N Laser Jet
Douglas Sterner
Using samba 3.05 and cups for raw printing does anyone know why I'm 
getting this when i print from an xp client. All I'm trying to do is get 
point and print printing working in raw cups mode. Using the print manager 
I can print a successful test page but not from the client.
Thanks
Samba version 3.0.5
PID     Username      Group         Machine
-------------------------------------------------------------------
23087   root          10000         chpaw-test   (192.168.10.199)
 
Service      pid     machine       Connected at
-------------------------------------------------------
print$       23087   chpaw-test    Tue Aug 17 15:09:58 2004
scans        23087   chpaw-test    Tue Aug 17 14:42:06 2004
IPC$         23087   chpaw-test    Tue Aug 17 12:39:46 2004
Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2UZ.ZIP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2F0.DFM   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2D$.INI   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2TH.HLP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.HLP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.ALL   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.CNT   Tue Aug 17 15:09:58 2004
 
[root@chpas-lansrvr samba]#
[global]
        workgroup = workgroup
        log file = /var/log/samba/%U.log
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192
        printcap name = cups
        printer admin = auser
        guest ok = Yes
        printing = cups
        cups options = raw
        print command = /usr/bin/lp -d '%p' %s; rm %s
        lpq command = /usr/bin/lpstat -o '%p'
        lprm command = /usr/bin/cancel '%p-%j'
        lppause command = lp -i '%p-%j' -H hold
        lpresume command = lp -i '%p-%j' -H resume
        queuepause command = /usr/bin/disable '%p'
        queueresume command = /usr/bin/enable '%p'
[printers]
        comment = CHPA - Complete printer share
        path = /var/spool/samba
        printer admin = @ntadmin, root, auser
        printable = Yes
        browseable = No
[print$]
        comment = Printer Driver Download Area
        path = /data/samba/drivers
        write list = @ntadmin, root, auser
[CH-5300N]
        comment = CH Dispatch Dell 5300N Laser Jet
        path = /var/spool/samba/dell5300n
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        guest ok = Yes
        printable = Yes
        printer name = CH Dispatch Dell 5300N Laser Jet
[CH-1600N-1]
        comment = CH Maintenance Dell 1600N Laser Jet
        path = var/spool/samba/dell1600N-1
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        printable = Yes
        printer name = CH Maintenance Dell 1600N Laser Jet
[CH-1600N-2]
        comment = CH MIS Dell 1600N Laser Jet
        path = var/spool/samba/dell1600N-2
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        printable = Yes
        printer name = CH MIS Dell 1600N Laser Jet
Douglas Sterner
Using samba 3.05 and cups for raw printing does anyone know why I'm getting
this when I print from an xp client. All I'm trying to do is get point and
print printing working in raw cups mode. Using the print manager I can print
a successful test page but not from the client. Does anyone have any
suggestions.
Thanks
Samba version 3.0.5
PID     Username      Group         Machine
-------------------------------------------------------------------
23087   root          10000         chpaw-test   (192.168.10.199)
 
Service      pid     machine       Connected at
-------------------------------------------------------
print$       23087   chpaw-test    Tue Aug 17 15:09:58 2004
scans        23087   chpaw-test    Tue Aug 17 14:42:06 2004
IPC$         23087   chpaw-test    Tue Aug 17 12:39:46 2004
Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2UZ.ZIP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2F0.DFM   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2D$.INI   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2TH.HLP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.HLP   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.ALL   Tue Aug 17 15:09:58 2004
23087  DENY_WRITE 0x20089     RDONLY     EXCLUSIVE+BATCH 
/data/samba/drivers/W32X86/3/DKAAJ2DA.CNT   Tue Aug 17 15:09:58 2004
 
[root@chpas-lansrvr samba]#
[global]
        workgroup = workgroup
        log file = /var/log/samba/%U.log
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192
        printcap name = cups
        printer admin = auser
        guest ok = Yes
        printing = cups
        cups options = raw
        print command = /usr/bin/lp -d '%p' %s; rm %s
        lpq command = /usr/bin/lpstat -o '%p'
        lprm command = /usr/bin/cancel '%p-%j'
        lppause command = lp -i '%p-%j' -H hold
        lpresume command = lp -i '%p-%j' -H resume
        queuepause command = /usr/bin/disable '%p'
        queueresume command = /usr/bin/enable '%p'
[printers]
        comment = CHPA - Complete printer share
        path = /var/spool/samba
        printer admin = @ntadmin, root, auser
        printable = Yes
        browseable = No
[print$]
        comment = Printer Driver Download Area
        path = /data/samba/drivers
        write list = @ntadmin, root, auser
[CH-5300N]
        comment = CH Dispatch Dell 5300N Laser Jet
        path = /var/spool/samba/dell5300n
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        guest ok = Yes
        printable = Yes
        printer name = CH Dispatch Dell 5300N Laser Jet
[CH-1600N-1]
        comment = CH Maintenance Dell 1600N Laser Jet
        path = var/spool/samba/dell1600N-1
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        printable = Yes
        printer name = CH Maintenance Dell 1600N Laser Jet
[CH-1600N-2]
        comment = CH MIS Dell 1600N Laser Jet
        path = var/spool/samba/dell1600N-2
        printer admin = @ntadmin, root
        hosts allow = 192.168.10.
        printable = Yes
        printer name = CH MIS Dell 1600N Laser Jet
Douglas Sterner
Using samba 3.05 and cups for raw printing does anyone know why I'm getting this when I print from an xp client. All I'm trying to do is get point and print printing working in raw cups mode. Using the print manager I can print a successful test page but not from the client. Does anyone have any suggestions. Thanks Samba version 3.0.5 PID Username Group Machine ------------------------------------------------------------------- 23087 root 10000 chpaw-test (192.168.10.199) Service pid machine Connected at ------------------------------------------------------- print$ 23087 chpaw-test Tue Aug 17 15:09:58 2004 scans 23087 chpaw-test Tue Aug 17 14:42:06 2004 IPC$ 23087 chpaw-test Tue Aug 17 12:39:46 2004 Locked files: Pid DenyMode Access R/W Oplock Name -------------------------------------------------------------- 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2UZ.ZIP Tue Aug 17 15:09:58 2004 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2F0.DFM Tue Aug 17 15:09:58 2004 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2D$.INI Tue Aug 17 15:09:58 2004 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2TH.HLP Tue Aug 17 15:09:58 2004 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2DA.HLP Tue Aug 17 15:09:58 2004 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2DA.ALL Tue Aug 17 15:09:58 2004 23087 DENY_WRITE 0x20089 RDONLY EXCLUSIVE+BATCH /data/samba/drivers/W32X86/3/DKAAJ2DA.CNT Tue Aug 17 15:09:58 2004 [root@chpas-lansrvr samba]# [global] workgroup = workgroup log file = /var/log/samba/%U.log max log size = 1000 socket options = TCP_NODELAY SO_RCVBUF=8192 printcap name = cups printer admin = auser guest ok = Yes printing = cups cups options = raw print command = /usr/bin/lp -d '%p' %s; rm %s lpq command = /usr/bin/lpstat -o '%p' lprm command = /usr/bin/cancel '%p-%j' lppause command = lp -i '%p-%j' -H hold lpresume command = lp -i '%p-%j' -H resume queuepause command = /usr/bin/disable '%p' queueresume command = /usr/bin/enable '%p' [printers] comment = CHPA - Complete printer share path = /var/spool/samba printer admin = @ntadmin, root, auser printable = Yes browseable = No [print$] comment = Printer Driver Download Area path = /data/samba/drivers write list = @ntadmin, root, auser [CH-5300N] comment = CH Dispatch Dell 5300N Laser Jet path = /var/spool/samba/dell5300n printer admin = @ntadmin, root hosts allow = 192.168.10. guest ok = Yes printable = Yes printer name = CH Dispatch Dell 5300N Laser Jet [CH-1600N-1] comment = CH Maintenance Dell 1600N Laser Jet path = var/spool/samba/dell1600N-1 printer admin = @ntadmin, root hosts allow = 192.168.10. printable = Yes printer name = CH Maintenance Dell 1600N Laser Jet [CH-1600N-2] comment = CH MIS Dell 1600N Laser Jet path = var/spool/samba/dell1600N-2 printer admin = @ntadmin, root hosts allow = 192.168.10. printable = Yes printer name = CH MIS Dell 1600N Laser Jet Douglas Sterner
Using Samba 3.05 and cups I'm having some trouble getting documents to 
print thru CUPS in raw mode. Documents print fine from the server but not 
from an XP client. When I used  the following print 
command statement for troubleshooting the job is getting to the Samba 
server spool directory for that printer. The CUPS admin page never sees 
the job and no errors are given. Everything looks like it has printed just 
nothing comes out of the printer. When I print a test page from the server 
it prints and the job shows up in cups. 
print command = cp %s /var/spool/samba/dell5300n/testprint.prn 
Question 1: What is a print command to use for raw printing thru cups 
Question 2: What are the correct permissions user/group for the 
/var/spool/samba/dell5300n  spool directory. 
[global] 
 
        server string = Camp Hill File/Print Server 
        printcap name = cups 
        printer admin = dsterner 
        guest ok = Yes 
        printing = cups 
        cups options = raw 
        print command = /usr/bin/lpr -d%p %s 
# print command = /usr/bin/lp -c -d%p -oraw 
# print command = cp  %s /var/spool/samba/dell5300n/testprint.prn 
        lpq command = /usr/bin/lpstat -o '%p' 
        lprm command = /usr/bin/cancel '%p-%j' 
        lppause command = /usr/bin/lp -i '%p-%j' -H hold 
        lpresume command = /usr/bin/lp -i '%p-%j' -H resume 
        queuepause command = /usr/bin/disable '%p' 
        queueresume command = /usr/bin/enable '%p' 
[printers] 
        comment = CHPA - Complete printer share 
        path = /var/spool/samba 
        printer admin = @ntadmin, root, dsterner 
        printable = Yes 
        browseable = No 
[print$] 
        comment = Printer Driver Download Area 
        path = /data/samba/drivers 
        write list = @ntadmin, root, dsterner 
        guest ok = Yes 
[scans] 
        comment = Scanned documents from the Dell 1600N Printers 
        path = /data/samba/shared/printer-scans 
        read only = No 
        force create mode = 0755 
        force directory mode = 0755 
[CH-5300N] 
        comment = CH Operations Dell 5300N Laser Jet 
        path = /var/spool/samba/dell5300n 
        printer admin = @ntadmin, root 
        hosts allow = 192.168.10. 
        guest ok = Yes 
        printable = Yes 
        printer name = CH Operations Dell 5300N Laser Jet 
Douglas Sterner
As suggested I am in the process of updating to Samba 3.06 I added things to my spec file including --enable-cups\ and it died building the rpm with the following error. NO cups-config make sure you have the development libraries installed? Does this mean on RH 3 cups really isn't being used even though the packages are loaded. When I run "ldd smbd | grep cups" I get the no such file error Douglas Sterner
Well upgrading to 3.06 did not fix any of my issues with printing from the client. Once again I can print from the server cups see's the job and logs it the client can't print at all. No errors no messages. Any more ideas. This errored out ldd smbd | grep cups This did nothing su <user who cannot print> cd <spooldir of the printer> touch test Douglas Sterner