Search:

Type: Posts; User: CynicRus; Keyword(s):

Page 1 of 5 1 2 3 4

Search: Search took 0.06 seconds.

  1. [SOLVED] Re: How to get printer name attached through LPT or serial Port?

    You can for everyone. The main thing after all that work. Using basic tools Unix - this is Unix way. You can manually read / dev/lp0, or can call cat /dev/lp0 - this is the same. Just in the first...
  2. [SOLVED] Re: How to get printer name attached through LPT or serial Port?

    http://koders.com/c/fidC2E4C7C1EE64182E91E95E853281CCAB37D8BDD8.aspx?s=%2fdev%2flp0#L40 - just read this source.
  3. [SOLVED] Re: How to get printer name attached through LPT or serial Port?

    For launching system command in C function system() is used
  4. [SOLVED] Re: How to get printer name attached through LPT or serial Port?

    In my opinion, you can read "/dev/lp0" or "/dev/ports" and get needed information manually.
  5. Replies
    3
    Views
    509

    Re: problem with script

    for i in $(seq $line); do
    [ $(($i%128)) -eq 0 ] && echo -n "multiples 128"
  6. Re: Gtkmm: Modify background colour of DrawingArea

    Gtk::Widget*
    Window::Drawing(int width, int height)
    {
    Gtk::Fixed* box = manage(new Gtk::Fixed);
    box->set_size_request(width, height);
    Gtk::DrawingArea* borders[4];
    for (int i =...
  7. Re: Gtkmm: Modify background colour of DrawingArea

    try this:


    Gdk::Color color;
    color = //you color
    imageArea->modify_bg(Gtk::STATE_NORMAL, color);
  8. Replies
    8
    Views
    476

    Re: Quick bash question,

    I think - if you want to write it errors, then the script to capture the output of running the program, and analyze it accordingly. Of course - you need to know that the program displays an error in...
  9. Re: Linux equivalent to MSDN's GetBestRoute() C++

    As such - no analogues, so that either implement the function yourself, or look in the direction of libwine, which in itself is a terrible crutch.
  10. Re: Opening Gnome-Do source code in MonoDevelop

    https://answers.launchpad.net/do/ - I think it is a chance to get an answer to your question above.
  11. Replies
    3
    Views
    311

    [SOLVED] Re: Bizarre kernel thread behavior

    #include <linux/module.h>
    #include <linux/sched.h>
    #include <linux/delay.h>

    static int param = 3;
    module_param( param, int, 0 );

    static int thread( void * data ) {
    printk(...
  12. [SOLVED] Re: Does Linux try supporting any languages like Delphi(or pascal)

    Under Linux, there is FreePascal and Lazarus IDE. Lazarus able to convert projects Delphi to Lazarus project, and compile this. But - usually have to rewrite many parts of the project. So it may be...
  13. Replies
    6
    Views
    971

    [SOLVED] Re: Some question about Assembly Language

    In my opinion, assembly needed in the first place - working with the hardware directly, as well as - for equipment with low memory, where at times to save bytes of memory cycles needed to expand the...
  14. Replies
    0
    Views
    346

    [C] GTKTreeModel

    Hello! I work with a file with tree structure, and I need to visualize it to work with him. For these purposes, I use a GtkTreeView. But I have a problem: GTKTreeModel - must have a certain...
  15. Re: How to print some characters on any printer in ubuntu?

    Maybe cups notification interface may help you.

    See: http://linux.die.net/man/7/notifier

    But im not sure.
  16. Re: OpenKinect/freenect libraries and "undefined reference" errors

    try g++ nod.cpp nod.o -o nod -lfreenect
  17. Replies
    13
    Views
    1,444

    Re: What is the best IDE on ubuntu?

    i use emacs + glade for C, QTCreator for C++. For python and other - emacs.
  18. Replies
    5
    Views
    552

    Re: Strange bugs with my program (Bash)

    bitnscript - subscript-)

    So, why you use 2 script? You can complete you task with 1 script. Bash have procedure, you can write some procedure, and call this procedure after key press. But, if you...
  19. [SOLVED] Re: I think I broke something in update manager

    Try dpkg --configure -a
  20. Replies
    5
    Views
    552

    Re: Strange bugs with my program (Bash)

    ./misc/clean.sh: line 31: syntax error: unexpected end of file - You forgot to close the bracket-)

    As for the rest - it is believed that the whole problem because - what do you use the script with...
  21. Replies
    5
    Views
    5,507

    [ubuntu] Re: Help Installing emit

    I see that this program exists under the android and the mac. How to run Mac - I don `t know, but that's about an android tell.
    I'm not sure that the description of a way to completely solve the...
  22. Replies
    12
    Views
    821

    [xubuntu] Re: xubuntu 11.10 crashing on logout

    /home/user/.xsession-errors:
    instead of the user - substitute your username that you use. well, before the above way - put cat.
  23. Replies
    12
    Views
    821

    [xubuntu] Re: xubuntu 11.10 crashing on logout

    Give your session log. Usually is it: /home/user/.xsession-errors
  24. Replies
    12
    Views
    821

    [xubuntu] Re: xubuntu 11.10 crashing on logout

    Well, I'm not telepathic, to predict that your system is not the case with this procedure. Give some more information and maybe someone will be able to solve this problem
  25. Replies
    12
    Views
    821

    [xubuntu] Re: xubuntu 11.10 crashing on logout

    @2F4U Yes, exactly. I have them from time to time, confuse)
    May try open terminal, and run : xfce4-session-logout --logout
    If system freeze\crash - paste terminal output to here.
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4