WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Driver for DNP DSRX1 Printer

Driver for DNP DSRX1 Printer

by renegadex :: Rate this Message:

| View in Thread

Hi All, I'm trying to make a driver for DNP DSRX1 Dyesub Printer.
I downloaded the gutenprint-5.2.7.tar.bz2 and unpacked it. (I'm using a fresh install of Fedora 14)
I wanted to add a new size to the existing DNP DS40 driver by editing the "gutenprint-5.2.7/src/main/print-olympus.c"
and adding a new size to the Dai Nippon Section (i believe that the dsrx1 printer works the same way ds40 exept that they have different paper size, because every time i run the dsrx1 on the ds40 driver, the ribbon and paper light goes on)

/* Dai Nippon Printing DS40 */
static const dyesub_pagesize_t dnpds40_dock_page[] =
{
  { "w252h360", "3.5x5", PT(1620,300)+1, PT(1090,300)+1, 0, 0, 0, 0,
                                                DYESUB_PORTRAIT},
  { "w288h432", "4x6", PT(1920,300)+1, PT(1240,300)+1, 0, 0, 0, 0,
                                                DYESUB_PORTRAIT},
  { "w432h576", "6x9", PT(1920,300)+1, PT(2740,300)+1, 0, 0, 0, 0,
                                                        DYESUB_PORTRAIT},
  { "A5", "6x8", PT(1920,300)+1, PT(2436,300)+1, 0, 0, 0, 0,
                                                DYESUB_PORTRAIT},
};

then after editing that, i did the following:
./configure
make clean
make
make install

all seems fine, no error messages came out, but the thing is, i can't see my added paper size after i installed the printer driver and look under the "Printing Options" of the printer. Also if i change the name of the printer on the printers.xml on the source file and compile it in the same manner as before no changes was reflected on the printer PPD selection.

but if i edit the printer.xml on /usr/share/gutenprint/5.2/xml/printers.xml changes are reflected on the printer PPD selection window.

i think im doing something wrong with my compiling of the source package.

 « Return to Thread: Driver for DNP DSRX1 Printer