This blog post will help you if you notice the USB LPR print server is connected to Ubuntu.
Approved: Fortect
Ubuntu supports network printer sharing, so you can print to servers from your Ubuntu computer, your company’s Windows computer, etc. “).
Ubuntu uses the standard UNIX printing system (“CUPS”) for printing. CUPS uses the Internet Printing Protocol (IPP) as the basis for managing print jobs and then queues. Other protocols (LPD, SMB, A appsocket.k.a. Some jetdirect) with limited functionality are also registered.
Configuring and managing CUPS printers is undoubtedly done using the Printer Admin utility that appears in the Gnome – System -> Administration -> Printing menu (if there is no menu ornament, you will need to use system-config – the printer in the menu). It also provides ipp web services so that once CUPS is properly configured, you can open printers and jobs through the global web browser.
If a locally attached printer is not specified, for example using Printer Admin, that printer will be automatically published by this dedicated print host on the network, enter the server instructions in the CUPS configuration file. The remote Ubuntu “client” can then look likeNetwork and use a printer connected to the hosting. The network printer is automatically displayed in the Printer Admin client utility. It’s just not secure if CUPS is configured correctly and will go away if you stop CUPS on the print server or your trusted local machine.
A print server is an Ubuntu computer that connects directly to printers.
-
On the One server (to which the printer is connected) open System -> Administration -> Print (if the menu item is not available, add System – config-printer to support the menu). … The printer setup window will open.
-
On the server, select the menu bar, then Settings. The main server settings window will open.
- Click the second field:
Publish printers connected to this server. If this computer serves as both a print server and a client (it wants to access a shared printer from multiple computers), also select the first Show inkjet printers shared by other systems check box.
-
OK
-
Print the printer on the right and activate the PrinterSupported “if not already activated
-
Make sure the users you want to allow to use the printers are not ignored. See Properties> Access Control. The default settings may be “Deny printing for everyone except …”
Ubuntu Windows Compatible Print Hosting Server (Samba)
If your Ubuntu server needs to run Windows clients, of course, you first need to make sure the SAMBA package has been created (for example, using the Synaptic Package Manager). Then make a small change to the SAMBA configuration. After a moment, you should comment out the following words in /etc/samba/smb.conf – Open terminal and run:
gksudo gedit /etc/samba/smb.conf
for search is yes Guest ok = yes
sudo-assistant-smbd-restartSudo nmbd service restarted
There is a dedicated page in the official documentation with more details.
You also need to allow the following ports through a specific firewall (like ufw):
sudo ufw help 139 / tcpsudo ufw allow 445 / tcpsudo ufw get 137 / udpsudo ufw allow 138 / udp
Now let’s configure the entire client (Ubuntu computerfrom which users want to print):
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
- 1. Download Fortect and install it on your computer
- 2. Launch the program and click "Scan"
- 3. Click "Repair" to fix any issues that are found
System -> Administration -> Print
-
Add – Network Photo Printer
- < p> Click Find Network Printer.
- Enter an IP address or enter a name. (May work without, try it) (IP worked for me, hostname didn’t work.)
-
Click
- BUT, if both routines are available, for example, since you are using your printer on a Box Linux system with both CUPS and Samba, drag CUPS (ipp: //) to Samba (smb: //) as it doesn’t ask you to install the driver inside.
< li> The printers on the destination computer should be recognized regardless of whether they are connected via CUPS or SAMBA.
** can **
- < p> Click Find Network Printer.
- You will be prompted to select a driver. Choose your model from the list.
- (to do) What to do if the driver is not in the appropriate list
Once your Ubuntu print server is configured using SAMBA as described above, you can add the printer found in Windows as follows:
- Start and
- Printer Device
- Add Printer
- Add Network Compatible with WLAN or Bluetooth printer
-
Click “The printer I want is not listed” (unless something surprising happens)
-
Enter manual address ( servername MyPrinter). Pay attention to the upper and lower case letters.
Please note that viewing or viewing printers in Windows is notoriously unreliable as it is highly dependent on your network configuration. Therefore, it is recommended that you manually enter the printer address using the displayed ones.
Windows will probably complain about the lack of a driver and prompt you to select it manually. This is a tricky option, so choose your printer manufacturer, but choose your model from the dialog box. (Alternatively, the exact configuration of Samba can be improved to automatically load the driver.) If your printer model is not listed, you will try a Generic printer.
Tips: You can avoid using SAMBA buffer by using CUPS / IPP direct partnership with Ubuntu server from Windows workstation. You must manually enter the “http: // hostname: 631 / printers / MyPrinter” IPP URL and select the printer driver.
Display dialogs Windows “Print” windows (Ctrl-P) can take a long time (about 30 seconds). You can shorten the connection time to a CUPS IPP printer by disabling the Detect Layout Automatically option in Control Panel / Internet in Internet Explorer -> Options -> Connections -> LAN Settings.
If a firewall is installed in the printer control room or client-side, communication problems may occur. Use this command to update your firewall prior to passing.
- This domain is used for IPP only. If you are using a different protocol like SAMBA, you will have to adapt.
You can use this rule in both zones (server and client) if the firewall will be used in both zones. To apply this rule between systems after every boot / restart, use /etc/rc.local.
Be strict when using different netmasks / subnets on the main network on which you want to use the printer directly.
If the subnets can be different, for example, the / 24 (255.255.255.0) network can be configured on the print server, facemask and, onfor example, on clients, there will still be network masquerade / 16 (255.255.0.0) – possibly from a DHCP server provided, this can cause an issue where clients cannot recognize shared files when printing from the server, even if other conversations between the print server and clients are enabled automatically (eg ICMP, ssh) and succeed.
If this situation occurs, you need to standardize your current netmask / subnet across all stations, for example, use / 24 (255.255.255.
It is generally recommended to assign a static IP address to your print server. Instead, using a hostname is also possible, but its functionality depends on the careful configuration of your home router, name organization, etc.
4. Windows IPv6 (since XP) can support printing to Ubuntu Linux over IPv6 (tested between Windows XP SP3 Ubuntu and Linux 8.10). Make sure Windows and Ubuntu support IPv6 connectivity. You must select the “Allow Internet Printing” checkbox on your Ubuntu machine. Then use the url (which is resolved in IPv6) from the Ubuntu engine described above.
Do not tellrits to your network printer if you don’t log into the terminal in time cupsctl BrowseRemoteProtocols = cups (see the CUPS 1.4 documentation at http://www.cups.org/documentation .php / doc-1.4 / sharing .html). After that, you may need to set your network of printers as the default printer so that it appears in the Print Learner menu.
Speed up your computer's performance now with this simple download.