Changing the size of a font in a spooled file which has already been created MAY be possible, but the amount of...
code and research necessary to perform this is very time-consuming.
You would need to use several IBM APIs to retrieve the spooled file attributes, to get the spooled file data into a User Space, to create a new spooled file with the changed attributes, and then get the data back from the user space and into the new spooled file.
I don't think that your problem is solvable in that way. You are probably having problems because the driver that communicates between the OS/400 spooled file and the EPSON printer is not capable of translating the IPDS printer data stream into something that the EPSON printer can work with flexibly. A lot depends on where the driver is (iSeries, IFS, PC through Client Access, or other), the type of printer, the type of spooled file output (AFP, IPDS), the device type (*SCS or other) and so on....
Where I work we use IBM printers, which are supported by the iSeries so we don't get so many problems with printed format. I am unused to dealing with problems with other printers. But I suspect that changing the device type or the data stream type might be more helpful to you than changing the spooled file attributes.
I was thinking of creating a utility to change spool file attributes such as font, pitch, size etc., but looking at the amount of work involved I have shelved this project until I retire and have more time to do it!
================================== MORE INFORMATION ON THIS TOPIC ==================================
The Best Web Links: tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your developing questions fast.
Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.
Related Q&A from John Blenkinsop
When an error occurs on an IBM command, the diagnostic messages are sent first, then an escape message, which you can monitor. On AS/400 you see the ...continue reading
Learn how to 'append data to the file' with the FTP DIR command, and eliminate the hassle of having to end the FTP session and restart to view ...continue reading
RPGIV will 'think of' incoming integer fields as binary, and then will redefine them in the program structures as PACKED. So, when you chain a record...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.