element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Printing using Raspberry Pi  ???
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 26 replies
  • Subscribers 711 subscribers
  • Views 5111 views
  • Users 0 members are here
  • raspberry_pi;
  • print
  • raspberry_pi
Related

Printing using Raspberry Pi  ???

wallarug
wallarug over 14 years ago

Has anyone successfully printed.  I am looking to send a print job from the RPi to a Windows 7 machine that has the printer plug-in to a USB port.  I can set-up this printer on windows but I can't do it on the RPi.  I read this post: http://linuxmafia.com/faq/Debian/printing-setup.html that says to use smbclient or CUPS but they are not installing when using the apt-get.  Can someone help or shead some light on alternatives for printing over a network?

  • Sign in to reply
  • Cancel
  • e14 Contributor
    e14 Contributor over 14 years ago in reply to wallarug

    Im using the Debian 19-4-12 image. Fully updated.

     

    BTW all Chromium works from the repo's but its a real memory hog as you would guess,:)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 14 years ago in reply to rew

    how do you print after you install cups?

     

    Your step where you typed:"lpr spiro.sp" did not make any sense. Don't you have to set-up a printer/ tell the print job where to go? If so, How do I do that (after cups is installed)?

     

    Printer is called: " HP Photosmart C4500 series on 192.168.12.2 "  Location is: 192.168.12.2 on USB2 (shared printer)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 14 years ago in reply to wallarug

    Haha!

     

    Yes, somehow,printers have to be configured. Somehow however, cups seems to find printers. I did NOT configure cups on my raspberry pi. It figured out what printers there are  in my office and allows printing to them automatically.

     

    What I know is that file  (ehh. cups-) servers "shout" on the network what printers they have. Other cups installations will pick up on that and allow you to print on those printers automatically.

     

    To configure cups go to http://localhost:631 (i.e. with a webbrowser of your choice). Follow the instructions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 14 years ago in reply to rew

    When I type: http://localhost:631 into midori it does not load (Error - This page can not be found)

     

    How do I check that cups installed correctly?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rew
    rew over 14 years ago in reply to wallarug

    Check that you have /etc/cups and a file called cupsd.conf inside. That's where it should be configured to listen on port 631.

     

    I just checked, and you're right. My raspberry pi is not listening on 631. My workstations are though. I ran the cupsd.conf files through "diff" and it told me:

     

    +# Web interface setting...

    +WebInterface Yes

     

    And a few more settings.

     

    There are a bunch of other things that you might need to set to allow configuring cups through that interface. I'm not a cups expert, googling for "cups confguration" gives you a couple of "how to allow cups configuration through the web-interface" links in the top three. Check out those. Good luck!

     

    (I'm working on a different printer-problem today. A 3-D printer. :-) )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 14 years ago in reply to rew

    It seems that cups has NOT installed correctly.  Once I get it installed correctly then I will get back to you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago

    Well I don't have quite the same set-up as you but I have managed to print to a HP PhotosmartC4580 printer connected wirelessly to my router so I'll pass on how to do this in case it helps someone.

     

    To install a HP printer on Wheezy Raspbian (2012-09-18 version)

    sudo apt-get update

    followed by

    sudo apt-get install hplip 

    (hplip stands for HP Linux Imaging and Printing)

    This takes a while to download so you’ve got time for a cup of tea! ;-)

    Make sure the printer is on, then

    sudo hp-setup  -i

      follow the on-screen instructions – that’s it!

     

     

    Hope that helps!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to e14 Contributor

    Will try when I get home.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • e14 Contributor
    e14 Contributor over 13 years ago in reply to wallarug

    I'm afraid my confidence was misplaced although I do now have a fine collection of printer test pages! image

     

    I have kept trying though and have found a method that works for me and I have placed the instructions at:

     

    http://dl.dropbox.com/u/4897143/RasPi.htm

     

    My apologies for any inconvenience caused by my earlier post - I hope my latest efforts will prove more successful and would appreciate any feedback.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ianmcalpine
    ianmcalpine over 13 years ago in reply to e14 Contributor

    Alas this didn't work for me.

     

    I have an HP Officejet 6500A and when I use CUPS (http://localhost:631) my printer is setup correctly, all communications are good, it also reads my fax settings correctly... but when I try to print a test page all I get is "**** Unable to open the initial device, quitting."

     

    I confirmed pi and root are part of lp and lpadmin groups. I also ran hp-check --fix and everything is good except the cups-ddk package doesn't exist.

     

    Any ideas would be appreciated.

     

    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube