Results 1 to 3 of 3

Thread: txt file string (CHANGED)

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143

    Resolved txt file string (CHANGED)

    ok have a txt file with loads of 1,2,3 bit decimal codes, eg 27 64 27 116 1 27 54, i need to convert this with known Epson Codes for example

    Printer Operation:
    Decimal ASCII Description
    7 BEL Beeper
    17 DC1 Select printer
    19 DC3 Deselect printer
    27 25 48 ESC EM 0 Turn cut sheet feeder control off
    27 25 52 ESC EM 4 Turn cut sheet feeder control on
    27 56 ESC 8 Disable paper out sensor
    27 57 ESC 9 Enable paper out sensor
    27 60 ESC < Select unidirectional mode for one line
    27 64 ESC @ Initialize printer
    27 85 48 ESC U 0 Cancel unidirectional mode
    27 85 49 ESC U 1 Select unidirectional mode
    27 115 48 ESC s 0 Turn half speed mode off
    27 115 49 ESC s 1 Turn half speed mode on

    whats the best way to store all these codes, as there is loads more and whats the best way to convert from the decimal to charater

    i can open the txt file and open a new one and copy into, just really need 2nd opition how to store the epson codes and how to search to find each one

    cheers for any help
    Last edited by Robbo; Dec 8th, 2004 at 07:25 AM.
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

Posting Permissions

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



Click Here to Expand Forum to Full Width