Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

15 Experts available now in Live!

Get 1:1 Help Now