From: Karl H. K. <kh...@kh...> - 2000-02-08 04:46:49
|
On Mon, Feb 07, 2000 at 07:28:17PM -0500, Robert L Krawitz wrote: > In light of all this weirdness we're seeing, I'm beginning to wonder > if this is our problem after all. The printout someone sent me from a > 750 contained exactly this string, also. I'm going to stick it in; > perhaps you could try it after I commit this? Here's the init string from print-escp2.c: fprintf(prn, "\000\000\000\033\001@EJL 1284.4\n@EJL \n"); After thinking about this a little bit I guess that @EJL stands for Epson Job Language (like PJL), the 1284.4 looks like=20 IEEE 1284 (no idea what the .4 stands for), which means that the printer is programmed into a bidirectional mode.=20 I also read more in the Programming Guide and found on page 24 a description of the command transfer sequences that should be used when "talking" to a 740 or 900. This also refers to the "secret" ESC (R command. The manual just says that these commands=20 are "... not inclued in the ESC/P Reference manual." They are using these commands to set up the print job and to=20 terminate the job: 1.1 Enter Remote Mode ESC ( R 1.2 Set Paper Feed Sequence SN 1.3 Exit Remote Mode ESC NUL 1.4 Initialization ESC @ 1.5 Set graphics Mode ESC ( G 1.6 Set Unit ESC ( U =2E.. print job =2E.. 7.1 Initialize Printer ESC @ 7.2 Select Paper Feed Sequence ESC ( R LD ESC NUL So the "remote mode" is entered using ESC ( R, and it is left again with ESC NUL. Does somebody know what SN and LD stands for? This "command transfer sequence" table is probably also interesting to find out which commands should be used to accomplish certain tasks. Karl Heinz --=20 Karl Heinz Kremer kh...@kh... http://www.khk.net ICQ: 41190739 |