How to setup a remote queue on RHEL 6.4 using CLI
Hi,
Please can anyone advice on how to setup a printer queue pointing to a remote Jetdirect queue on rhel6.4, I can see alot of notes on using the GUI base printer configurator tools, but I want to set this up via command line.
Thanks
ketan
Responses
updated
Hi Ketan,
update
The examples below may not include setting up the server first, this bit below seems to be steps to take after the queue is established. You are right, much of the documentation includes a gui for establishing the queue, and not cli. Perhaps someone can include that bit below...
Read
end update
- Note: see 'update' above...
The following is a bit of a guess, and you will have to adjust these settings in the examples below for your environment.
The first two use lpadmin which is provided by the 'cups' rpm (so if /usr/sbin/lpdadmin is not available, do a yum install of cups first).
This article does not mention rhel 6, but it might work.
https://access.redhat.com/site/articles/3805
Compare that article with this one that does mention rhel6:
https://access.redhat.com/site/solutions/21432
Lastly, check out the example this person provides at pjwelsh.blogspot.com, where they seemed to get jetdirect going.
Perhaps someone has a better example than the initial finds I posted above...
Kind Regards,
Rem
Hi Ketan,
I'm going to be a tad busy, apologies, can not respond for a while. Hopefully others can help you with this.
By the way, when putting code (commands) into posts, it is good to surround the commands with three tilde characters:
(omit the quotes from my example)
"~~~~"
"# any linux command goes here"
"# any linux comment (like a configuration file) goes here"
"~~~~"
If a sentence in the discussion begins with a "#" character, it will make the text huge unless it has three tildes above and below it.
Again, I'm going to be a tad busy, apologies, can not respond for a while. Hopefully others can help you with this.
Kind Regards,
Rem
Hi Ketan,
The three find commands you mentioned - It seems like the printtool, printconf commands are no longer available). I have not heard of the other redhat-config-printer* commands, but suspect it is really old and replaced (see next paragraph)
If you wanted a gui for printers, look at 'system-config-printer' or 'system-config-printer-tui' - but again, those are graphical interfaces (gui). I had thought you wanted to use the command line interface (cli) so I posted some CLI references. There is a plethera of documentation for the gui and printers.
If you want to look at system-config-printer, it is available for rhel 6 workstation. You may have to perform a yum install for it first.
The Red Hat resources I gave you are one option to begin at for non-gui printer setup. Regarding the specific item you need from the list you mentioned, I do not have HP printers, I'd try checking HP's website, (do you have support with HP?) and perhaps try some of the options that you think might work and see if they work, and re-run the command to test again as needed. Perhaps also consider Red Hat Support.
Kind Regards,
Remmele
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
