Sample Workstation Customization Object (WSCST) to create a 300 DPI TIFF File wheh using AFP to TIF or AFP to PDF Converter
From Support
| | If you have a question or seek clarification, please call Technical Support. |
Contents |
Problem:
When running a version of the RJS AFP to PDF or AFP to TIF converter that was compiled on a system with V5R1 and some of the report data appears to be shrinking in size when converted from AFP to TIF or AFP to PDF.
We have found a weird situation where on some systems this error can occur.
Solution:
Creating a workstation customization object that can handle a higher resolution image file may possibly resolve this issue.
Step 1: Create and Edit Object
Run the following command to create and edit the new workstation customization object.
STRSEU SRCFILE(RJSCONVERT/SOURCE) SRCMBR(QFXDFINE) TYPE(WSCST) TEXT('300 DPI Workstation Cust Object')
Step 2: Add Data to QFXDFINE
Add all of the following data to the new QFXDFINE source member and exit and save the source member
:WSCST DEVCLASS=TRANSFORM.
:TRNSFRMTBL.
:PRTDTASTRM
DATASTREAM= TIFF_G4.
:PRTRSLTN
RESOLUTION = 300.
:DWRPAGSIZ.
:DWRPAGSIZE
DRAWER = 1
PAGWTH = 12240 /* 8.5" in 1440ths @S2 */
PAGLEN = 15840. /* 11" in 1440ths @S2 */
:DWRPAGSIZE
DRAWER = 2
PAGWTH = 12240 /* 8.5" in 1440ths @S2 */
PAGLEN = 20160. /* 14" in 1440ths @S2 */
:DWRPAGSIZE
DRAWER = 3
PAGWTH = 11952 /* A4 @S2 */
PAGLEN = 16848.
:EDWRPAGSIZ.
:INITPRT
DATA = '4D4D002A'X.
:RESETPRT
DATA = '00000000'X.
:EWSCST.
Step 3: Create Object in RJSCONVERT
Create the new workstation customization object in RJSCONVERT
CRTWSCST WSCST(RJSCONVERT/QFXDFINE) SRCFILE(RJSCONVERT/SOURCE) REPLACE(*YES)
Step 4: Change Object
Change the AFP to PDF and AFP to TIF commands to use the new workstation customization object.
Changing CPYAFPTIF to use WSCST QFXDFINE in library RJSCONVERT
CHGCMDDFT CMD(RJSCONVERT/CPYAFPTIF) NEWDFT('MFRTYPMDL(*WSCST)')
CHGCMDDFT CMD(RJSCONVERT/CPYAFPTIF) NEWDFT('WSCSTNAME(QFXDFINE)')
CHGCMDDFT CMD(RJSCONVERT/CPYAFPTIF) NEWDFT('WSCSTLIB(RJSCONVERT)')
