On Thu, Oct 05, 2000, Noam Meltzer wrote about "HP 720C":
> Ooopssss....
> I checked now in the printing howto, and I found out that it is
> supported under linux. Very strange to me because I remembered that it
> wasn't, especially because I have one in work, and I checked about it.

Take a look at http://sourceforge.net/projects/pnm2ppa/

For at least 2 years now, this guy (I forgot his name) was trying to
reverse engineer HP's "HP Printing Architecture" (the proprietary protocol
the windows drivers were using to communicate with the printer, used in the
720C and several other printers).
When I got my 720C printer, about 2 years ago, these drivers only worked in
black-and-white, but they now work in color, quite nicely, and the 720C
(or whatever successor to it they sell now) is a good, cheap, printer for
Linux.

I set up my printer on my own (I had Redhat 6.0 then), but since Redhat 6.2
the 720C is supported directly by redhat (run printtool) - so if you're having
trouble it's probably some other configuration error, not an unsupported
printer.

For the curious:

What I have done (redhat does a very similar thing, I guess) is to set up a
print filter that takes a postscript file, run gs on it to produce a bitmap,
and then convert the bitmap in to the HP PPA format to send to the printer:

In /etc/printcap I put
        lp|HP DeskJet 720C:\
                :lp=/dev/lp0:\
                :sd=/var/spool/lpd/lp:\
                :lf=/var/spool/lpd/lp/log:\
                :af=/var/spool/lpd/lp/acct:\
                :if=/usr/local/bin/ps.if:\
                :la:mx#0:\
                :sh:sf:

        lpc|HP DeskJet 720C:\
                :lp=/dev/lp0:\
                :sd=/var/spool/lpd/lp:\
                :lf=/var/spool/lpd/lp/log:\
                :af=/var/spool/lpd/lp/acct:\
                :if=/usr/local/bin/psc.if:\
                :la:mx#0:\
                :sh:sf:

(two virtual printers - one for color printout, one for black-and-white),
and the two input filters are:

/usr/local/bin/ps.if:
gs -dSAFER -sPAPERSIZE=a4 -sDEVICE=pbmraw -q -dNOPAUSE -r600 -sOutputFile=- - | 
pbm2ppa - -
/usr/local/bin/psc.if:
gs -dSAFER -sPAPERSIZE=a4 -sDEVICE=ppmraw -q -dNOPAUSE -r600 -sOutputFile=- - | 
pnm2ppa - -

and my configuration files:
/etc/pbm2ppa.conf:
        version  720
        papersize       a4
        xoff    140 # \ Adjust these for your printer.
        yoff    -530 # / (see CALIBRATE)
        top      150
        bottom   150
        left     150
        right    150
/etc/pnm2ppa.conf:
        version  720    # 710, 712, 722 also acceptable
        papersize a4
        ColOffsX        -12
        ColOffsY        41
        RedGammaIdx     6
        GreenGammaIdx   3
        BlueGammaIdx    3
        xoff    140 # \ Adjust these for your printer.
        yoff    -530 # / (see CALIBRATE)
        # 1/4 inch margins all around (at 600 DPI)
        top      150
        bottom   150
        left     150
        right    150






-- 
Nadav Har'El                        |        Friday, Oct 6 2000, 8 Tishri 5761
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |I don't suffer from insanity, I enjoy
http://nadav.harel.org.il           |every minute of it.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

  • HP 720C Noam Meltzer
    • Nadav Har'El

Reply via email to