Solved

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

Posted on 2006-07-08
5
459 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 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