How to insert a JPEG image in a C program

I need to insert a JPEG image in a C program to print every time the report is generated. The program is running on an AIX machine. Is there a way to insert the image (a barcode) to print at each of the top of the page.
bweitAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
hmm, this question is so simple and vage ...
.. I'd simply answer:

> Is there a way to insert the image (a barcode) to print at each of the top of the page.
yes

so what is the question beside that then?
I guess you need:
  1. open the jpeg file
  2. read its content
  3. convert the content to the proper format of your printer
  4. write converted data into your page as you need
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NopiusCommented:
Does your program generate reports and you wish to add some banner to each page?
If yes, how does your program send reports to printer (by what means)?
0
bweitAuthor Commented:
I'm sorry if the question seemed vague, but here is exactly what I need to accomplish:

I have a JPEG image of a barcode that needs to print at the top of the 1st page every time this report is generated, usually via VSIFAX, but sometimes to a network printer.

Do you need to see the section of code for the top of the 1st page?
0
yuzhCommented:
For barcode printing, please have a look at:
http:Q_21039990.html
http:Q_21044375.html
http:Q_21047906.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.