Raspberry PI as a print server with Windows 7/8 as a client part 1.

Set up the print server on the Rasperry PI:

  1. PI up to date to bring the raspberry:
    sudo apt-get update; sudo apt-get upgrade
  2. The CUPS print server on the raspberry install PI:
    sudo apt-get install cups
  3. If that is done, we install Samba, with:
    sudo apt-get install samba samba-common-bin
  4. Then, we edit the Samba configuration file in
    /etc/Samba/SMB.conf with sudo nano / etc/samba/samba.conf.
    the cups Department (section) should have the following content:
    # CUPS printing. Manpage in the Lake so the cupsaddsmb(8) # cupsys-client package. printing = cups printcap name = cups
  5. Now we have still an owner of the Admistrationsrechte for the printer has other than root, which can be reached on debian u ubuntu distributions just about sudo, because he is disabled by default. so is offered, the standard user to grant the rights to pi.
    usermod--a-g-lpadmin pi
    Now we have the Group lp pi (added for Drucke(n)r)Admin(istrator), thus he can use cups with admin rights.
  6. Now we CUPS have with:
    cupsctl-shared-printer - remote-admin
    tell the printer you want to share it and we want to wait outside.
  7. Then, we need to restart CUPS and Samba with:
    sudo service cups restart; sudo service restart samba

So now would be done! But we want to print now also…