This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 
                    система_печати_freebsd [2009/03/06 13:23] val created  | 
                
                    система_печати_freebsd [2013/05/22 13:50] (current) | 
            ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| </code> | </code> | ||
| - | ===== Печать из Unix на Unix принтере ===== | + | ===== Печать из Unix на Unix принт-сервере ===== | 
| ==== Настройка сервера печати ==== | ==== Настройка сервера печати ==== | ||
| Line 74: | Line 74: | ||
| [gX:~] # lpr /etc/rc.conf | [gX:~] # lpr /etc/rc.conf | ||
| </code> | </code> | ||
| + | |||
| + | ===== Печать из Windows на Unix принт-сервере ===== | ||
| + | ==== Настройка сервера печати ==== | ||
| + | Добавляем к конфигурации сервера печати: | ||
| + | <code> | ||
| + | [gX:~] # cat /usr/local/etc/smb.conf | ||
| + | [global] | ||
| + | ... | ||
| + | printcap name = /etc/printcap | ||
| + | printing = bsd | ||
| + | ... | ||
| + | [lp] | ||
| + | path = /tmp | ||
| + | printable = Yes | ||
| + | print command = lpr -r %s | ||
| + | use client driver = Yes | ||
| + | </code> | ||
| + | |||
| + | ===== Печать из Unix на Windows принт-сервере ===== | ||
| + | <code> | ||
| + | [gX:~] # pkg_info | grep 'cups\|samba\|ghost' | ||
| + | cups-base-1.3.9_2  Common UNIX Printing System | ||
| + | cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS printers | ||
| + | cups-smb-backend-1.0_2 A CUPS backend for printing to Windows servers | ||
| + | ghostscript8-nox11-8.62_5 Ghostscript 8.x PostScript interpreter | ||
| + | gutenprint-cups-5.1.7_3 GutenPrint Printer Driver | ||
| + | samba-3.0.32_2,1  A free SMB and CIFS client and server for UNIX | ||
| + | |||
| + | [gX:~] # cat /etc/rc.conf | ||
| + | ... | ||
| + | cupsd_enable="YES" | ||
| + | ... | ||
| + | </code> | ||
| + | Далее все через web интерфейс | ||
| + | http://localhost:631 | ||