|
I posted a while back with a problem creating SCS spool files from a Java program on a PC. The spool file was supposed to be for mailing labels with an 18 line form height, but I was getting 66-line pages. The solution was that you have to have both parms = new PrintParameterList(); parms.setParameter(PrintObject.ATTR_PAGELEN, 18F); and writer.setVerticalFormat(18); where "writer" in my case was a SCS5256Writer object. The missing setVerticalFormat() resulted in commands to set the format to 66 appearing throughout the spool file, according to a trace I sent to IBM support. -- ____________________________________________________________ Glenn Holmer gholmer@weycogroup.com Programmer/Analyst phone: 414.908.1809 Weyco Group, Inc. fax: 414.908.1601
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.