Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Image hardcoding in Module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Ashsih

New User


Joined: 20 Dec 2007
Posts: 29
Location: India

PostPosted: Thu Jun 26, 2008 1:12 pm    Post subject: Image hardcoding in Module
Reply with quote

I have COBOL module which is used produce report whenever someone placed the order and the same report is sent to printer. Now i have to make change that was hardcoded in this report like Logo of Company, Signature of Marketing head person in module. Same images are hardcoded in the module.

How i can change that images?

Please find the one of the image hardcoded in module.

10 FILLER PIC X(08) VALUE '..L¿ö...'.

I tried to print the report in spool but same value is display as defined in code.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Thu Jun 26, 2008 1:15 pm    Post subject: Reply to: Image hardcoding in Module
Reply with quote

The spool will contain the sysout as generated
( and certainly images, logos, signature will look like garbage )
the only way to check is to look at the real output on the proper printer
Back to top
View user's profile Send private message
Ashsih

New User


Joined: 20 Dec 2007
Posts: 29
Location: India

PostPosted: Thu Jun 26, 2008 1:18 pm    Post subject: Reply to: Image hardcoding in Module
Reply with quote

PFA the report that was displyed in spool and after printing.
Back to top
View user's profile Send private message
Ashsih

New User


Joined: 20 Dec 2007
Posts: 29
Location: India

PostPosted: Thu Jun 26, 2008 1:21 pm    Post subject: Reply to: Image hardcoding in Module
Reply with quote

As printer is located US and i am working in India. Also i am doing testing work so People located in printer side will not help out much on this.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Thu Jun 26, 2008 1:27 pm    Post subject: Reply to: Image hardcoding in Module
Reply with quote

research the original specifications of the application !

very little we can do without the details
Back to top
View user's profile Send private message
Ashsih

New User


Joined: 20 Dec 2007
Posts: 29
Location: India

PostPosted: Thu Jun 26, 2008 2:40 pm    Post subject:
Reply with quote

Also can anyone tell me how i can convert '..L¿ö...'. this value into image. Or supposed i have any image how i insert into my code.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Jun 26, 2008 4:26 pm    Post subject:
Reply with quote

good chance the '..L¿ö...'. is the necessary hex configuration for the image to be printed on a printer that will print images. Is that what you are testing on?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jun 26, 2008 8:56 pm    Post subject:
Reply with quote

Hello,

If you expand the "garbage" into hex, you should see "escape sequences" that "program" the printer.

If you post the hex, i may be able to decipher some of it (been a long time since i had to program an HP LaserJet to do what your code does. . .). Hopefully, your code is using PCL rather than PostScript.
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Tue Jul 01, 2008 5:09 pm    Post subject:
Reply with quote

I do work in a similar kind of application. The image name will be hardcoded in the program or read from the file.

But the actual image needs to be loaded into the Printer, when printing this document the image Id gets mapped with the actual image in the printer and Print.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Need help in triggering a PL1 module ... Varungv99 IMS DB/DC 0 Fri Apr 07, 2017 10:01 am
No new posts Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm
No new posts Copybook structure in Load module Vai123 COBOL Programming 7 Fri Sep 16, 2016 8:29 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us