Solved

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

Posted on 2006-07-08
5
457 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

Suggested Solutions

Title # Comments Views Activity
RPG IV and RPG ILE book 4 450
SQL subselect has mulitple rows incoming as opposed to a single row 3 476
DS3512 Replace HDD 2 58
AS400 QAOSDIAJRN / APYJRNCHG Processing 5 18
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
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…

856 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