If you are interested in or currently using deepin for office work, then you will definitely use the "Print Manager." As a tool for managing printers, the Print Manager will become one of your capable assistants in the office. Recently, we will release a new version of the Print Manager in the deepin App Store, and we will also take this opportunity to talk briefly about how to use it in the "PM Direct" column.

Print Manager supports both local printers with USB interfaces and network printers using the IPP protocol. You can refer to the help manual of Print Manager to add them as needed. After starting the Print Manager, press the button F1 or go to the Settings menu - Help to access the help manual.

When adding a printer, installing the driver is a challenge. In the new version of Print Manager (v1.0.6 and above), the printer driver library has been expanded and the driver query has been optimized. In the automatic search and manual search and addition methods, it is recommended to select the printer driver with the "recommended" mark. This will greatly increase your success rate in adding printers, and you will not be troubled by overly professional error feedback.

If the printer you are using still cannot obtain a suitable driver through the above methods, it is recommended to find driver resources through the following channels.

Now, you should have easily added a printer. You can try to print a test page to verify whether the printer is actually added successfully. The process is similar to accessing Baidu to test whether the network is available. In addition, in future office printing scenarios, you can define the printing paper and single-sided and double-sided settings through properties, manage printing tasks through the print queue, and timely understand the use of printing paper through the consumables status.

Additionally, deepiner may be able to learn other methods, such as transforming traditional printers into wireless printers to create a technological experience of using printers on mobile devices.

  • The steps briefly described for the experts are as follows: First, configure printer sharing, LAN publishing and other settings based on the cups service, and then modify avahi-daemon.config, nsswitch.config and other configurations based on the mDNS principle and publish the service;
  • Let's explain step by step...

 

Configuring Printer Sharing

Printer sharing is based on CUPS service. You can use the Print Manager to configure it directly on the graphical interface. Just perform the following operations:

  • Run the Print Manager, select the printer you want to share, open the right-click menu, and check all the tasks: Share, Enabled, and Accept jobs.
  • In addition, you need to go to the Settings menu - Settings, and check "Publish shared printers connected to this system" in the pop-up box;

11.png

22.png

 

Configuring the Network Discovery Service

By default, deepin pre-installs two packages, avahi-daemon and libnss-mdns. However, in order to avoid a lot of work, it would be a waste of time to check and find that the package is missing. Therefore, first manually check the installation status:

apt policy avahi-daemon

apt policy libnss-mdns

If the output shows that they are not installed, please manually install the avahi-daemon and libnss-mdns packages.

Modify /etc/avahi/avahi-daemon.conf. In fact, the default configuration here is sufficient for use. If the printer cannot be found on the mobile terminal later, please consider removing the comments of the network card interface and modifying it to the correct network card interface name of the computer. A total of the following two items need to be enabled:

use-ipv4=yes

allow-interfaces=wlp2s0

How to quickly check the network card interface: Go to Control Center-Network-Network Details and check Interface the field. The example below wlp2s0 the network card interface name.

Screenshot_dde-control-center_20240530165143.png

Modify /etc/nsswitch.conf and modify the hosts rule according to the following example. In short, this configuration will prioritize IPV4 resolution. If you want to prioritize IPV6, please adjust mdns4_minimalto mdns_minimal.

hosts: mymachines mdns4\_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns

By default, deepin starts avahi-daemon.service automatically, so there is no need to configure the service to start automatically. However, to ensure that the configuration takes effect, you can manually restart avahi-daemon.service by executing the command:

sudo systemctl restart avahi-daemon.service

After completing the above configuration, you need to ensure that you are in the same LAN, so that you can directly use the shared printer on the mobile terminal. The following figure shows the usage status of Pengpai OS:

 

 

If anyone still has questions about using the Print Manager on deepin, or if you have additional suggestions, you can click here to jump to the original post for comments and inquiries. We welcome your feedback, diverse opinions, and look forward to growing together with deepin!

 

About [PM Direct]

[PM Direct] is a new feature launched by the deepin community in May 2024. In this column, we will invite product managers from various products to share and exchange interesting and useful deepin or Linux-related applications with everyone. The product managers will also engage in discussions and Q&A sessions with all users on the deepin forum. Today's article is shared by the deepin community application product manager, who is also a forum user of the deepin community known as [yicold]. We hope everyone will continue to follow the deepin forum's feature column [PM Direct].

 

Appendix:

1)   deepin V23 RC ISO : https://www.deepin.org/en/download/

2)  deepin Previous Versions (Including deepin V15):  https://distrowatch.com/table.php?distribution=deepin

Content source: deepin community
Reprinted with attribution

Leave a Reply