Thursday, 30 May 2013

How to install a network printer at CERN under Ubuntu

Installing a driver at CERN is kind of a puzzle, unless you run Windows or SLC. Unfortunately there are no tutorials how to do that. This is why I came up with the following, somewhat hackerish, solution:
  1. Install packages libnet-ldap-perl and cups on your system using apt-get
  2. Download the lpadmincern RPM package.
  3. Unpack it.
  4. Replace inside lpadmincern.pl
    my $cupsc='/sbin/service cups reload';
    with
    my $cupsc='/usr/sbin/service cups reload';
  5. Replace
  6. $command="LC_ALL=C /usr/sbin/lpadmin -p $prt->{printerName} -L \"$prt->{location}\" -D \"$prt->{description}\" -v $uri $duplex $media -o printer-is-shared=false -E";
    with
    $command="LC_ALL=C /usr/sbin/lpadmin -p $prt->{printerName} -L \"$prt->{location}\" -P $prt->{ppdfile} -D \"$prt->{description}\" -v $uri $duplex $media -o printer-is-shared=false -E";
    Apparently this got replaced in the meanwhile.
  7. install libnet-ldap-perl
  8. Find your desired printer at CERN printing service
  9. Move the whole directory to /usr/share/lpadmincern, otherwise it would complain about a missing directory.
  10. Run
    perl lpadmincern.pl --add [your-printer-name-here]

