+5 votes
220 views
Creating a print server and files shared with Linux - part 2

in Linux / Unix by (552k points)
reopened | 220 views

1 Answer

+3 votes
Best answer

To see Part 1 of this Tutorial: http: //www.solvetic....ux---parte-1/

Having already installed our distribution we will proceed step by step to the installation of all the necessary complements so that our server is also of printing, in addition of how to make it be seen from other operating systems such is the case of Windows .
  • 1. First we need to install CUPS , the common UNIX printing system , the same will make this process easier. We run the following command:
 Apt-get install cups 

After this in our browser we point to localhost: 631 and follow the steps to add the printer.
  • 2. To configure a printer from a remote client simply we must select add printer from the GNOME print settings. This will find the printer and select the CUPS by default without drivers.


image

  • 3. After these settings we are ready to print remotely, in the settings of the previous steps we are given the option to print a test page, if we accept this option and everything is fine the printer connected to our print server, will have as Check out our proof sheet. If everything is correct we can also alter some printing options including access controls. In the tab of Job Options there are many more settings such as setting the type of page or placing a header to it.
  • 4. We can even attach an old printer to the project with a parallel connector, Linux will recognize it without any problem. And if by some chance we just want our server to be just printing we can run a parallel port on the 486 .
Now that we have our server up and running, let's see if we can do any of these operations from Windows as well.
  • The first thing we have to do is install Samba so that thanks to its SMB / CIFS protocol it can be used by all versions of DOS and MS Windows .
  • We install all the Samba packages and make sure that the browsable and guest ok options are marked with yes in the printers section of the configuration file:
 /etc/samba/smb.conf 
  • We change the group from WORKGROUP to MSHOME and run the following command to restart the service:

 Sudo service smbd restart 


image

  • Then from our Windows computer we go to Start à Device and then Printers à Add printer à Add Network Printer .

If for some reason it does not appear automatically that is the usual we add it in the servernameMyPrinter form using the address if necessary.



image


Done this only we would need to try and print, but do not forget that this does not rid us of errors on the disk so it is best to add a backup.


Do not forget that we can go further and configure user accounts or use NIS or LDAP , in this way we would try certain different functions that we can apply to our server, including entering the Samba documentation and expanding our knowledge in it.


by (3.5m points)
edited

Related questions

+4 votes
1 answer
+5 votes
1 answer
asked Jun 24, 2019 in Windows Server by backtothefuture (552k points) | 210 views
+4 votes
1 answer
asked Jun 24, 2019 in Linux / Unix by backtothefuture (552k points) | 230 views
+4 votes
1 answer
asked Jun 23, 2019 in Windows Server by backtothefuture (552k points) | 199 views
+3 votes
1 answer
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users