Recently, some readers have encountered a known error code with a print server running on Ubuntu 10.04. This problem can arise for several reasons. Let’s discuss this below.

Ubuntu supports sending printers over the network, so you can print to servers from your Ubuntu computer, this Windows computer, etc. “).

Ubuntu tends to use the Common UNIX Printing System (“CUPS”) for printing. CUPS often uses Internet Protocol Printing (“IPP”) as the basis for managing print jobs and / or queues. Other protocols are also used (LPD, SMB, AppSocket a.k.a. JetDirect) which have some limited functionality.

The location and management of CUPS printers is done using the main printer management utility, which is launched through a special Gnome menu – System -> Control -> Print (if the problem with the menu does not exist, you must use the system – config – Printer in the whole menu) … The company also provides a web ipp so that once CUPS is properly configured, you can access printers and jobs through your web phone.

If a locally attached printer is defined, for example, using the Printer Admin utility, the printer is automatically created by this “print server” host, which becomes the network in theAccording to the device instructions in the CUPS configuration data. A remote Ubuntu “client” host can use a printer attached to your current server. The network printer automatically appears in the client printer management software. It only appears when CUPS is active and configured correctly, and also disappears when you stop CUPS here, either on the print server or on your local computer.

A print server is an Ubuntu computer that instantly connects to printers.

  1. On your current server (to which all printers are connected) open System -> Administration -> Print (if this menu item does not exist, you need to switch to the printer system configuration Open menu ). … All this will open the printer settings window.

  2. Select Server in the map panel, then Settings. Perhaps this is the period of opening the main server settings.

  3. Check the second checkbox:

    Publish common printers here connected to the server), also take the first box “Show printers Two from other systems for sharing. ”

  4. OK

  5. With your right finger, tap Printer Check and Approved if not already done

  6. Make sure users who want to use the primary printer are not excluded. See Properties> Access Control. You may need to set the default settings to “Deny printing for everyone except …”

Ubuntu Windows Compatible Recording Server (Samba)

If your custom Ubuntu print server needs to be able to work with Windows patients too, you must first ensure that most of the SAMBA package has been created (for example, using the Synaptic Package Manager). Then make a small change to the SAMBA configuration. In short, comment out the following lines in /etc/samba/smb.conf – unblock and start terminal:

 gksudo gedit /etc/samba/smb.conf 
 searchchable = yes   and also ok = yes 
 sudo solutions restart smbdrestart sudo nmbd service 

The official certificate has a dedicated page with more details.

If you also want to allow previous ports through a firewall (ufw in the example) through:

 sudo ufw makes 139 / tcp easier to usesudo ufw allow 445 / tcpsudo ufw passes it to 137 / udpsudo ufw allow 138 / udp 

Now let’s configure all clients (Ubuntu computer when you want to print):

  1. System -> Administration -> Print

  2. Add – network printer

    • < p> Click Find a Service Printer.

      • Enter the IP address or hostname. (He can also try without it) (IP worked, address through me, hostname not.)
      • Click Search

    • should be found on the target computer regardless of whether these companies are connected via CUPS or SAMBA.

      • BUT, if the two protocols are common, for example, since you connected your printer on a Linux system with both CUPS and Samba, select CUPS (ipp: //) on (smb: //). in general, Samba does not usually ask you to add a driver.

      print server on ubuntu 10.04

  3. You may ** ** be asked to identify a driver. Choose your model from the main list.
    • (To do) What to do and the driver if he is no longer on the list

Once your Ubuntu Photo Server is configured usingWith SAMBA, as described above, you can integrate your printer in Windows as follows:

  1. Start
  2. Peripherals and Printers
  3. Add Printer
  4. Add network, wireless or Bluetooth printer
  5. Press. The desired inkjet printer is not registered (except for a miracle)

  6. Enter the property manually ( servername MyPrinter). Pay attention to the upper and lower case letters.

Note that finding printers in Windows is highly unreliable as it is highly dependent on your network configuration. Therefore, it is recommended that you enter the work address manually on the printer as shown.

Windows may complain about the absence of a member and offer to manually select only one. This is the easiest way. So select the type of manufacturer of your printer and in the dialog box. (Alternatively, the Samba installation may be of the highest quality so that the driver is loaded automatically.) If your printer model is never listed, you can try a “generic” printer.

Tips: you can avoid using buffersSAMBA using a direct connection to the Ubuntu CUPS / IPP server from a Windows workstation. You must manually specify “http: // hostname: 631 / printers / MyPrinter” by choosing the IPP URL and printer operator.

It may take some time (approximately 50 seconds) for the Windows (Ctrl-P) dialog box to be displayed for printing. You can shorten the connection time to the CUPS IPP printer by disabling the auto-learn setting option in Control Panel / Internet Explorer -> Internet Options -> Connections -> LAN Settings.

If the software resides either on the print server or often on the client side, communication problems may occur. Use this command to update your firewall so you can use it.

  • This rule is used for IPP only. If you are using another of these protocols, such as SAMBA, you will have to adapt.

    You may need to use this rule in both sections (server and client) if you expect a firewall to be used in both products. To enforce this rule every time the system is started / restarted, use /etc/rc.local.

Usef the various net / subnet masks in your online store to be careful when you want to talk about the printer.

print server on ubuntu 10.04

If the subnets are different, eg. .0.0) netmask gives – can be set by the DHCP server, this can ultimately lead to the problem that clients cannot recognize the shared printer on the server even if there is other communication between print clients and the server. Internet will be possible at any time (eg ICMP, ssh) and successfully.

When such a disease occurs, you need to combine masks / subnets on all your stations, for example. use / 24 (255.255.255.

In general, it is a good idea to assign a sound address to your print server. etc.

4. Windows IPv6 (since XP) can print to Ubuntu Linux over IPv6 (tested between Windows XP SP3 Ubuntu and Linux 8.10). See for yourself that Windows and Ubuntu offer IPv6 connectivity. You should definitely check the “Allow printing from the Internet” checkbox on my Ubuntu machine. Then use the URL (which is IPv6 resolved) of our own Ubuntu machine as described above.

Impossible Find your network printer until you invoke it and run cupsctl BrowseRemoteProtocols = cups (see # 1 cups.4 documentation at http: //www.cups. Org / documentation. php / doc-1.4 / sharing.html). If you do, you may need to pre-set your network printer as a lagging printer so that it appears in position 1 of the program’s print menu.