ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

debianÏÂÔ¶³Ìwindows´òÓ¡»úµÄÅäÖÃ

·¢²¼Ê±¼ä:2008-01-16 00:40:10À´Ô´:ºìÁª×÷Õß:qtsmy
1¡¢°²×°smb
ÓÉÓÚÒª´ÓLinuxÖй²ÏíWindowsÖеĴòÓ¡»ú£¬ËùÒÔʹÓÃsmbЭÒ飬µ±È»Ò²ÎªÁËʵÏÖÍøÂçÁÚ¾Ó£¬ËùÒÔÓÃrootÉí·Ý×°ÁËsambaºÍsmbclient¡£

ÕâʱװÁËsamba-commonºÍsmbclient

2¡¢°²×°cupsys
aptitude install cupsys

ͬʱװÁËÒ»¶Ñ£¬aptitude install cupsys-*,Èç¹ûÎÞ·¨×Ô¶¯°²×°£¬¿ÉÒÔÊÖ¶¯°²×°.

ÒýÓÃ:
aptitude search cupsys
i A cupsys - Common UNIX Printing System(tm) - server
p cupsys-bsd - Common UNIX Printing System(tm) - BSD comm
i A cupsys-client - Common UNIX Printing System(tm) - client p
i A cupsys-common - Common UNIX Printing System(tm) - common f
p cupsys-dbg - Common UNIX Printing System(tm) - debuggin
p cupsys-driver-gutenprint - printer drivers for CUPS
v libcupsys-dev -
i A libcupsys2 - Common UNIX Printing System(tm) - libs
p libcupsys2-dev - Common UNIX Printing System(tm) - developm


3¡¢°²×°foo2zjs
ÒòΪHP´òÓ¡»ú£¬ËùÒÔҪװÕâ¸öÇý¶¯£¬Í¬Ê±°²×°
foomatic-*

4¡¢¶ÔÓÚhp1000 laserÓÖ×°ÁËhpijs, ijsgimpprint, libijs-0.35

ÒýÓÃ:
aptitude search foo2zjs foomatic hpijs ijsgimpprint libijs-0.35
p foo2zjs - Support for printing to ZjStream-based pri
i A foomatic-db - linuxprinting.org printer support - databa
i A foomatic-db-engine - linuxprinting.org printer support - progra
p foomatic-db-gutenprint - OpenPrinting printer support - database fo
i foomatic-db-hpijs - linuxprinting.org printer support - databa
i A foomatic-filters - linuxprinting.org printer support - filter
i foomatic-filters-ppds - linuxprinting.org printer support - prebui
p foomatic-gui - GNOME interface for configuring the Foomat
p hannah-foo2zjs - Graphical firmware downloader for the foo2
i A hpijs - HP Linux Printing and Imaging - gs IJS dri
i A hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD
p libijs-0.35 - IJS raster image transport protocol: share
p python-foomatic - Python interface to the Foomatic printer d


5¡¢Ìí¼Ó´òÓ¡»ú

×°ÍêÁËÉÏÃæËùÓеĶ«Î÷,Æô¶¯ÍøÂçä¯ÀÀÆ÷£¬ÀýÈçfirefox£¬¼üÈëhttp://localhost:631½øÈëCUPS½çÃ棬½øÈëprinter£¬½øÐÐÅäÖá£

Õâʱ½øÈëÌí¼Ó´òÓ¡»ú½çÃ棬ÓÐ3Ï

µÚÒ»ÊÇName£¬¾ÍÊÇÄãµÄϵͳÖÐÒªÏÔʾµÄ´òÓ¡»úÃû³Æ£¬ÂÒÌîÀ­£¬ÎÒдÁË¡°HPLJ1000¡±£»

µÚ¶þÊÇLocation:¡°smb://guest@ServerIP/hplj1000¡±£» #hplj1000¾ÍÊǹ²ÏíÃû£¬ÎÒÕâÀïΪtest3004.

µÚÈýÊÇDescription£¬´òÓ¡»úµÄ˵Ã÷£¬ÎÒ¾Íд¡°HPLJ1000¼¤¹â´òÓ¡»ú¡±¡£

È»ºóµãContinue°´Å¥£¬½øÈëÑ¡ÔñÉ豸½çÃ棬ÒòΪÎÒÊÇÍøÂçÖÐWindowsϵͳ¹²Ïí³öÀ´µÄ´òÓ¡»ú£¬ËùÒÔÏÂÀ­¿òÑ¡Ôñ×îºóÒ»¸ö¡°Windows Printer via Samba¡±¡£

µãContinue °´Å¥£¬½øÈëURIÉèÖÃÒ³Ã棬ÒòΪÎҵĴòÓ¡»ú¹ÒÔÚÃûΪzgb-1µÄ»ú×ÓÖУ¬¹²ÏíÃûΪhplj1000£¬ËùÒÔÕâÀïÌî¡°smb: //guest@severIP/hplj1000¡±¡£#hplj1000¾ÍÊǹ²ÏíÃû£¬ÎÒÕâÀïΪtest3004.
×¢Ò⣺ÎÒµÄÔ¶³ÌϵͳµÄÊÇwinXP£¬windows´òÓ¡»úÖ§³ÖÄäÃû·ÃÎÊ£¬Òª¼ÓÈëguest·ÃÎÊ£¬·ñÔò¿ÉÄÜÏÔʾunable to connect µÄÐÅÏ¢

µãContinue°´Å¥£¬½øÈëModelÑ¡Ôñ½çÃ棬ûµÄ˵£¬Ò»ÑÛ¿´¼ûHP£¬Ñ¡ÔñËû¡£

µãContinue °´Å¥£¬½øÈëÒ²¾ÍÊÇÎÒÃÇÔÚWindowsÖÐ˵µÄÇý¶¯³ÌÐòÑ¡ÔñÒ³ÃæÁË£¬ÍùÏÂÀ­°¢À­£¬ÖÕÓÚÔÚÔ¼2/3µÄµØ·½¿´¼ûHP LaserJet 1000 Foomatic/foo2zjs (recommended) (en)£¬Ñ¡ÖÐËû¡£µãContinue°´Å¥£¬¸æËßÄã´òÓ¡»ú³É¹¦Ìí¼Ó¡£

È»ºó´ÓÐÂÆô¶¯cups·þÎñ£¬/etc/init.d/cups restart
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