Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows 98 / Printing and Faxing / October 2004

Tip: Looking for answers? Try searching our database.

Printing a binary string of graphic to overlay printed data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave Engel - 25 Oct 2004 19:35 GMT
I am in the learning stages of developing updates for an old C++-coded
database system and application.  Many of the original library and
source files are gone and need to be rebuilt in order to recompile.
In the short term, however, I need to update the company's forms that
are printed along with their various data without recompiling the
already integrated process.  I have already determined that the
database print routines output the data to the HP 8000 printer and
then print the header and footer graphics afterward.  The graphic is
built as a form (using an old program called Perform), saved as a
binary file and susequently printed as a string via the executable on
the same page as the data.  The code works.  The data prints and the
binary graphic string is sent.  My problem is this:  If I create a new
binary print file (Saving to file at print-time) to replace the
original how do I get it to print on the same page as the data when
called by the program?  Is there some "header-reset-escape-character"
kind of stuff I need to delete from my file to prevent it from
beginning a new print job?  Do I neeed to provide more info for
somebody here to help me?

Thanks to anyone who can point me in the right direction.

daveengel(.a.t.)shaw(.d.o.t.)ca
Jeff Richards - 25 Oct 2004 22:53 GMT
You need to consult the HP documentation for the printer control language
that you are driving the printer with.  It might be PCL or it might be
Postscript, depending on the printer model and how the printer is
configured.
Signature

Jeff Richards
MS MVP (Windows - Shell/User)

>I am in the learning stages of developing updates for an old C++-coded
> database system and application.  Many of the original library and
[quoted text clipped - 18 lines]
>
> daveengel(.a.t.)shaw(.d.o.t.)ca
Dave Engel - 26 Oct 2004 23:26 GMT
> I am in the learning stages of developing updates for an old C++-coded
> database system and application.  Many of the original library and
[quoted text clipped - 18 lines]
>
> daveengel(.a.t.)shaw(.d.o.t.)ca

I solved my problem by cutting and pasting segments of the old
binaries onto my new binaries with a hex editor and then testing
extensively.  It's kludge, I know, but now I have an end product and
the time to learn printing language to learn how to do it better next
time.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.