Printing from Euphoria under LINUX
- Posted by Kenneth Dwight Rhodes <hermanhesse at EXCITE.COM> Mar 25, 2000
- 442 views
Hi, I don't know if there is any way to print directly to the printer from Euphoria LINUX. Does anyone know? I observed that eprint.e under LINUX does not work. Yet the how2reg.ex program managed to print by writing to a file and then useing the system and LINUX cat command. It appears that LINUX does not recognize PRN as anything but a file. So any puts(PRN, "whatever") command simply writes to the file PRN. That file can then be printed with :: system("lpr PRN", 2). So for eprint.e to work under LINUX it will need to be modified to insert the printer commands into the document and then write the file to disk and then print that file. A quick work arround would be just to keep useing the "PRN" file convention and let that always be the file to be printed. Anyway, I have finally got my STAR NX 2420 working with LINUX. Someone had an Epson 24 pin printer that is comparable and was inquiring about printing in LINUX a while back. A brief little sample program for my Star printer is attached. I find it easier to print useing the decimal codes provided in the manual. This is all amateur fumbling here - so insight from the gurus will be appreciated. Ken Rhodes _______________________________________________________ Get 100% FREE Internet Access powered by Excite Visit http://freelane.excite.com/freeisp