First, the demand
User needs: Employees need to print a variety of materials, tenders, vouchers. Printing needs are large. Establish a robust print service system to facilitate printing, copying and scanning of employees.
Refine your requirements:
1. Deploy a print server with open source system ;
2, high availability, reliability;
3, easy to install, in the Windows side do not feel the platform differences;
4, the printer with the Windows computer name for the user name, can record the print job sender, document name, size, submission time , convenient in the event of a print failure to find the problem of the computer quickly repair;
5, can not receive scanning documents;
6, can be compatible with XP, Win7 32, 64-bit system.
II. deployment Process
1. When installing RHEL6.3, select "Customize Now" below when selecting software group. Added "FCoE Storage Client" of "Basic System", "Printer Client" (' optional package ' selected All) ', ' Server ', co-opted "CIFS file Server", "Print Server", "desktop", all checked; ' Development ', co-opted "development tools";
2, after installation, reboot the system;
3. Turn off the firewall. Put "print", "Network Connection" to the desktop. Connect the network cable, in the "Networking Settings", "Global Options": Select ' traditional method via Ifup ', exit (let the settings take effect). Then go to set the wired Nic "edit", configure the fixed ip:192.168.xx. (xx is the corresponding network segment of the office area, first use DHCP to assign the system automatic IP to the printer host, thus found that the port corresponding gateway and network segment (ping command can be used to test whether the machine can communicate with other machines in the network, ifconfig can view IP information)). DNS:192.168.SS.SS, 192.168.SS.SS default gateway is: 192.168.XX.WW;
4, open the terminal, input vi/etc/selinux/config modified selinux = inforce into disabled;
5, open the terminal, enter vi/etc/samba/smb.conf, insert the following table code:
[Global]
Workgroup = Workgroup,
printing = Cups
Printcap name = Cups
Printcap Cache time = 750
Cups options = raw
Map to Guest = Bad User
Include =/etc/samba/dhcp.conf
Logon Path = \\%l\profiles\.msprofile
Logon home = \\%l\%u\.9xprofile
Logon drive = P:
Usershare Allow guests = Yes
Add Machine script =/usr/sbin/useradd-c machine-d/var/lib/nobody-s/bin/false%m$
Domain logons = No
Domain master = No
Security = User
[Homes]
Comment = Home directories
Valid users =%s,%d%w%s
browseable = No
Read Only = No
Inherit ACLS = Yes
[Printers]
Comment = All Printers
Path =/var/tmp
printable = Yes
Create mask = 0600
browseable = yes
Use Client Driver = Yes
[print$]
Comment = Printer Drivers
Path =/var/lib/samba/drivers
Write list = @ntadmin root
Force Group = Ntadmin
Create mask = 0664
Directory mask = 0775
Driver
Guest OK = Yes
Inherit ACLS = No
Path =/qudong
Read Only = Yes
[Scan]
Guest OK = Yes
Inherit ACLS = No
Path =/scan
Read Only = no
6, the corresponding model of the drive folder to the file system root directory renamed to ' Qudong '.
7. Then in terminal-typed:
# service SMB restart; (Restart the SMB service for the modified configuration to take effect)
# chkconfig SMB on; (Set power On self-boot)
# chmod 775 Qudong (lets users go to folder download drivers and tutorials)
8, the server's USB connection printer, open "print", add the printer, open the "print" setting, follow the printer name of the table above to name the printer, and right click the printer tick "enable" sharing.
9. In the "Print" setting, check "Server"-"settings" and tick the following four items: "Publish shared printers connected to this system" "Allow printing from the Internet" "Allow Remote Administration" "Allow users to cancel any job".
10. Right click on the printer, select "Properties"-"policy", tick "enable" "Accept Job" "share".
Note: The HP 1020 and 1008 printers require the firmware to be reinstalled after the printer has restarted (there are workarounds for subsequent articles).
To copy the firmware to the server desktop, when the firmware needs to be imported, simply open the terminal on the desktop and enter:
# cat Sihp1020.dl (SILP1008.DL) > Dev/usb/lp0
* * After the printer is named fixed, if another name, the Windows client needs to re-add the printer to print properly, causing a large number of users to add the printer, so please rename it carefully.
* * After each set up the printer server, log off (after logging off, the machine continues to open, can print normally).
Iii. Methods of Access
The first step: "Run" in the Windows side, input in the Run interface: \\192.168.x.x
650) this.width=650; "style=" border-bottom:0px;border-left:0px;border-top:0px;border-right:0px; "title=" Wpsd580.tmp "border=" 0 "alt=" wpsd580.tmp "src=" http://s3.51cto.com/wyfs02/M01/54/96/ Wkiol1shhmbi8z3zaaba40mtlou932.jpg "height=" 122 "/>
The second step: enter the corresponding address of the "Drive" folder, the folder has the corresponding driver and installation tutorial, open "Installation Tutorial", follow the tutorial download driver files, install the printer.
650) this.width=650; "style=" border-bottom:0px;border-left:0px;border-top:0px;border-right:0px; "title=" TM ' 1]BQ} Agy@@51l3$%cnn3 "border=" 0 "alt=" TM ' 1]bq}agy@@51l3$%cnn3 "src=" http://s3.51cto.com/wyfs02/M02/54/96/ Wkiol1shhmezhjl6aabj3oo-04q422.jpg "height="/>
Note: The printer driver must be installed correctly, the error driver will cause the printing garbled, please follow the tutorial, the specification installation.
650) this.width=650; "style=" border-bottom:0px;border-left:0px;border-top:0px;border-right:0px; "title=" P]QJ1 '} vg5}7_]ytwgcy$7j "border=" 0 "alt=" p]qj1 '}vg5}7_]ytwgcy$7j "src=" http://s3.51cto.com/wyfs02/M00/54/96/ Wkiol1shhmfhtq-xaae_x3lafcw255.jpg "height=" 283 "/>
HP1010 is a relatively distant product, and HP has no longer developed HP1010 's dedicated win7 driver.
The company's HP1010 uses Vista drivers on the Win7 side and cannot print txt and PDF formats, but can print Word, Excel, ppt, jpg format.
Linux under the SMB Print server deployment process (for Windows endpoints)