> Saya tidak tahu RH9.0 pakai apa system printernya, biasanya sih LPR [lpd], bukan 
> cups [cupsd].

> Mungkin di smb.conf nya ganti 'printing = cups' dan 'printcap name = cups' dengan 
> 'printing = 'bsd' dan 'printcap name = /etc/printcap'



> yaya



sudah saya coba, tapi masih nggak jalan, selengkapnya smb.conf saya:



[global]
        workgroup = SMB
        netbios name = JLMSERVERL
        server string = JLM Samba Server
        encrypt passwords = Yes
        update encrypted = Yes
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n
        unix password sync = Yes
        log level = 3
        log file = /var/log/samba/%m.log
        max log size = 1000
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/sbin/useradd -d /dev/null -s /bin/false -M %u
        logon script = logon.cmd
        logon path = \\%N\profiles\%u
        logon drive = N:
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        load printer = Yes
        printing = cups
        printcap name = cups

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0644
        browseable = No

[doc]
        path = /usr/share/doc
        guest ok = Yes

[cdrom]
        path = /mnt/cdrom
        guest ok = Yes

[netlogon]
        path = /etc/samba/netlogon
        write list = ntadmin

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
        guest ok = Yes
        public = yes
        writeable = no
        printer admin = root
#        print command = lpr-cups -P %p -o raw %s -r
#        print command = lpr-cups -P %p %s -r


[print$]
         comment = Printer Drivers
         path = /etc/samba/drivers
         browseable = yes
         guest ok = no
         read only = yes
         write list = root


[data]
        path = /home/jlm
        read only = No
        create mask = 0777
        directory mask = 0777
        guest ok = Yes


thanks



Gladies







-----Original Message-----
From: Gladies S. [mailto:[EMAIL PROTECTED] 
Sent: 24 Juli 2003 10:48
To: Yaya
Subject: Re: [linux-admin] Mohon bantuan, Urgent : soal printer lagi nih



>Tambahkan baris berikut [salah satu, yang sesuai dg samba Anda] di bawah share 
>[printers]



>   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers. 

>   print command = lpr-cups -P %p %s -r # using cups own drivers (use generic 
> PostScript on clients).



> yaya





saya udah tambahin command di atas, tapi pas saya restart sambanya di log ( 
/var/log/message ) ada tulisan spt ini

      Jul 24 09:49:53 jlmserverL kernel: Device not ready.  Make sure there is a disc 
in the drive.





sebagai informasi, printer saya sudah jalan di server (RH 9.0) pake HP Deskjet 1220c, 
waktu setting printer awal saya pake Rehdat

print manager. Saya nggak tau itu pake cups atau lpd



yang jelas printer jalan terus konfigurasi di cups.conf seperti  ini



## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 10.0.0.56

#Encryption Required
</Location>

#
# End of "$Id: cupsd.conf.in,v 1.8 2002/12/13 16:23:54 mike Exp $".
#
<Location /printers/printer-SERVER>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 10.0.0.56
AuthType None
Allow from All
</Location>
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1



dan konfigurasi di printer.conf nya spt ini



<DefaultPrinter printer-SERVER>
Info Created by redhat-config-printer 0.6.x
DeviceURI parallel:/dev/lp0
Location
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

mohon pencerahannya. 

terima kasih.



Agus






Kirim email ke