# This is an LPD-O-Matic/Direct-O-Matic printer definition file for the # HP DeskJet 640C printer using the hpijs driver. # # It is designed to be used together with the lpdomatic or directomatic # backend filter script. For more information, see: # # Documentation: http://www.linuxprinting.org/lpd-doc.html # http://www.linuxprinting.org/direct-doc.html # Driver `hpijs': http://www.linuxprinting.org/show_driver.cgi?driver=hpijs # HP DeskJet 640C: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_640C # "$postpipe" is a command to pipe the printer data to somewhere on the # network or, in case of Direct-O-Matic, to a local printer port (parallel, # serial, or USB). Uncomment/modify a line you like. For local printers # under LPD-O-Matic this doesn't apply. # # Netware users might stick something here like: # # $postpipe = '| nprint -U guest -S net -q foo1 -'; # # Remote LPD printers should be done using rlpr. The if= isn't run # with any arguments locally, so you have to set up lpdomatic printing # to a local printer on /dev/null, and set this to *really* send the # job over the network. # # $postpipe = '| rlpr -Premotequeue@remotehost'; # # Windows/SMB remote printers would use an smbprint command. # # Remote HP JetDirect network printers will usually work with either of: # # $postpipe = '| nc -w 1 ipaddress 9100'; # $postpipe = '| rlpr -Praw@ipaddress'; # # Note the "-w 1" in the "nc" command line, it makes "nc" exiting # immediately after the data is tranferred to the printer. # # To print on local printers with Direct-O-Matic use the "cat" command: # # $postpipe = '| cat > /dev/lp0'; # $postpipe = '| cat > /dev/usb/lp0'; # # Important is to remember the leading | symbol. $VAR1 = { 'type' => 'F', 'usb_des' => undef, 'pjl' => undef, 'pnp_mfg' => undef, 'args_byname' => { 'PageSize' => { 'vals_byname' => { 'Letter' => { 'comment' => 'Letter', 'idx' => 'ev/hpijs-PageSize-Letter', 'value' => 'Letter', 'driverval' => ' -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792' }, 'Photo' => { 'comment' => 'Photo', 'idx' => 'ev/hpijs-PageSize-Photo', 'value' => 'Photo', 'driverval' => ' -dDEVICEWIDTHPOINTS=288 -dDEVICEHEIGHTPOINTS=432' }, 'Hagaki' => { 'comment' => 'Hagaki', 'idx' => 'ev/hpijs-PageSize-Hagaki', 'value' => 'Hagaki', 'driverval' => ' -dDEVICEWIDTHPOINTS=283 -dDEVICEHEIGHTPOINTS=420' }, 'B5JIS' => { 'comment' => 'B5 (JIS)', 'idx' => 'ev/hpijs-PageSize-B5JIS', 'value' => 'B5JIS', 'driverval' => ' -dDEVICEWIDTHPOINTS=516 -dDEVICEHEIGHTPOINTS=729' }, 'A4' => { 'comment' => 'A4', 'idx' => 'ev/hpijs-PageSize-A4', 'value' => 'A4', 'driverval' => ' -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842' }, 'Legal' => { 'comment' => 'Legal', 'idx' => 'ev/hpijs-PageSize-Legal', 'value' => 'Legal', 'driverval' => ' -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=1008' }, 'A5' => { 'comment' => 'A5', 'idx' => 'ev/hpijs-PageSize-A5', 'value' => 'A5', 'driverval' => ' -dDEVICEWIDTHPOINTS=420 -dDEVICEHEIGHTPOINTS=595' }, 'Oufuku' => { 'comment' => 'Oufuku-Hagaki', 'idx' => 'ev/hpijs-PageSize-Oufuku', 'value' => 'Oufuku', 'driverval' => ' -dDEVICEWIDTHPOINTS=420 -dDEVICEHEIGHTPOINTS=567' }, 'A6' => { 'comment' => 'A6', 'idx' => 'ev/hpijs-PageSize-A6', 'value' => 'A6', 'driverval' => ' -dDEVICEWIDTHPOINTS=297 -dDEVICEHEIGHTPOINTS=420' } }, 'style' => 'C', 'name' => 'PageSize', 'type' => 'enum', 'comment' => 'Page Size', 'proto' => '%s', 'order' => 105, 'default' => 'Letter', 'idx' => 'opt/hpijs-PageSize', 'vals' => [ {}, {}, {}, {}, {}, {}, {}, {}, {} ], 'spot' => 'A' }, 'Quality' => { 'vals_byname' => { '300PhotoCMYcmK' => { 'comment' => '300 dpi, Photo, Photo & Color Cartr., Premium Paper', 'idx' => 'ev/hpijs-Quality-300PhotoCMYcmK', 'value' => '300PhotoCMYcmK', 'driverval' => '"Quality:Quality=2,Quality:ColorMode=2,Quality:MediaType=1,Quality:PenSet=4" -r300' }, '300GrayscaleCMYK' => { 'comment' => '300 dpi, Grayscale, Black & Color Cartr., Plain Paper', 'idx' => 'ev/hpijs-Quality-300GrayscaleCMYK', 'value' => '300GrayscaleCMYK', 'driverval' => '"Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2" -r300' }, '300ColorCMYK' => { 'comment' => '300 dpi, Color, Black & Color Cartr., Plain Paper', 'idx' => 'ev/hpijs-Quality-300ColorCMYK', 'value' => '300ColorCMYK', 'driverval' => '"Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2" -r300' } }, 'style' => 'C', 'name' => 'Quality', 'type' => 'enum', 'comment' => 'Quality, Ink Type, Media Type', 'proto' => ' -sIjsParams=%s', 'order' => 110, 'default' => '300ColorCMYK', 'idx' => 'opt/hpijs-Quality', 'vals' => [ {}, {}, {} ], 'spot' => 'A' }, 'Model' => { 'vals_byname' => { 'HP-DeskJet_640C' => { 'comment' => 'HP DeskJet 640C', 'idx' => 'ev/hpijs-Model-HP-DeskJet_640C', 'value' => 'HP-DeskJet_640C', 'driverval' => '-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="DESKJET 640"' } }, 'required' => 1, 'style' => 'C', 'name' => 'Model', 'type' => 'enum', 'comment' => 'Model', 'proto' => ' %s', 'order' => 100, 'default' => 'HP-DeskJet_640C', 'idx' => 'opt/hpijs-Model', 'vals' => [ {} ], 'spot' => 'A' } }, 'ascii' => 1, 'pnp_mdl' => undef, 'driver' => 'hpijs', 'compiled-at' => 'Sat Apr 13 22:21:25 2002', 'snmp_cmd' => undef, 'model' => 'DeskJet 640C', 'url' => 'http://hpinkjet.sourceforge.net/', 'cmd' => 'gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=/opt/hpijs/bin/hpijs%A -dIjsUseOutputFD%Z -sOutputFile=- -', 'snmp_des' => undef, 'par_mfg' => undef, 'make' => 'HP', 'par_mdl' => undef, 'color' => 1, 'pnp_cmd' => undef, 'usb_mfg' => undef, 'usb_mdl' => undef, 'pnp_des' => undef, 'maxspot' => 'A', 'args' => [ {}, {}, {} ], 'id' => 'HP-DeskJet_640C', 'comment' => ' This driver is the first free driver issued by HP for its DeskJet printers. Since version 1.0.1 HP has put it under a BSD-like license without the restriction that it is only allowed to use the driver with HP printers, as it was the case for HPIJS 1.0 and earlier. So this driver is really free software now.

