From: Joe P. <joe...@sn...> - 2001-04-13 02:31:39
|
On Wednesday 11 April 2001 10:50 pm, PASCHAL,DAVID (HP-Roseville,ex1) wrote: > Hi, > > I just checked in some more code changes, mostly regarding adding PML > support to libptal. It works pretty well over parallel and USB, but > there's still some more development and cleaning up to do, including adding > JetDirect support. Do a "cvs update" to pick up the new changes, then > re-run the configure script, make, and make install. > > Of particular interest is the new "ptal-hp" command-line application, which > has various options for device status/control, including setting the device > clock, reading the LCD contents (like xojpanel), and PML scanning. At the > moment, scanning only works on the LaserJet 1100A/1220/3200, and I'm still > trying to get it working on the OfficeJets, but I figured I might as well > check in what I have right now and keep working on it. One intention > behind ptal-hp is to serve as a prototype and testbed for future > development on xojpanel, xhpcontrol (a replacement for xojpanel), and a > unified SANE backend for the supportable OfficeJets and LaserJets. > The clock-setting feature works on the 600. Thanks for adding it. 'ptal-hp mlc:par:0 display' returns the lcd contents. 'ptal-hp mlc:par:0 device' returns "(unavailable)" for each OID requested. I found the OIDs in ptal-hp.c and compared them to the output from 'hpo listpml'. Those I looked for weren't in the list. Maybe the 600 doesn't support them? > I added to the INSTALL file a little bit of getting-started information > about ptal-hp, but later I need to go back and overhaul the documentation, > since it's gotten rather disorganized during my recent coding frenzies. > :-) That would be helpful. > Joe, thanks for your xojpanel patch. Shall I check it into CVS to serve as > a baseline for further development? That would be fine, as long as I didn't break anything in it. > I haven't yet gotten around to documenting the new PTAL API, but if you'd > like to go ahead and take a stab at switching xojpanel over to PTAL, you > can use apps/cmdline/ptal-hp.c as an example. I'll see what I can do with it, but I don't know yet how far I'll get. Any documentation you add / improve will probably help. -- Joe |