Alex wrote:
> I'm trying to write a script that'll parse MySQL and based on settings
> in the database print text from the database to various HP Jetdirect
> printers across the network. I have no idea how to do this as I want
> a graphical heading to be on each page that prints.
>
> Any ideas? I'm still working on a proof of concept, so I can use
> really any language or distro.
>
> Thanks --
>
> Alex
>
First stage is to set up a local queue with a different name: Then you
can presumably associate the printer local name with a database table so
that certain jobs or certain users' data go to certain machines.
As far as stripping the SQL data out and formatting it..thats a bit uglier.
If they all talk postscript that may help..writing raw HPPCL is doable,
but its no fun... I did write bitmap to printer converter years ago.
Takes time.
|