From: Robert L K. <rl...@al...> - 2000-02-10 00:16:06
|
From: sh...@al... Date: Thu, 10 Feb 2000 00:10:46 +0900 Ok, I'm trying to follow the horizontal print head motions. Here's a section of ESCP2 output from gimp-print: 00000008 1b ( U 05 00 02 02 01 a0 05 : 00000048 1b ( V 04 00 00 00 00 00 00000051 1b ( r 02 00 00 02 00000058 1b \ a6 ff 0000005c 1b . 01 05 05 01 be 05 (1470, 1) *0d 0000010c 1b ( r 02 00 00 01 00000113 1b \ a6 ff 00000117 1b . 01 05 05 01 be 05 (1470, 1) *0d 00000176 1b ( r 02 00 00 04 0000017d 1b \ a6 ff 00000181 1b . 01 05 05 01 be 05 (1470, 1) *0d 00000245 1b ( r 02 00 01 02 0000024c 1b \ a6 ff Roughly translated to English it's: Use 1/720" page 1/720" vertical and 1/1440" horizontal units : Right. It's interesting that it's using the ESC\ command, but for now we'll let that pass. Move to top of page Select color cyan Move left 90*1/1440" Print at 720 DPI one line of 1470 pixels with an extra 0xd at the end (???) That extra 0xd is a carriage return. Select color magenta Move left 90*1/1440" Print at 720 DPI one line of 1470 pixels with an extra 0xd at the end (???) etc. My question is, why is it only moving 90 ticks to the left when it's printing 2940 ticks to the right? The printer head should hit the right edge of the page in no time this way, no? What am I missing? Urgh. This -90 ticks looks like a problem. Perhaps this is what's causing all the grief? -- Robert Krawitz <rl...@al...> http://www.tiac.net/users/rlk/ Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lp...@uu... Project lead for The Gimp Print -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |