Uroci.net - !
Adobe Photoshop Adobe Illustrator Adobe Flash Adobe Fireworks DreamWeaver CSS HTML Corel Draw Image Ready PHP SEO CMS Microsoft Windows Microsoft Word Microsoft Excel PowerPoint Microsoft Access Microsoft Publisher Linux
Visual basic JavaScript Ajax 3ds Max Maya 3D C++ Sound Forge Gimp SWiSH

SAMBA Linux

Aleksandrov   :    : 2461


 

 

help, . . smbmount:

 

 

#smbmount \\server514\shared /mnt/smb

 

#smbumount /mnt/smb

 

SMB mount:

 

#mount -t smbfs \\server514\shared /mnt/smb

 

#umount /mnt/smb

 

 

e SMB SMBFS. :

 

 

#cat /proc/filesystems

 

 

, smbfs, . smbclient .

 

 

, Samba . :

 

 

[global]

 

printing = bsd

 

load printers = yes

 

printcap name = /etc/printcap

 

max print jobs = 100

 

[printers]

 

comment = All printers

 

printable = yes

 

path = /var/spool/samba

 

browseable = no

 

guest ok = yes

 

public = yes

 

read only = yes

 

writable = no

 

 

:

 

 

[global]

 

  • printing = bsd Samba BSD . CUPS.

     

  • load printers = yes . /etc/printcap.

     

  • max print jobs = 100 .

     

  • printcap name = /etc/printcap . CUPS .

[printers]

 

  • printable = yes yes, smbd .

     

  • path = /var/spool/samba Samba . .

     

  • browseable = no


CUPS (Common UNIX Print System), printing printcap name cups. CUPS, Samba .

 

 

Windows. :

 

 

  • /etc/printcap ( ..)

     

  • /usr/bin/smbprint. Samba, Samba ( Slackware, smbprint ). - Samba e smbspool.

     

  • ASCII Postscript nenscript, . nenscript Postscript /usr/bin.


/etc/printcap, HP 5MP a Windows 2000. /etc/printcap:

 

 

  • cm

     

  • lp - ,

     

  • sd - spool ( )

     

  • af -

     

  • mx - ( - )

     

  • if - ()


 

# /etc/printcap

 

lp:

 

:cm=HP 5MP Postscript Printer on Server514:

 

:lp=/dev/lp1:

 

:sd=/var/spool/lpd/lp:

 

:af=/var/spool/lpd/lp/acct:

 

:mx#0:

 

:if=/usr/bin/smbprint:

 

 

, , . , 'if' smbprint ( -) , ( /dev).

 

 

smbspool SMB . :

 

 

smbspool {job} {user} {title} {copies} {options} [filename] , :

 

  • job smbspool.

     

  • user smbspool.

     

  • title ,

     

  • copies .

     

  • options . smbspool.

     

  • filename , . Print as file Postscript . KDE Postscript .

: radiations.hit.bg

 


: «1 2 3

,


© . 2006-2008. Created by: Site.bg
: IT | | . | Paparak.bg | | uchenik.com | TRAVEL | | AmAm.bg | . | | AnimeS-bg.com | | | | IT Light | Spodeli.net | - | IDG.BG | Teenproblem.net | - | Fresh-BG.com | Hanovete.com | Bulfleet.com | Mythlands.com | Ohoboho.com | .Com | News24 | Setcom.bg | Atol.bg | Elmaz.com | MobileBulgaria.com