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
  • 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 680 subscribers
  • Views 3930 views
  • Users 0 members are here
  • raspberry_pi;
  • print
  • raspberry_pi
Related

Printing using Raspberry Pi  ???

wallarug
wallarug over 13 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
  • Former Member
    Former Member over 13 years ago

    Good question Fergus. I was going to try CUPS later. Now I shall watch this thread like a hawk. Thanks. image

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

    I am told that CUPS does not work on ARM.  So what is the alternative? or is there a ported version?

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

    To verify your claims I logged into my raspberry pi, I typed "apt-get install cups-bsd" (because I like the bsd-interface for printing), and it pulled in a shitload of packages.

    Next I typed "lpr spiro2.ps" and I got a pleasing pattern out of my printer.

     

    spiro2.ps contains the following data:

    %!PS-Adobe-1.0

    %%BoundingBox: 0 0 596 842

     

    /cshow { dup stringwidth pop 2 div 0 exch sub 0 rmoveto show } def

    (Times-Roman) findfont 7 scalefont setfont

     

     

    72 25.4 div dup scale

     

    0.1 setlinewidth

     

    /cx 105 def

    /cy 150 def

     

    /r1x 65 def

    /r1y 110 def

     

    /r2x 35 def

    /r2y 35 def

     

    /fac 9.95 def

     

     

    0

    dup

        dup sin r1x mul exch fac mul sin r2x mul add cx add exch

        dup cos r1y mul exch fac mul cos r2y mul add cy add moveto

     

    0 0.1 7200 {

    dup

        dup sin r1x mul exch fac mul sin r2x mul add cx add exch

        dup cos r1y mul exch fac mul cos r2y mul add cy add lineto

    } for

     

    stroke

     

    showpage

     

    So to answer your question: Cups just works, I have no reason to believe it doesn't work on "ARM".

     

    (there might be binary drivers for specialized printers that don't work. But in general it just works. Especially for network-printing there is no reason it should not work.)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to rew

    I believe cups is supplied with the Fedora14 Arm remix,

    and presumably with Fedora17 whenever that arrives.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago

    I have a HP 5510 networked printer and after installing

     

    sudo apt-get install cups.bsd

     

    the printer works perfectly  (only tried from Office Writer)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rhughes-uk
    rhughes-uk over 13 years ago in reply to Former Member

    Thats great Brian. Can I ask is the HP only available via the network or do you have a usb to the Pi. I have two similar printers and have installed cups but although it saw both printers on reboot they both disappeared never to return.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to rhughes-uk

    Hi Ray,

    The HP 5510 Photosmart is connected to the network via WiFi.  The RPi is connected  to the network via ethernet.  ( I am having trouble with a WiFi connection for the RPi)

     

    When I was installing a different package I was shocked to see   ¨HP 5510¨   appear in the boot-up list.  On subsequent reboots it has never appeared, but towards the end of the list it says "Starting Common Unix Printing System:"

     

    I have had trouble with a powered  hub.  I have recently discovered the problem.  I was using an Apple USB keyboard, and this has a built-in hub.  The RPi did not like a hub in a hub situation.  A cheap KB from eBay solved that problem.  Now to get the thing using WiFi.  Again, I think its all down to which WiFi adaptor.  I think a driver is included in the Debian6 Squeeze build, but .....   which one, and for which adaptor ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rhughes-uk
    rhughes-uk over 13 years ago in reply to Former Member

    Thanks Brian. Yes both of my printers appeared in the boot list as you suggest but not since. Mine also shows its startng Cups OK.

     

    The WiFi adapter seems to be an issue common with debian installs. I have had it before on non Arm devices. I have tried all the tricks with no avail so far. I will keep on trying and reporting back. My adapter is Belkin F6D4050 V1 = rt2870sta

     

    Good luck to all waiting for their Pi's you will find its worth it. image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to rhughes-uk

    Thanks for all the replies guys.

     

    I will test this out whenever I find sometime (very busy this week)

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

    What image are you using??

    • 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 © 2025 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube