Print to the printer

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default Print to the printer

    Hello,
    I have just started RUBY. But is there anything to print
    something to the printer through RUBY? Please help me as soon as
    possible.

    Thanks,
    Sabyasachi Mustafi
    __________________________________________________ _
    Law meets Electronics; Veena Weds Sanjay.
    Rediff Matchmaker strikes another interesting match !!
    Visit [url]http://rediff.com/matchmaker?1[/url]


    Sabyasachi Mustafi Guest

  2. Similar Questions and Discussions

    1. Print on a specific printer
      Hello, I am using PrintPagesSilent method to send PDF documents to a printer. But this method uses the default printer. I need to select a printer...
    2. Printer fails to print
      I've tried printing to my HP Laserjet6MP with ID CS2 and can't get a thing to print. The lights flash on the printer as though someones home...then...
    3. Can't print using Acrobat PDF 7.0 printer
      I have lost my ability to make a pdf by printing to the Acrobat PDF 7.0 printer. I have reinstalled the Acrobat printer. I have repaired all...
    4. print on web servers printer
      does anyone have a free component or source code that will let me print html to my servers printer? -- 5khzgjf9e001@sneakemail.com
    5. Printer Stops MId-print
      Has anyone experienced a printer stopping while printing a photo from PE2 anywhere from 25% to 75% through the job? This has been a recurring problem...
  3. #2

    Default Re: Print to the printer

    > Hello,
    > I have just started RUBY. But is there anything to print something
    > to the printer through RUBY? Please help me as soon as possible.
    Printing to the printer is an operation that is very specific to each
    operating system. There may be a way to print to the printer from the
    Operating system that you are using, but without knowing which OS that
    is... we can't help you.
    Scott


    Scott Thompson Guest

  4. #3

    Default Re: Print to the printer

    Thanks for your mail. I want to use it for LINUX and Windows
    both. For this I am planning to make it in a file and then print
    that file. But I need more specific way to do it. I think
    "/dev/lp0" will work. But is there anything to make it formatted
    with different fonts, color and size?
    I got a book a ruby book "SAMS teach yourself ruby in days"
    and after that I am planning to shift in ruby. Basically I am a VB
    programmer but I like LINUX and the open source environment. Is
    there anything in ruby to make the GUI as simple as in VB? I am
    making it in Tk and it is fine but it is taking a lot of time.
    I am in Calcutta(INDIA). I am sure that in calcutta nobody(!)
    knows ruby. I am also a student. I want to learn ruby. But there
    are no such books in here. But after joining in this list I am
    getting confidence. Make ruby popular.
    LET US RUBY

    Regards,
    Sabyasachi Mustafi


    On Thu, 04 Sep 2003 Scott Thompson wrote :
    >>Hello,
    >> I have just started RUBY. But is there anything to print
    >>something to the printer through RUBY? Please help me as soon as
    >>possible.
    >
    >Printing to the printer is an operation that is very specific to
    >each operating system. There may be a way to print to the
    >printer from the Operating system that you are using, but without
    >knowing which OS that is... we can't help you.
    >Scott
    >
    >
    __________________________________________________ _
    Law meets Electronics; Veena Weds Sanjay.
    Rediff Matchmaker strikes another interesting match !!
    Visit [url]http://rediff.com/matchmaker?1[/url]


    Sabyasachi Mustafi Guest

  5. #4

    Default Re: Print to the printer

    On Fri, 05 Sep 2003 04:53:55 +0900, Sabyasachi Mustafi wrote:
    > Thanks for your mail. I want to use it for LINUX and Windows
    > both. For this I am planning to make it in a file and then print
    > that file. But I need more specific way to do it. I think
    > "/dev/lp0" will work. But is there anything to make it formatted
    > with different fonts, color and size?
    SVG could be useful for dealing with auto-generated-images.
    Take a look at, to see if it fits your needs.
    [url]http://rubyforge.org/projects/rmagick/[/url]

    > I got a book a ruby book "SAMS teach yourself ruby in days"
    > and after that I am planning to shift in ruby. Basically I am a VB
    > programmer but I like LINUX and the open source environment. Is
    > there anything in ruby to make the GUI as simple as in VB? I am
    > making it in Tk and it is fine but it is taking a lot of time.
    I can recommend fxruby, its a ruby-interface to fox-toolkit, which
    is a platform independent widget set.. eg: works on unix, windows, macosx.
    [url]http://www.fxruby.org/[/url]

    > I am in Calcutta(INDIA). I am sure that in calcutta nobody(!)
    > knows ruby. I am also a student. I want to learn ruby. But there
    > are no such books in here. But after joining in this list I am
    > getting confidence. Make ruby popular.
    > LET US RUBY
    Great attitude, keep up the spirit :-)

    --
    Simon Strandgaard
    Simon Strandgaard Guest

  6. #5

    Default Re: Print to the printer

    > I got a book a ruby book "SAMS teach yourself ruby in days" and after
    > that I am planning to shift in ruby. Basically I am a VB programmer but
    > I like LINUX and the open source environment. Is there anything in ruby
    > to make the GUI as simple as in VB? I am making it in Tk and it is fine
    > but it is taking a lot of time.
    > I am in Calcutta(INDIA). I am sure that in calcutta nobody(!) knows
    > ruby. I am also a student. I want to learn ruby. But there are no such
    > books in here. But after joining in this list I am getting confidence.
    > Make ruby popular.
    > LET US RUBY
    Do not be surprised if there are other Ruby users in Calcutta. The book
    _Making Use of Ruby_ was written by an Indian, I think (though he may
    be a US resident or even a US citizen as far as I know).

    And while we're on the topic of books.

    The _Teach Yourself Ruby_ book is a good one. Mark Slagell did a great
    job on that, much better IMO than the average book in that series.

    As you may know: _Programming Ruby_ is the definitive Ruby book in
    English (called the "pickaxe" because of the picture on the cover). I am
    partial to _The Ruby Way_, of course, since I wrote (most of) it.
    _The Ruby Developer's Guide_ is good also.

    There's an O'Reilly book by Matz. It's the only one in English I don't
    have. I've heard it's very good, but some people have complained about
    its organization.

    If you speak German, there are a couple of other options, and if you
    speak Japanese, there are *many* others.

    And of course, there are many good websites. But you can find them all
    eventually if you "manually spider" from the ruby-lang.org site.

    Good luck, and spread the word.

    Hal


    Hal Fulton Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139