Environment Variable SVPrintCopies is used to denote the number of copies to be printed. This can be preset at the Report Level using the Report Attribute Print Set. Example: [#Report : Printed Invoice] Print Set : SVPrintCopies : 3 The report Printed Invoice will be printed thrice.
Is it possible to set Page Number from First Page ? Example : If i print a invoice with 4 pages, First page should show 1 of 4, 2nd page 2 of 4, 3rd page 3 of 4 & Last page 4 of 4.
Wot i meant was the default code will print "Page 1" and not Page 1/4 .... since you want to utilize the later format..... then you need to do your own coding, which replaces the default Tally Code on Page No. format.
[#Part: VTYP BehaviourMain] Add : Line : CustINVPrintYes, CustINVPrint [Line : CustINVPrintYes] ;Invisible: Not $CustomizationFeaturesF1:Company:##SVCurrentCompany Field : Long Prompt, CustINVPrintYes Local : Field : Default : Inactive : Not $$isSales:$Parent Local : Field : Long Prompt : Set As : "Enable Multi Invice Copies?" Local : Field : Long Prompt : Full Width : Yes Local : Field : Long Prompt : Color : Blue [Field : CustINVPrintYes] Use : Logical Field Storage : CustINVPrintYes set as : $CustINVPrintYes Color : Blue [Line : CustINVPrint] ;Invisible: Not $CustomizationFeaturesF1:Company:##SVCurrentCompany Field : Long Prompt, CustINVPrint Local : Field : Default : Inactive : Not $CustINVPrintYes Local : Field : Long Prompt : Set As : "Invice Copies?" Local : Field : Long Prompt : Space Left : 10 mms Local : Field : Long Prompt : Full Width : Yes Local : Field : Long Prompt : Color : Blue [Field : CustINVPrint] Use : Number Field Storage : CustINVPrint set as : $CustINVPrint Color : Blue [system : udf] CustINVPrint : Number : 6561 CustINVPrintYes : Logical : 6562 [SYSTEM : Formula] CustINVPrintYes : $CustINVPrintYes:VoucherType:$VoucherTypeName CustINVPrint : $CustINVPrint:VoucherType:$VoucherTypeName [#Report: GST Printed Invoice] ; ;Add : Option : CustINVPrintRep : @@CustINVPrintYes AND @@IsSales ; ;[!Report : CustINVPrintRep] ; Delete : Print Set Add : Print Set : SVPrintCopies : @@GPr [System : Formulae] GPr : if @@CustINVPrintYes then @@CustINVPrint Else @@GSTInvCopies
This is not related this query/issue. Kindly give me some suggestion to print the last page number in first page.
You can get a solution by "if Else " Ex. If you Want to print 4 Copies...Then your First Page No. Should Be Printed...OK Then You have to write if "Original" Then "1" else if "Duplicate" Then "2" else if "Triplicate" Then "3" else if "Extra Copy" Then "4" else "5"
Same Code am Writing for Receipt and Stock Journal....But it is not Working...Can any one Solved This?