- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to configure remote printer using command line
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
Discussions
Forums
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
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
тАО07-19-2006 02:33 AM
тАО07-19-2006 02:33 AM
I need to create more than 150 printers in a Suse Linux 8, so I'm interested to create an script that generates all automatically.
My system uses lprng and cups for printer configuration but I just know shell menu so I haven't any idea if I can create a printer via command line instead shell menu.
Is it possible? What're commands I should use in order to create a printer?
Thanks in advance for your help.
Regards,
Carles
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 02:51 AM
тАО07-19-2006 02:51 AM
SolutionThe CUPS System Admin Manual gives the exact details of the command and it's options:
padmin -p local_printer_name -v ipp://linux-box/printers/Printer_Name -m laserjet -E
See also:
http://www.bo.infn.it/alice/alice-doc/mll-doc/linux/advanced/node9.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 07:44 PM
тАО07-20-2006 07:44 PM
Re: How to configure remote printer using command line
Thanks for your help but I still have one question: Does this command work with windows printer servers?
newmoscu:~ # ping wprserver
PING wprserver.santpau.es (193.146.12.36) from 193.146.12.113 : 56(84) bytes of data.
64 bytes from seti.santpau.es (193.146.12.36): icmp_seq=1 ttl=128 time=0.409 ms
64 bytes from seti.santpau.es (193.146.12.36): icmp_seq=2 ttl=128 time=1.62 ms
--- wprserver.santpau.es ping statistics ---
2 packets transmitted, 2 received, 0% loss, time 1009ms
rtt min/avg/max/mdev = 0.409/1.016/1.623/0.607 ms
newmoscu:~ # lpadmin -p pinfo7 -v ipp://wprserver/pinfo7 -E
lpadmin: Unable to connect to server: Connection refused
newmoscu:~ #
Thanks in advance for your help.
Regards,
Carles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2006 02:31 AM
тАО07-21-2006 02:31 AM
Re: How to configure remote printer using command line
http://support.microsoft.com/kb/323428/en-us
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2006 06:48 PM
тАО07-23-2006 06:48 PM
Re: How to configure remote printer using command line
Service was stopped manually. After restarting it worked fine.
Thanks and regards,
Carles