HolderAndrew
Well Known Member
Hi List,
has anybody managed to produce output via a subsystem UBE with page orientation of Portrait. Sounds simple but we have tried everything here with no luck. The following has been tried:
1) Within RDA, print setup at Template level to select Portrait orientation.
2) Again at Template level but selecting Landscape within print setup(I did this because I noticed that Preview mode works incorrectly with the Landscape/Portrait settings - ie. when set in Landscape the Print Preview shows Portrait and vice versa).
3) Again at Template level but selecting paper size 'Custom' by checking the custom box and leaving the width and height as 210.00 and 297.00 respectively. Also tried again by modifying the width and height to lower or higher values.
4) Within report properties, advanced tab and setting on the custom box in addition to the above scenarios.
5) I have also tried submitting the subsystem job in 3 different ways (A)manually, (B)via Job Scheduler with a RUNUBE command and (C)via a report interconnect submitted from another UBE.
ALL of the above scenarios have also been tried by altering the print setup at Version design level. The version overrides are working as I have selected different printer destinations just to make sure and the output is coming out successfully but always in Landscape mode.
The subsystem record (F986113) is inserted via a BSFN in order to trigger the UBE subsystem version. I have copied most of the BSFN code from other standard JDE BSFN's and I cannot see any differences in the way the record is inserted which would explain the difficulty in printing portrait.
The layout is well within the portrait width and is a simple group section. As soon as I turn off the subsystem flag the UBE prints correctly in portrait with method (1) above (ie. simply setting the print setup to portrait within Template RDA design).
Please has anybody got any other ideas how to print in Portrait from a subsystem UBE???? Any ideas would be appreciated.
Regards
Andrew Holder
Xe SP14.1, as400 v4r5
has anybody managed to produce output via a subsystem UBE with page orientation of Portrait. Sounds simple but we have tried everything here with no luck. The following has been tried:
1) Within RDA, print setup at Template level to select Portrait orientation.
2) Again at Template level but selecting Landscape within print setup(I did this because I noticed that Preview mode works incorrectly with the Landscape/Portrait settings - ie. when set in Landscape the Print Preview shows Portrait and vice versa).
3) Again at Template level but selecting paper size 'Custom' by checking the custom box and leaving the width and height as 210.00 and 297.00 respectively. Also tried again by modifying the width and height to lower or higher values.
4) Within report properties, advanced tab and setting on the custom box in addition to the above scenarios.
5) I have also tried submitting the subsystem job in 3 different ways (A)manually, (B)via Job Scheduler with a RUNUBE command and (C)via a report interconnect submitted from another UBE.
ALL of the above scenarios have also been tried by altering the print setup at Version design level. The version overrides are working as I have selected different printer destinations just to make sure and the output is coming out successfully but always in Landscape mode.
The subsystem record (F986113) is inserted via a BSFN in order to trigger the UBE subsystem version. I have copied most of the BSFN code from other standard JDE BSFN's and I cannot see any differences in the way the record is inserted which would explain the difficulty in printing portrait.
The layout is well within the portrait width and is a simple group section. As soon as I turn off the subsystem flag the UBE prints correctly in portrait with method (1) above (ie. simply setting the print setup to portrait within Template RDA design).
Please has anybody got any other ideas how to print in Portrait from a subsystem UBE???? Any ideas would be appreciated.
Regards
Andrew Holder
Xe SP14.1, as400 v4r5