Since version 1.0 the driver uses the new IJS interface to plug in drivers into GhostScript without needing to recompile GhostScript, the driver is provided by an extra executable invoked by GhostScript which gets the raster data from GhostScript via shared memory, which is much faster than piping bitmap output into the standard input of the driver, in addition GhostScript can ask the driver for the capabilities of the printer/driver pair.

The quality of colour printing is much higher than the quality of the other drivers. For grayscale printing on printers where 600-dpi in grayscale is not supported by this driver you get higher quality with "gimp-print"/"stp".

The quality on photo papers (in photo mode) is very high, especially for the newer models (beginning from the HP DeskJet 990C) which auto-detect the paper type by a hardware facility and so automatically switch between the normal colour mode and the photo mode. On the HP DeskJet 990C and newer there is also a 1200 dpi high resolution mode available, which gives excellent photo quality. This driver is the only free one which supports more than 600 dpi on HP inkjet printers.

The driver execution data currently available on this site is for version 1.0.4 (or newer) of HPIJS and IJS 0.33 (available in GNU GhostScript 6.53 and APFL GhostScript 7.04). It does not work with older versions of HPIJS and IJS.

', 'timestamp' => '1018750885', 'compiled-by' => 'www-data@poblano', 'par_cmd' => undef, 'snmp_mfg' => undef, 'snmp_mdl' => undef, 'usb_cmd' => undef, 'par_des' => undef }; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[0] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Letter'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[1] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'A4'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[2] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'A5'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[3] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'A6'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[4] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'B5JIS'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[5] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Hagaki'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[6] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Legal'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[7] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Oufuku'}; $VAR1->{'args_byname'}{'PageSize'}{'vals'}[8] = $VAR1->{'args_byname'}{'PageSize'}{'vals_byname'}{'Photo'}; $VAR1->{'args_byname'}{'Quality'}{'vals'}[0] = $VAR1->{'args_byname'}{'Quality'}{'vals_byname'}{'300ColorCMYK'}; $VAR1->{'args_byname'}{'Quality'}{'vals'}[1] = $VAR1->{'args_byname'}{'Quality'}{'vals_byname'}{'300GrayscaleCMYK'}; $VAR1->{'args_byname'}{'Quality'}{'vals'}[2] = $VAR1->{'args_byname'}{'Quality'}{'vals_byname'}{'300PhotoCMYcmK'}; $VAR1->{'args_byname'}{'Model'}{'vals'}[0] = $VAR1->{'args_byname'}{'Model'}{'vals_byname'}{'HP-DeskJet_640C'}; $VAR1->{'args'}[0] = $VAR1->{'args_byname'}{'PageSize'}; $VAR1->{'args'}[1] = $VAR1->{'args_byname'}{'Quality'}; $VAR1->{'args'}[2] = $VAR1->{'args_byname'}{'Model'};