- 29 Nov 2022
- 2 Minutes to read
- Print
- DarkLight
- PDF
DYMO450 Setup on Linux
- Updated on 29 Nov 2022
- 2 Minutes to read
- Print
- DarkLight
- PDF
Connection check
First of all, you should check, if the printer was recognized properly. Please execute the command shown below and check, if the result looks similar. If your printer is not listed, you need to check the USB connection.
sudo lsusb
Bus 001 Device 002: ID 0922:0020 Dymo-CoStar Corp. LabelWriter 450
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Install the driver and CUPS
The next step is installing the Linux driver. There is a precompiled package available. Please install it using the command below.
sudo apt-get update
sudo apt-get install cups cups-client printer-driver-dymo
Download and install the printer definition
The printer setup requires an appropriate PostScript Printer Definition (PPD) file. This is not to be part of the installation package. For this reason, we need to download the CUPS driver provided by Dymo. This is currently version 1.4.0, which can be downloaded here:
dymo-cups-drivers-1.4.0.tar.gz
Afterwards the archive needs to be extracted. The model file is part of it and should be copied to the default model folder of CUPS.
tar -xzf dymo-cups-drivers-1.4.0.tar.gz
sudo mkdir -p /usr/share/cups/model
sudo cp ./dymo-cups-drivers-1.4.0.5/ppd/lw450.ppd /usr/share/cups/model/
Add the printer
As final installation step we need to find out the address of the printer for being able to register it. The lpinfo (see manpage) command shows all available printers. There should be an entry referring to the Dymo printer.
sudo lpinfo -v
Once we know the printer address (here it is usb://DYMO/LabelWriter%20450?serial=01010112345600), we can install it using lpadmin (see manpage) like shown below. The -p parameter specifies the display name of the printer, -v is used for the printer address and the -P parameter points to location of the printer definition file.
lpadmin -p dymo -v usb://DYMO/LabelWriter%20450?serial=01010112345600 -P /usr/share/cups/model/lw450.ppd
Afterwards, the lpstat (see manpage) command is used for listing all installed printers. The list should now contain the printer we previously installed.
lpstat -v
device for dymo: usb://DYMO/LabelWriter%20450?serial=01010112345600
Last but not least, we need to start the printer via cupsenable (see manpage) followed by the printer name we chose previously. Additionally, the printer is configured to accept jobs sent to it for printing. This is done by submitting the cupsaccept (see manpage) command followed by the printer’s name.
sudo cupsenable dymo
sudo cupsaccept dymo
Test the printer
If the configuration went correctly we can proceed to print a sample.
Download a sample label pdf here: test_label.pdf
This file is then sent to the printer for processing it by submitting the lp command (see manpage). The -d parameter specifies the name of device to choose for printing and should match the one you chose while installing the printer. If you like to use the default printer, you can omit this parameter.
lp -d dymo test_label.pdf
If everything works fine, your printer should now print a label containing a dummy text.
Set as default printer
If you like to configure your printer as the default one, you can use the lpoptions (see manpage) command as shown below. The -d parameter specifies the name of the new default printer. This is the name you chose while installing the printer.
sudo lpoptions -d dymo
Configure xBit Labels
Now you are ready to configure and print labels in xBit system with your linux os.