On 4 September 2012 10:25, ahmed el attar <[email protected]> wrote:
> Colin Law wrote in post #1074484:
>> On 3 September 2012 19:11, ahmed el attar <[email protected]> wrote:
>>> Hello,
>>>
>>> I'm new ruby developer, any idea about : send  text file to lpt1 port
>>> where i have installed an intermec printer?
>>
>> Are you trying to do this on the client PC or on the server?  If on
>> the server you can call out to the OS using system() so presumably you
>> could do it that way.
>>
>> Colin
>
> Thanks Colin, yes i try on the server, but you can help me please about
> this command ?

Did you try looking at the ruby documentation?  This for example
http://ruby-doc.org/core-1.9.3/Kernel.html#method-i-system

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to