Tag: todo

  • ESC/POS control for customer display cursor

    OK, so Epson’s support proved to be useless – “isn’t there a DIP switch on the back” and “we don’t do programming here” seemed to be the best they can offer.

    Inspiration led me to lookup the ESC/POS sequences for cursor display – not DC2 & DC4 as previously though, they use the ASCII US (31 decimal) commands:

    USC 3167n select/cancel cursor display
    n=0,1 (48,49 decimal)

    So, back to uedit and try to work out what difference 0, 1, (48 & 49 decimal)  make to the thing…

    15/02/2007: answer: None at all!

  • UTW URL rewrite problem

    Various solutions to this problem are discussed on the UTW forum.

  • Expanding (folding) category lists

    I really must get around to implementing these plug-ins to stop clutter in the WordPress category and page lists.

    See also here.

    Consider the following JavaScript:
    // Toggle Show/Hide

    function toggle(name) {

    if (document.getElementById(name).style.display == "block") {

    document.getElementById(name).style.display = "none";

    } else {

    document.getElementById(name).style.display = "block";

    }

    }