Customer Stories
Blog
How to Buy
Contact Us
About Digi
Awards
Careers
Environment
Export Policy
Investor Relations
Leadership
Locations
Media Coverage
Partners
Press Releases
IoT Products and Services
Embedded Systems
Digi XBee Ecosystem
RF Modules
Cellular Modems
Intelligent Edge Controller
Gateways
Tools
Digi ConnectCore
System-on-Modules
Single Board Computers
Cloud Services
Security Services
IoT Development Kits
Networking Systems
Cellular Routers
Enterprise Routers
Industrial Routers
Transportation Routers
Gateways
Infrastructure Management
Industrial Automation
USB Connectivity
Serial Connectivity
Console Servers
IoT Software and Services
Digi Remote Manager
Digi WAN Bonding
Digi Containers
Professional Services
Managed Connectivity Services
Implementation Services
Application Development
Wireless Design Services
TrustFence Security Framework
Featured
5G
LoRaWAN
FirstNet
Private LTE/CBRS
Zigbee
USB Over IP/AnywhereUSB
XCTU
Digi TrustFence
/
Built-in security framework for the IoT
SmartSense
Solutions
Solutions by Application
Mobile Networks for Public Safety and Emergency Services
Asset and Inventory Monitoring
Environmental Monitoring
Digital Signage
Remote Worker
Green Technology
Traffic Management
Public Transit
Logistics
Positive Train Control (PTC)
Contact Tracing
More Applications
Solutions by Technology
Go-To 5G Connectivity
Digi ConnectCore Voice Control
LoRaWAN
Cellular Failover
Fixed Wireless Access
Edge Computing
FirstNet
Private LTE Based on CBRS
SD-WAN
Out-of-Band Management
Zigbee Wireless Mesh Networking
More Technologies
Solutions by Industry
Energy
Smart Cities
Medical
Industrial
Retail
Transportation
Education
Resources
Resource Library
White Papers
Datasheets
Solution Briefs
Technical Briefs
Videos
Examples and Guides
Project Gallery
Security Center
Certifications
Logos and Product Photography
More Resources
Press Releases
Media Coverage
Events
Webinars
Support
Support Resources
Get the latest product updates, downloads and patches.
Drivers
Firmware
Documentation
Software
Browse by Product
Support Services
Get the help you need to keep your Digi solutions running smoothly.
Expert Support
Connectivity Services
Professional Services
Wireless Design Services
View Support Plans
Customer Portal Login
Knowledge Base Articles
Security Center
Support Forum
Return Authorization (RA) Policy
Warranty Registration
Digi Support Policy
Search
Home
/
Support
/
Knowledge Base
/
HOW TO: Add CUPS Serial Printers in Linux
HOW TO: Add CUPS Serial Printers in Linux
Here are the steps taken for configuring a printer using the CUPS web interface. Prior to configuring the printer in CUPS, you may need to change the ownership for the tty device. From the root prompt:
#
chown lp:lp /dev/ttyxyz
Where xyz represents the actual tty device.
Go to the CUPS web interface by pointing your web browser on the Linux host to
http://localhost:631
Select
Add Printer
Fill in the name, location and description.
Next, select the
AppSocket/HP jetDirect option:
Enter
serial:/dev/tty
xyz
to point to the proper Digi serial port:
Where xyz represents the actual tty device. The above example shows ttyj01 which is port 2 on a 16 port unit.
Fill in the baud rate, stop bit, parity and flow control settings which match those for the attached printer:
Select the proper printer model from the drop down list:
The printer will now be configured and ready to use.
To send a print job from the root promt:
#
lp -d (printer_name) /dev/inittab
To check the status of the printer(s):
#
lpstat -t
Last updated: Jun 21, 2019
Recently Viewed
No recently viewed articles