.PL63 .PN1 L..................................................R..L..............A .FO2 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ UNOTE 58 Page # of 3 L..................................................R..L..............A Ref: UNOTE 58~ From‰: Customer Services 31 Oct 89~ L....................................................................R Re‰ : Printing multiple copies while editing a document (6.10) AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA>@@ [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ L.......T.......T.......T.......T.......T.......T.......T.......T....J PROBLEM@@ EEEEEEE Only a single copy of the current document is printed, although multiple copies were requested, and the following error message is displayed: ‰ uprop error: cannot open input file /tmp/WPSD.nnnn CAUSE@@ EEEEE The problem only occurs when the document is being edited and : .........H......L.......T.......T.......T.......T.......T.......T....J   the Print Screen option is invoked using the F6-PRINT and F2-PRINT FORM softkeys, and multiple copies are selected, and the "Use printers copy facility" is set to "no" L.......T.......T.......T.......T.......T.......T.......T.......T....J When these options are specified, the current document is copied to $Utemp/WPSD.nnnn . The following command appends a remove statement to the end of the temporary file: echo ".ME !rm -f $(1)" >> $(1) ;; When the first copy of the temporary file is printed, the remove command is executed by "uprop" and the file $Utemp/WPSD.nnnn is removed. When "uprop" subsequently tries to print the remaining copies it can no longer find the file $Utemp/WPSD.nnnn and displays the error message: uprop error: cannot open input file /tmp/WPSD.nnnn SOLUTION@@ EEEEEEEE The solution is to modify the remove command in the screen "UAP/ufill/usrc/sprint" in order to delete the temporary file@@ BBBBBBBBBBBBBBBBBBBBB $Utemp/WPSD.nnnn only after each copy has printed successfully. The following lines correspond to the ":COMMANDS" section of the screen "UAP/ufill/usrc/sprint". The new commands are highlighted with change bars. .PA .FN FX-SMALL .JN :COMMANDS CLEAR eval set xx `uprtcmd -d "$(PRTR)"` pcap=$2 case "$pcap" in '') umsg "" "" "Cannot find output destination for \"$(PRTR)\"" sleep 5 exit 0 ;; esac device="$3" eval upflags=`uprtcmd -f "$(STYLE)"` defflags="-G$(5) -p $pcap $upflags" flags="-m $(LHM) -Ss $(SFRM) -Es $(STO) -S $(FROM) -E $(TO)" intflag="" background="&" case "$(INT)" in "yes") case "$device" in *\|*) ;; *) intflag="-i"; background="";; esac;; esac case "$(ALT)" in "yes") flags="$flags -a";; esac case "$(ACPY)" in "yes") flags="$flags -c $(COPY)";; *) flags="$flags -cm $(COPY)";; esac case $(OVERRIDE) in "Y") flags="$flags -P $(paper) -mt $(h1) -mb $(f1) -ml $(l1) -mr $(r1)";; esac DT=`udate "+%d %h 19%y"` case $(SCR) in "yes") uprop -t $defflags $flags "-D$DT" $(1) > /tmp/WPSC$Uusername & popup ptos /tmp/WPSC$Uusername rm /tmp/WPSC$Uusername umsg "" "Press if you wish to print the document" \ "or * if not" read RSP case "$RSP" in '*') case $(6) in DELETE) rm $(1);; esac exit 0;; esac;; esac .PA .SNCS case '$(6)' in DELETE) DELFILES='rm -f $(1)';; *) DELFILES=':';; esac PRINTCOM="uprop $intflag $defflags $flags "\"-D$DT\"" $(1) $device" trap '' 1 if test $background != "" then { eval $PRINTCOM $DELFILES } & else eval $PRINTCOM $DELFILES fi exit 0 .SNCE .FN PS-NORMAL .JY Modify the current screen to reflect the changes shown, and recompile the screen using the command: usbld  sprint  sprint@@ BBBBBBBBBBBBBBBBBBBBB Note: This has been fixed in Uniplex Vrs 7.@@ IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII