Solved

How to print a picture in my AS/400 spool file thru COBOL400/RPG

Posted on 2006-07-08
5
455 Views
Last Modified: 2012-06-21
Dear All,
I am working on retail domain. I have a table of product information in DB2/400. I would like to store images of each product in my table and these images to be printed in my spool file either cobol400/RPG. Is it possible to print images in my spool file as
Productname1                          Product image1
productname2                          product image2
productname3                          product image3.


Thanks for your help in this matter.

Rgds,
Subba.
0
Comment
Question by:iamsubbarao
  • 2
5 Comments
 
LVL 14

Expert Comment

by:daveslater
ID: 17079861
Hi
the only way I can think of with-out any specialised software is to save the images as an overlay and us AFPDS printer file to print the image as an overlay.

you would need one format per line and set the program to system fields to position the the overlay / image in the correct area of the page.

This is just a theory, i know it will work with a single image but several - i do not know.

Dave
0
 
LVL 14

Accepted Solution

by:
daveslater earned 50 total points
ID: 17079866
ps
the down side is the document will be very large.
0
 
LVL 16

Assisted Solution

by:theo kouwenhoven
theo kouwenhoven earned 50 total points
ID: 17088681
Hi Subba,

I don't know if this is a good idea, but it is possible to store the images on a PC (or IFS) and generate HTML pages on the AS/400 with info from your product-file. The HTML can contain links to the right picture on a your PC, Server or IFS. Printing the HTML is easy to do from the PC.

Regards,
Murph
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now