!c99Shell v. 1.0 pre-release build #16!

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
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/share/gimp-print/doc/manual-html/   drwxr-xr-x
Free 50.91 GB of 127.8 GB (39.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     gimpprint_44.html (4.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
GIMP-Print - Canon inkjet printers Go to the first, previous, next, last section, table of contents.


D.5 Canon inkjet printers

Basically, a new Canon printer can be added to `print-canon.c' in a similar way as described above for the epson inkjet printers. The main differences are noted here:

In general, Canon printers have more "built-in intelligence" than Epson printers which results in the fact that the driver only has to tell the printing conditions like resolutions, dot sizes, etc. to the printer and afterwards transfer the raster data line by line for each color used.

canon_cap_t is a C struct defined as follows:

Data type: canon_cap_t
typedef struct canon_caps {
  int model;          /* model number as used in printers.xml */
  int max_width;      /* maximum printable paper size */
  int max_height;
  int base_res;       /* base resolution - shall be 150 or 180 */
  int max_xdpi;       /* maximum horizontal resolution */
  int max_ydpi;       /* maximum vertical resolution */
  int max_quality;
  int border_left;    /* left margin, points */
  int border_right;   /* right margin, points */
  int border_top;     /* absolute top margin, points */
  int border_bottom;  /* absolute bottom margin, points */
  int inks;           /* installable cartridges (CANON_INK_*) */
  int slots;          /* available paperslots */
  int features;       /* special bjl settings */
  canon_dot_size_t dot_sizes;	/* Vector of dot sizes for resolutions */
  canon_densities_t densities;	/* List of densities for each printer */
  canon_variable_inklist_t *inxs; /* Choices of inks for this printer */
} canon_cap_t;

Since there are Canon printers which print in resolutions of @math{2^n*150} dpi (e.g. 300, 600, 1200) and others which support resolutions of @math{2^n*180} dpi (e.g. 360, 720, 1440), there's a base resolution (150 or 180, respectively) given in the canon_cap_t. The structs canon_dot_size_t, canon_densities_t and canon_variable_inklist_t refer to resolutions being multiples of the base resolution.

For the Canon driver, the struct canon_dot_size_t holds values for a model's capabilities at a given resolution: `-1' if the resolution is not supported. `0' if it can be used and `1' if the resolution can be used for variable dot size printing.

In canon_densities_t the base densities for each resolution can be specified like for an epson printer, the same holds true for canon_variable_inklist_t. See the descriptions above to learn about how to adjust your model's output to yield nice results.

There's a slight difference though in the way the Canon driver and the escp2 driver define their variable inklists: In the Canon driver, you need to define an inklist like this:

static const canon_variable_inklist_t canon_ink_myinks[] =
{
  {
    1,4, /* 1bit/pixel, 4 colors */
    &ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
    &ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
  },
  {
    3,4, /* 3bit/pixel, 4 colors */
    &ci_CMYK_3, &ci_CMYK_3, &ci_CMYK_3,
    &ci_CMYK_3, &ci_CMYK_3, &ci_CMYK_3,
  },
};

where the `&ci_CMYK_1' and `&ci_CMYK_3' entries are references to a previously defined const of type canon_variable_inkset_t.


Go to the first, previous, next, last section, table of contents.


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0062 ]--