Contents
Note: This setup is not supported by Xentral.
To learn how to connect printers to Xentral in general, see the Printer Quick Start.
Installation or activation of CUPS
Enable web interface for CUPS on macOS
The interface can be activated with the following input in the terminal:
cupsctl WebInterface=yes
Deactivate:
cupsctl WebInterface=no
Source and additional documentation: https://www.cups.org/
Installing CUPS under Linux Debian or Ubuntu
If CUPS is not available on Linux (server version), you can install it with these commands:
Server/Client Components:
sudo apt-get install cups cups-client cups-bsd
Printer driver libraries:
sudo apt-get install hplip hpijs printer-driver-gutenprint
Enable Web Interface for CUPS on Linux
The web interface and network printer sharing can be activated with the following input in the terminal:
sudo cupsctl --share-printers --remote-admin
Now you need to restart the service:
systemctl restart cups
Source and more information about CUPS on Linux: https://wiki.ubuntuusers.de/CUPS/
Working with CUPS
Open a web browser and launch CUPS. In our example, the call is made locally on the system in which CUPS is installed: https://127.0.0.1:631**
If you are asked for username and password, enter it accordingly (you can find out the username from the command line).
Create document printer
To create a new printer, go to Administration and then to → Add Printer.
In the example, we will install the "Brother MFC-7440N (Brother MFC-7440N)". Highlight the printer and click Continue:
Assign a unique name to the printer:
Select the driver:
In the last step you can make additional settings on the printer:
In the Printers section you can now see and manage the created printer:
Address a specific paper source
In order to address a specific paper supply or paper cassette, you must simply create this printer again and also label it accordingly. Proceed in the setup exactly as described in the point "Create document printer" and adjust the printer settings accordingly.
Example for the designation:
Example of a manual paper feed to print A5 shipping labels:
Result in Printer Overview:
Create shipping label printer
In general, ZEBRA shipping label printers must always be created or configured via CUPS. The configuration via the standard printer management in macOS or Linux does not lead to the desired result in 99% of the cases.
Example for: ZEBRA GK420t
Open a web browser and call CUPS. In our example, the call is made locally on the system where CUPS is installed.
{wikilink https://127.0.0.1:631** {{:entwickler:cups_01.jpg?nolink}} |https://127.0.0.1:631** {{:entwickler:cups_01.jpg?nolink}}}
To create a new printer, go to Administration and then to → Add Printer.
In the example, we will install the "Zebra Technologies ZTC GK420t Label Printer". Select the printer and click Continue:
Assign a unique name for the printer:
Select the appropriate driver, please mark "Zebra ZPL Label Printer" as model:
Now enter the width and height for the shipping label you are using. For DHL shipping labels, please enter 100 for the width and 200 for the height:
Paper sizes:
- DHL: B:100mm x H:200mm → Please also select the label format accordingly at https://www.dhl-geschaeftskundenportal.de
- UPS, DPD: B:100mm x H:150mm
After the shipping label printer has been set up, you can print a test page under Maintenance.n → "Print Test Page":
This completes the setup of the printers under CUPS. The connection to Xentral is done here: Printers in Xentral.