- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Printing in Linux (Redhat)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2011 01:13 PM
08-17-2011 01:13 PM
Greetings!
I am quite familiar with setting up printing on HP-UX, but on Linux i need some guidance. For example on HP you could use jet-admin etc, how would i configure or use printing on Linux? We have some printers that are currently using HP-UX and they are being transferred to Linux. Is there a easy way to migrate these printers from HP-UX to Linux? Please help...
Cheers
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2011 12:10 AM
08-18-2011 12:10 AM
SolutionJetAdmin has been obsolete on all architectures for a while.
On Linux, the most common print spooler system is CUPS. Its configuration is very different from the configuration of the HP-UX print spooler. You will need to essentially rebuild your printer configuration.
Essentially, CUPS needs three things: a name for your printer, a printer URL that describes how to reach the printer, and a PPD file that describes what the printer can do. You can also add a location and a description, but these are optional information for users only.
The printer URLs are simple. For a JetDirect-capable printer, a typical printer URL would be:
socket://1.2.3.4
where 1.2.3.4 is the printer's hostname or IP address. You don't have to specify the port number: the default is the standard JetDirect port 9100.
In most Linux distributions, CUPS comes with a large set of PPD files built-in. If you use the CUPS web UI (available via http://localhost:631 on your Linux print server), you can usually choose one of the built-in PPD files (by choosing first a printer manufacturer, then a model) or upload a PPD file of your own.
If you have a large number of print queues to configure, the CUPS "lpadmin" command can be used to write a script for adding printers. The basic command to add a printer will be something like:
lpadmin -p myprinter -v socket://my.printer.IP.address -P superprinter9000.ppd -L "Room Number" -D "My SuperPrinter 9000"
You may want to add some options to set default printing options like paper size. See "man lpadmin" and "man lpoptions" for more information.
The documentation for the newest version of CUPS is available at http://www.cups.org/
- Tags:
- cups