Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gimp-print/doc/manual-html/ drwxr-xr-x |
Viewing file: gimpprint_38.html (3.51 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
C.4 Appropriate Remote CommandsAll of the remote commands described above are wrapped up with the usual boilerplate. The files always start with `00 00 00' and the "magic" command described above, then two `ESC @'s to reset the printer. The remote command sequences come next; if they print anything that is usually followed by a `FF' (0C hex) character to feed the page, then the file ends with another two `ESC @'s to get back to the ground state. An alignment sequence goes like this:
The sequence used (by the STC 3000, at least) to print from the roll feed is (with byte count omitted) PM 00 00 SN 00 00 00 EX 00 00 00 00 05 01 ST 00 01 SM 00 02 The sequence used by the STP 870 to print on plain paper is PM 00 00 IR 00 03 SN 00 00 01 SN 00 01 00 SN 00 02 01 EX 00 00 00 00 05 00 FP 00 00 00 and the job finishes with IR 00 02 LD For different paper type settings on the STP 870, the arguments to `SN' vary. The arguments to the first and third `SN' commands are as outlined in the description of the `SN' command above; the arguments to the second ("platen gap") are `00 01 01' for thick papers ("matte paper--heavyweight", "photo paper" and "premium glossy photo paper") and `00 01 00' for all others. For roll-mode printing, the STP 870's sequence changes as follows. `IR''s arguments become `00 01' in the header, and `00 00' after the job, and `EX''s last argument changes from `00' to `01'. For zero-margin printing on the STP 870, the arguments to `FP' become `00 0xb0 0xff'. This moves the origin about 5.5mm to the left, to a point one tenth of an inch to the left of the left-hand edge of the paper, allowing printing right up to (and beyond) the edge of the paper. Some printers (at least the STP 870) include white absorbent pads at the left margin position and other positions (89mm and 100mm on the STP 870) to soak up ink which misses the edge of the paper. Printing off the edge of paper of a width not aligned with a pad could result in making a mess of the inside of the printer and ink getting on the reverse of the paper. Go to the first, previous, next, last section, table of contents. |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0054 ]-- |