Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!peregrine!ccicpg!unix!paulm From: paulm@unix.UUCP (Owner and User) Newsgroups: comp.sys.atari.st Subject: Re: "C" escape codes needed Summary: what printer ? Message-ID: <123@unix.UUCP> Date: 28 Jan 91 15:02:37 GMT References: <28140.279f603c@kuhub.cc.ukans.edu> Organization: PLM BBS, Orange, CA Lines: 20 In article <28140.279f603c@kuhub.cc.ukans.edu>, kuento@kuhub.cc.ukans.edu writes: [...] > He's doing C programming, and needs to know all the various > "escape codes" that control the printer from directly within the C > program. He says he knows *some* of the codes, but that there are > some he doesn't know, and he's looking for a list of some sort that > describes them all...or something along those lines. Those of you > who do C programming probably know whereof he speaks. I'd like to > get responses e-mailed, but if this isn't common knowledge, perhaps > it should also be posted, as I'm sure it's of general interest. > Thanks, The actual ESCAPE codes has very little to do with 'C'. Any code can be output by placing the octal value ie. \033\001 (Escape 1 (dec) ) in a message for output. What you realy need is the type od printer you're working with (epson, laserjet) ? To output a zero try putc('\0', PRN); ---- Paul Moreau. UUNET: ..!ccicpg!unix!paulm