View previous topic :: View next topic
|
Author |
Message |
Ashsih
New User
Joined: 20 Dec 2007 Posts: 29 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Ashsih
New User
Joined: 20 Dec 2007 Posts: 29 Location: India
|
|
|
|
PFA the report that was displyed in spool and after printing. |
|
Back to top |
|
|
Ashsih
New User
Joined: 20 Dec 2007 Posts: 29 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
research the original specifications of the application !
very little we can do without the details |
|
Back to top |
|
|
Ashsih
New User
Joined: 20 Dec 2007 Posts: 29 Location: India
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
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 |
|
|
|