Jump to content

Noodles

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Location
    127.0.0.1

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Noodles's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. One more shameless bump while I get my white flag ready.
  2. Did really nobody ever run into this issue? I'm still lost as to how to solve it...
  3. @dmob This example is awesome, thank you! Now with the printMG I was able to set up a simple little script that allows me to print receipts while on the go with an 80 mm mobile bluetooth printer. The only problem I can't seem to get a handle on is manipulating the output. As with most line printers, there are ESC/POS commands that allow for typical events, like opening a cash drawer, print upside-down and the like. In my case, I'd like to change the print mode, so I can print with double-height, double-width or both. According to the printer reference, I need to send the following command: ESC ! n, where n = 16 for double-height, 32 for double-width, etc. Seems easy enough, but I struggle with sending the command. I've tried the following examples with quotes, without quotes, all to no avail. _PrintText( $Prn Chr( 27) & Chr( 33) & 16 ) _PrintText( $Prn {ESC} & {!} & 16 ) send( Chr( 27) & Chr( 33) & 16 ) I'd be utterly grateful for any possible help or hint.
  4. This is awesome, thanks much for helping out - that code works beautifully! I'll leave a note as soon as I've managed to figure out the completion upon tabbing out, thanks for the hint regarding GUISetAccelerators, I don't think I'd have found that connection either. Much left to learn.
  5. Hey mikell, thanks a lot for the code, integrates nicely in my little project! Unfortunately, I'm still trying to find my way around AutoIt and that RegEx magic is beyond me as well. May I ask how I could deny negativ numbers and force cents for a price? For example, user enters 1 and hits tab, it changes to 1.00, enters 3.5 and it changes to 3.50 etc. Any help is greatly appreciated! Cheers, Noodles
×
×
  • Create New...