76 comments:

  1. It worked for me after installing these two things:
    sudo apt-get install libnet-ldap-perl
    sudo apt-get install cups

    ReplyDelete
  2. Hey, nice site you have here! Keep up the excellent work!

    HP Officejet Pro 8720 Install

    ReplyDelete
  3. Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!
    123 HP Officejet Pro 8720 Setup

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Corrlinks is a US-based, privately-owned company. The business offers solutions that allow individuals to maintain contact and correspondence with their friends or family members who are imprisoned via their email delivery service. This guide shows you how to quickly complete the login process for corrlinks.com. In addition, we will talk about some of the problems you can face at Corrlinks Login process, as well as how to solve them.www.corrlinks.com login

    ReplyDelete
  6. If you need any guidance on the different services offered by Spirit airlines, it is always considered the best experience to communicate with a living person. Talking to a live person over the phone provides people who need to get some answers to several queries with better satisfaction. If you are not aware of the ways to contact Spirit Airlines with a live person, then go through the information below.
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number
    Spirit Airlines Phone Number

    ReplyDelete
  7. Nice Post....
    Can Anyone Help Me With MS office setup?
    MS office.com need not be tricky as long as you are following the right procedure. If you are asking this question, we suggest you already have a Microsoft Office subscription. If not then it should be your first step. You can purchase the Office suite or a particular Office product online from the official office website or any other retail store. Once you have the subscription, visit office.com/setup and sign in using the Microsoft account you used while buying the MS Office online. If you don’t have a Microsoft account, just create one and then sign in. Depending on the type of purchase or the type of product you bought, you might need to enter the product key. After that, you can finish downloading your version of MS office and install it on your device.

    ReplyDelete
  8. If you forgot BellSouth email login, we may want to let you know which you are not the best one, and this is a commonplace hassle faced through maximum of BellSouth customers across the state. We will display you the way to recover BellSouth Email password and help you in your BellSouth email login email Recovery. It is very traumatic, certainly, but the steps beneath will ease it BellSouth email login.

    Visit for More detail on our website :-https://sites.google.com/view/bellsouthemailloginpage/

    ReplyDelete
  9. HP printers and other devices were still readily available. HP Even if the product is from a well-known manufacturer, you can never expect a technical device to work flawlessly. HP printer users keep track of a number of issues over time. The first issue occurs while "HP Printer Offline," preventing printing tasks from being completed. This situation would be much worse if you had a text to print. If you've already encountered this error with your HP printer, don't panic; it can be resolved in just a few measures.
    Why is My HP Printer Offline
    Why is My HP Printer Offline
    Why is My HP Printer Offline
    Why is My HP Printer Offline
    Why is My HP Printer Offline

    ReplyDelete
  10. https://dribbble.com/shots/15486865-Aol-Tech-Support-Phone-Number-807-788-4641
    https://sites.google.com/view/aolnumber8077884641/home
    https://www.reddit.com/user/helpkataol/comments/mrxyii/call_toll_free_aol_tech_support_phone_number/
    https://aol-tech-support-phone-number.webflow.io/

    https://gust.com/companies/aol-tech-support-phone-number-807-788-4641
    https://wishlist.webflow.com/ideas/WEBFLOW-I-4142
    https://wishlist.webflow.com/ideas/WEBFLOW-I-4143
    https://ca.locanto.com/ID_4966554779/Aol-Customer-Service-Phone-Number-807-788-4641.html

    ReplyDelete
  11. https://www.ebaumsworld.com/blogs/norton-customer-service-phone-number-1807788-4641-number-norton-contact-number-2021-20211/86793047/
    https://www.ebaumsworld.com/blogs/norton-antivirus-phone-number1-807-788-4641-telephone-number-for-norton-antivirus-support-206qdiesel/86796730/
    https://www.ebaumsworld.com/blogs/norton-antivirus-phone-number-1-807-788-4641-norton-support206qdiesel/86796758/
    https://www.ebaumsworld.com/blogs/norton-antivirus-phone-number807-788-4641-norton-antivirus-support-phone-number-2021juli/86796766/
    https://www.ebaumsworld.com/blogs/norton-antivirus-customer-service1807-7884641-phone-number-antivirus-support-number2060bhdybkha/86796773/
    https://www.ebaumsworld.com/blogs/norton-antivirus-customer-service-1-8o7-788-4641-helpline-number2021/86796787/

    ReplyDelete
  12. Fantasy Power 11 if you have a good knowledge of Cricket you Can earn real money or Paytm cash. Download Link, and Review.If You have skills related to cricket, football, Kabaddi so you can play fantasy cricket in Fantasy Power11 and win real Cash.fantasy cricket tips and tricks

    ReplyDelete
  13. SBCGlobal is known among the top email service providers for offering excellent and reliable email services to its customers. If you have an SBCGlobal Email address, you can easily send and receive emails and quickly meet most of the advanced contact criteria, just as with other email platforms. However, there will be times when you are unable to connect to your SBCglobal Login account. Multiple factors can cause such issues; however, you can eliminate the error by using some basic troubleshooting techniques.
    SBCglobal email Login

    ReplyDelete
  14. Great article data and I got extremely many topic information from your website. I appreciate your work and requesting you to please keep posting other niche articles and like you, Thank you very much for giving everyone to express our feeling and thoughts about above information.
    digital marketing agency in Karachi

    ReplyDelete
  15. CrownQQ Agen DominoQQ BandarQ dan Domino99 Online Terbesar

    Yuk Buruan ikutan bermain di website CrownQQ
    Sekarang CROWNQQ Memiliki Game terbaru Dan Ternama loh...

    10 permainan :
    => Poker
    => Bandar Poker
    => Domino99
    => BandarQ
    => AduQ
    => Sakong
    => Capsa Susun
    => Bandar 66
    => Perang Baccarat
    => Perang Dadu

    Keunggulan bermain di CrownQQ :
    => Bonus Refferal 20%
    => Bonus Turn Over 0,5%
    => Minimal Depo 20.000
    => Minimal WD 20.000
    => 100% Member Asli
    => Pelayanan DP & WD 24 jam
    => Livechat Kami 24 Jam Online
    => Bisa Dimainkan Di Hp Android
    => Di Layani Dengan 5 Bank Terbaik
    => 1 User ID 10 Permainan Menarik
    => Menyediakan deposit Via Pulsa

    Link Resmi CrownQQ:
    - wincrownqq.org

    Info Lebih lanjut Kunjungi :
    Website : DominoQQ Online
    Daftar CrownQQ : Poker Online
    Info CrownQQ : Kontakk
    Linktree : Agen Poker Online

    WHATSAPP : +6287771354805
    Line : csbella1
    Telegeram : +85567903446
    Facebook : CrownQQ Official
    Kemenangan CrownQQ : Agen BandarQ

    ReplyDelete
  16. An eCommerce virtual assistant (VA) will assist you with product and research-related tasks, as well as excel work, product image editing, product listings, optimising product lists, managing pricing and inventory, fulfilling orders, processing returns and exchanges, bookkeeping, and customer service, allowing you to keep your store up to date and running 24*7.

    ReplyDelete
  17. Nice Blog !
    If you are unable to solve QuickBooks Error 1723 or find any difficulty following any step. Call us on our QuickBooks Support Phone Number for quick assistance.

    ReplyDelete
  18. Excellent HP M454DN Printer in UAE, Color LaserJet Pro Printer in UAE, Duplex Network Printer in UAE
    https://gccgamers.com/hp-m454dn-color-laserjet-pro-duplex-network-printer-white-w1y44a.html

    ReplyDelete
  19. This amazing content is exactly what I was looking for, thanks for sharing keep up the good work. Also, Check losing someone you love messages

    ReplyDelete
  20. Thank you for posting such a great article! It contains wonderful and helpful posts. Keep up the good work

    Rajasthan State Cooperative Bank

    ReplyDelete
  21. Thank you for another excellent article. Where else could anybody get that kind of info in such an ideal way of writing?
    I’ve a presentation next week, and I am on the look for such information.

    english stories gk quiz app english stories collection

    ReplyDelete
  22. It's really great reading this. Thanks for the information that you have shared here. I got to your website via the NABTEB Portal when i was checking the NABTEB Result. It's really helpful. This will definitely help me when doing my NABTEB photocard reprinting 2021.

    ReplyDelete
  23. atbu school fees and acceptance
    Fantastic information blog, sharing great ideas and amazing tips, fell in love with this awesome article and informative contents.

    ReplyDelete
  24. Samrat Indian Restaurant is een van de beste Indiaas restaurant Amsterdam. Bij ons bent u verzekerd van een unieke en moderne Indiase eetervaring met de authentieke smaak van India. Wij bieden een grote variatie aan gerechten, bereid volgens originele Indiase recepten.

    ReplyDelete
  25. Copa airlines Change flight policy Blankets will only be available in Business Class on flights of 6 hours or longer, with spare blankets in the main cabin for special needs. Blankets will be in sealed, disinfected packaging. Any food and beverages that we provide will be prepackaged.

    ReplyDelete
  26. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. I was exactly searching for. Thanks for such post and please keep it up. Great work. 3d printers for sale

    ReplyDelete
  27. De dameskledingmarkt is altijd al een marktsegment geweest met een enorm potentieel in de kledingindustrie. De markt voor dameskleding is de moeite waard om dieper te graven. Als je echter in Nederland bent en voet aan de grond wilt krijgen in de retailmarkt voor dameskleding, moet je MustHaves By Elja bezoeken. Zij zijn een van de beste leveranciers van groothandel dameskleding in Amsterdam en bieden de beste prijs, kleding en after-sales service.

    ReplyDelete
  28. Nice a great post!! The difference between Affect and Effect is easily mixed in the paragraphs. Here is a short recap of how to use affect or effect. One is a verb and the other is a noun. And want to learn deep meaning about it learn from my blogs.

    ReplyDelete
  29. Project management is a versatile field of education. Understudies ought to perform well all through their schooling. On the off chance that they feel troubles recorded as a hard copy tasks, they can take project management assignment help

    ReplyDelete
  30. Book our brand management assignment help Services.Our Team of Expert Writers plan a standard strategy to create it on time. We respect the on-time submission need of each Students .

    ReplyDelete
  31. Welldone keep it up and thanks for sharing.Like many other students, are you seeking out course information after class 12th? Do you want to know about Best Hill Station In India with no difficulties.  

    ReplyDelete

  32. Very Well Information/Ideas.thank you.
    Are you preparing for your examination of RBI SO Recruitment 2022? Do you want any sort of assistance in your preparation? Well, you’ve come to the right place so freely visit our website and get all the details. We have all the details that will assist you in preparing for your entrance exam well.

    ReplyDelete
  33. http://www.google.com.ai/url?q=https%3A%2F%2Fbookarcade.blogspot.com%2F

    ReplyDelete
  34. Very useful post.Found it very relevant and useful.I would appreciate it if you would like to visit this profile it is based on free online counter thank you.

    ReplyDelete
  35. Hey, Ben Anderson this side. I am working in a cancellation department under the Ukraine international airlines cancellation policy. If you want to know about the Ukraine international airlines cancellation policy then you can reach and can submit your request for the cancellation there.


    ReplyDelete
  36. Perkenalkan REPUBLIKSLOT yakni situs slot online 24 jam terbaik 2022 yang menyediakan ribuan mesin slot pulsa gacor mudah menang jackpot terbesar dan judi fafaslot 88 terpercaya di Indonesia melalui link slot pulsa xl alternatif resmi PASTI BAYAR. Nikmati setiap kemudahan bermain slot online24jam tanpa potongan minimal 10rb dan bonus new member 100% di awal to kecil segera dan bonus besar lainnya tanpa diundi. alternatif link kunjungi https://conecta.bio/slotxl

    ReplyDelete
  37. Hy there, Are you preparing for the du.LLB entrance? if yes then this article is the best article for you. As you know, preparation needs planning and strategy or the right guidance. For all these things you need a good coaching center that guides you the same. A coaching center not help you in a particular subject but also makes you aware of exam pattern. Here I am going to share with you a list ofbest du llb coaching institutes that provide you with excellent guidance that really brings superb results. So check out the article below and also share this great piece of content with your friends.



    ReplyDelete

  38. Bape Hoodie is the official Bape Clothing shop for real Bape Hoodie fans. Get amazing A BATHING APE Store, Sweatshirts and jacket. Fast shipping with big discount.
    Bape Hoodie

    ReplyDelete
  39. This a very informative post thanks for sharing the useful information. Very fantastic piece of content I see here on your blog, you have put out very vital tips and information for your readers. Thanks for sharing. buk approved school fees schedule per semester

    ReplyDelete
  40. Cricut.com/setup is the official website for helping Cricut machine users set up their newly purchased products. It's the perfect platform if you're looking for the Cricut Explore Air 2 setup, Cricut Maker 3 setup, Cricut Design Space setup, or Cricut Easy Press setup. Also, this site will help you connect your Cricut machine to a new device.

    ReplyDelete
  41. At the end of the day, you might miss some optimum solutions for composing the better results. So, you do not take your grade risk at any cost and instruct our
    Assignment Help Online expert for framing the best curative answer.

    ReplyDelete
  42. Great post you posted here. I visited your page for the first time but I must say that I am impressed by the words that you choose in your content, your words are amazing and very easy to read. Like you I am also here to share information about my Assignment help. Assignment help is the process in which we provide online education help for students who need it. We have an army of education experts that will help you whatever you need for your assignments.

    ReplyDelete
  43. This comment has been removed by the author.

    ReplyDelete
  44. This comment has been removed by the author.

    ReplyDelete
  45. Nice Airtcle keep Writing
    Ad Film makers

    ReplyDelete
  46. I had a great time reading your essay. I'm also a blogger, so I understand how difficult it is to create a blog or an article. I hope you will continue to publish posts on new themes like this. I've also prepared an article about the importance of the Badlion Click Test. Please take a look at the blog for further details.

    ReplyDelete


  47. Ariana Grande Merch Official Shop for all Ariana Grande fans. Get Amazing Ariana Grande merchandise Hoodies, sweatshirts and Tshirts. Fast Shipping Worldwide.
    Ariana Grande Hoodie

    ReplyDelete

  48. The new report by Expert Market Research titled, ‘Global G-Protein Coupled Receptors Market Price, Size, Share, Demand, Growth, Report and Forecast 2022-2027’, gives an in-depth analysis of the Global G-Protein Coupled Receptors Market, assessing the market based on its segments like types, therapeutics areas, and regions. The G-protein coupled receptor market would be driven by an increased number of cancer cases, increased incidence of cardiovascular disease, and breathing problems in lifestyles. The functional and structural literature on GPCR pharmacology demonstrates the adaptive utility of GPCR targets to treat a broad range of illnesses that helps extend the market in 2022. The major players in the market are Abcam PLC, Cisbio Bioassays, Becton, Dickinson and Company, Merck KGaA, Enzo Life Sciences Inc., QIAGEN, Promega Corporation, Sigma-Aldrich Corporation [Merck KGaA], Thermo Fisher Scientific Inc., and among others. Expert Market Research provides according to our clients’ needs and preferences, providing them with valuable, exact, actionable and up-to-date insights into the market, thus, helping them realize their optimum growth potential. For more information, You can visit our website.

    ReplyDelete
  49. If you dont thoughts proceed with this excellent art work and that i assume a greater amount of your magnificent weblog entries. Youre so cool! I dont think ive read something which encompass this in advance than. So great to get any man or woman by authentic thoughts on this challenge. Realy thank you for starting this up. This amazing net page is a issue that is wanted online, someone with a bit of originality." 먹튀신고

    ReplyDelete
  50. Thank you for sharing high-quality facts. It is pleasant to examine such terrific content material. Thank you for the put up 안전놀이터모음

    ReplyDelete
  51. what i do now not comprehended is d l of us to maintain this internet internet web page for any favourite assistance to help published the appearance. Exceptional put up. I used to be checking constantly this blog and i'm inspired! Enormously useful records specifically the final element :) 온라인카지노

    ReplyDelete
  52. Regular visits listed herer articles. Because they are very useful, I always wait for new posts. They are my cup of tea. Thank you for your contribution to the community. 스포츠실시간배팅

    ReplyDelete
  53. it is extremely important and larg ould s and the object. This is additionally a excellent post which i honestly enjoy reading. It isn't always everyday that i've the possibility to peer some thing like this 토토사이트추천

    ReplyDelete
  54. In simple words this website is great, all information is very useful. Excellent article, So all ideas are. Thank you for the post! Also would like to share a profile worth bookmarking,Please visit Spacebar Clicker. which allows you to check your finger speed on the spacebar button on keyboard to see how fast you can click.

    ReplyDelete
  55. This exclusive Exodus walletfocused read is everything you’d need to understand the service along with steps to make transactions via your wallet accounts. You can read my blog with a click on the button above Exodus Crypto wallet

    ReplyDelete
  56. I'm grateful that you offer this fantastic blog. Incredibly inspiring and useful. The morse code communication system alternates between long and short sounds, light flashes, or electrical pulses to transmit information. This might be quite helpful to you.

    ReplyDelete
  57. Thanks for sharing these terrific information. I really like the way you express complex topics in lucid way. It really helps me understand it much better way. read more

    ReplyDelete
  58. The information here is quite irresistible. You have made a valid point. I could not resist commenting. Thanks. Great Carp Sekiro .

    ReplyDelete
  59. Name : Rajaji Curry House Indian Restaurant
    Address: 2603 Connecticut Ave NW #2634, Washington, DC 20008
    Phone: +12022657344
    Rajaj Ji proudly stands as a premier choice for those in search of exquisite Indian cuisine in Washington, DC. Nestled in the heart of the city, our restaurant offers a culinary experience like no other, showcasing the rich tapestry of flavors and spices that define Indian cooking. From sizzling tandoori dishes to aromatic curries bursting with authentic taste, each bite at Rajaj Ji is a journey through the diverse regions of India. Our commitment to using fresh, high-quality ingredients and traditional cooking techniques ensures that every dish is a masterpiece. Whether you're a fan of spicy vindaloo or creamy butter chicken, our menu caters to all palates. Come and discover why Rajaj Ji is renowned for serving the Best Indian Food in WASHINGTON, DC

    ReplyDelete
  60. Recognizing the importance of a healthy body and mind, we offer diverse massage and Russian spa in aerocity therapies to enhance your physical and mental well-being. Our packages come with numerous benefits visit to russian spa and massage: Achieve proper posture and alleviate joint pain,Call in spa aerocity 9319033293 leading to improved overall wellness through massage treatments. Experience detoxification of the body, massage and Russian spa services in Aerocity. Embracing a healthy and peaceful lifestyle by including in a full-body massage.

    ReplyDelete
  61. Discover Delhi Indian Cuisine, your premier Indian Restaurant Near Me, conveniently located at 4022 S Maryland Pkwy Suite B, Las Vegas, NV 89119, United States. Our restaurant brings the rich flavors and aromatic spices of India right to your table. Whether you're craving traditional curries, savory biryanis, or freshly baked naan, Delhi Indian Cuisine offers a menu that caters to all your tastes. Our friendly staff and cozy ambiance ensure a memorable meal every time. For reservations or to inquire about our menu, call us at +1 702-383-4900. Make your next dining experience special with the authentic flavors of Delhi Indian Cuisine—your go-to Indian restaurant near me in Las Vegas!David Johnson

    ReplyDelete
  62. ¿No sabes cuánto cobra spirit por una maleta de 50 libras Descúbrelo fácilmente en Reserva de Vuelos. Consulta las tarifas y evita cargos extras inesperados. ¡Accede a toda la información de Spirit Airlines en nuestro sitio web y viaja tranquilo!

    ReplyDelete
  63. Thank you for sharing this information. Conceptual Surgery is a learning platform for surgery residents and practitioners to enhance their knowledge and skills by taking advantage of legendary faculty who have many years of experience in their fields.

    ReplyDelete
  64. Thank you for your support and positivity. It means a lot to me. Don’t forget to read this profile for inspiration Mental Age Test. The mental age test might surprise you with its results.

    ReplyDelete