Q

Changing the font size1

How to change the font size of an AS/400 spool file for printing

How can I change the font size when sending a spooled file to the printer?

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.

This was last published in January 2005

Dig Deeper on Printing on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close