>
> What I need to do, is download a logo to the printer's memory then print my
> form/report and have the logo transfer from the printer's memory onto the
> form.
>
> Has anyone done this, or know where I can get the pcl commands to do this
> ???
>
> TIA.
I did that once, not with a logo and not PCL (actually, it was six digit
numbers large enough so the forklift driver could see it on a box in the
refrigerator hall), but the trick is essentially the same.
Print the logo from some other program. Capture thr printout into a
file. Replace the final formfeed in it with null using any hex editor.
Put it into a memo file somewhere. Create a function to write it all up
when it comes to printing and make it return empty string. Create an
empty space on your report and put that function where appropriate. Run
the report (and pray :).
The tricky part is where it says "write it all up". The ?? command won't
give out a string longer than 256 characters without wrapping (or
leaving out the rest, not sure) - try ?repl("x",300), it printed five
lines @ 50 and extra 6 Xes for me. The trick can maybe be done by
chopping the length of memo field into shorter (128 byte?) parts, or
finding gaps in what it prints (linefeeds etc) and cutting it along
those lines.
OK, that's old technique - quick and dirty. Why not just cram the BMP
onto the report and get over with it?