[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2714.0. "bug in WPPARG form" by UTRTSC::SMEETS (Martin Smeets DS SSO Utrecht (NL)) Fri May 14 1993 16:53

Hi,

Customer found a reproducable bug in ALL-IN-1 V3.0-1.

When user prints a document and leaves the print style field in form WPPARG 
empty and requests more than 1 copy , he only gets ONE copy.

I've done some investigations and it seems to me that 

the /PUT_SAVE=#COPIES in the ;;COPIES;; section is ignored if the .if clause in 
the /PRE part is false.



;;COPIES;;

/PRE='.IF oa$printstyles.pt_copies_changeable[PTRTYP] EQS OA$N
       THEN GET OA$DISPLAY = OA$_WP_COPIES_NOT_CHANGE\\
            OA$FLD_PREV'
/PUT_SAVE=#COPIES
/VALID=<.IF COPIES GE 1 AND COPIES LE 255
 THEN OA$VAL_SET_VALID ELSE GET OA$DISPLAY=OA$_WPPARG_CO\\FORCE
/RECOG=<GET OA$DISPLAY=OA$_WPPARG_CO\FORCE
/HARD=OA$_WPPARG_COPIES

Martin
T.RTitleUserPersonal
Name
DateLines
2714.1It's knownIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Fri May 14 1993 17:174
It's a known problem, which is also in V3.0, and has been fixed in a PFR.  
Another SPR or IPR is not required.

Richard
2714.2Possible Future Release ?UTRTSC::SMEETSMartin Smeets DS SSO Utrecht (NL)Mon May 17 1993 09:5412
Hi Richard,

> It's a known problem, which is also in V3.0, and has been fixed in a PFR.  
> Another SPR or IPR is not required.

Maybe a dumb question, but what's a PFR ?? (possible future release)

Is there a solution available for the time being ?

Regards,

Martin
2714.3I spoke too soonIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Mon May 17 1993 15:0614
I was thinking of another similar problem, so I do not have a fix to the
problem you reported.  Could you confirm that you are doing the following: 

    1.	Print a Document, and the Printing Document displays with the
    	'Print style:' field empty

    2.	Do either Gold-B or Gold-Down arrow to get to Copies field without
    	moving through the 'Print style:' field

    3.  Change the copies to a value greater than 1



Richard
2714.4not exactlyUTRTSC::SMEETSMartin Smeets DS SSO Utrecht (NL)Mon May 17 1993 18:2212
Hi Richard,

Not exactly,

1. I choose the Print Option and fill in the print destination, or accept the
   current value.

2. I press cursor down and make the print style field empty

3. I press cursor down and fill in the number of copies

Martin
2714.5I've created an IPRIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Mon May 17 1993 19:199
The significant thing is that the Print style field is empty when RETURN is 
pressed, regardless of the different ways of navigating fields to obtain 
that state.

I have created an IPR (Internal Problem Report) so that ALL-IN-1 
Engineering has a record of the problem.


Richard
2714.6No blame for form WPPARGUTRTSC::SMEETSMartin Smeets DS SSO Utrecht (NL)Tue May 18 1993 15:5525
Hi,

I've solved the problem by modifing the script SETUP_PRINT_SETTINGS.SCP.

This script is executed when the print style field is empty.

ORIGINAL:
========
.label FINISH

.if #PRINT_GET_COPIES eqs OA$Y then -
   data_file get_field print_settings pt_copies #COPIES


MODIFIED:
========

.label FINISH

.if #PRINT_GET_COPIES eqs OA$Y and PTRTYP nes '' then -
   data_file get_field print_settings pt_copies #COPIES

Regards,

Martin