Hi Experts,
How can one split a report into two. I have a printer that cuts receipt once, and now i want it to cut it twice. I guess splitting the report into two the printer will cut it twice at the end of each report.
So,how can i split a report into two. Can someone explain the steps for me. Please!!
Thanks.
0
Comments
This is quite unclear:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
If you want to have two copies of the receipt and when the printer is asked to print two copies, it print two copies but cuts the receipt at the end of the second copy, hence cutting once.
The client wants to have two copies of the receipt and wants the printer to cut the receipt at the end of each copy thereby giving two copies which are cut, hence the printer cuts twice. This is what the client wants. I hope you understand now.
Thanks.
But, a general advice is to excute the print command twice instead of printing 2 copies.
The printer may be set to cut at the end of the print job, rather than at end of each page, like in some fax machines.
regards
You don't see any payment when they are posted hence you will not be about to post again to have another print job. Unless you enter another payment. you can't print twice for one posting. you can only go to the copy of the customers reciept to have a second copy.
i suggested this method, but they said its too tedious. they want it print two copies in one posting and the printer should cut the receipt after each copy.
Thanks.
I am looking for a code that can make a report to copy twice when printed.
the report is created from Cust. ledger Entry Table.
Any idea Please?
Thanks.
MCP+I, MCSE NT, Navision MCT (2004,2005)
I don't know where this report is called from but maybe you could create
a processing only report with the filters set and then from this report
call the printing report
eg
from posting call processing report to call print report
in C/AL maybe something like this
Post & Print routine
Processreport.RUNMODAL(Rec); // Rec has all the filters set
Processreport
OnAFterGetRecord
FOR I := 1 to 2 DO
PrintReport.RUN(Rec):
Hope this helps
Albert
Here is what i have tried so far, but it not working:
can you please check what i am not doing correctly.
thanks.
MCP+I, MCSE NT, Navision MCT (2004,2005)
I did not understand the above can u explain it step by step to my please.
DataItemLinkReference = <Cust. ledger entry> This is what is there.
Right now i am using requist form but the second copy is not picking up the Data. only heading is captured, the body is not.
Any idea. please?
Thanks
MCP+I, MCSE NT, Navision MCT (2004,2005)
I am still trying but no Solution yet.
If i specify two copies, the second copy is always Blank.
Any Idea Please?
Thanks
COPYLOOP
--Cust. Ledger Entry
Everything which has to be printed repeatedly has to be inside the COPYLOOP, that's the reason why there is also a PAGELOOP for the header information in report 206.
MCP+I, MCSE NT, Navision MCT (2004,2005)
example would be
in 4.0 menu
administration --> application setup --> sales & marketing --> report selection
for your report set sequence 1 as the first receipt, and sequence 2 as the second report
each will print, and since they are separate reports it should do what you want,
if your receipt is not triggered from this, you can copy the functionality to do it.
this is what we do for our credit card reciepts, the first report is the customer copy, and the second is our copy. we modify the second to say file copy.
This is why I like to point people to what they already have: the existing Navision objects provide lots of interesting features and it makes live easier to stay with the standard, at least as near as possible.
Just my $0.02.
MCP+I, MCSE NT, Navision MCT (2004,2005)
Thanks for that reply. It is now getting the two copies when i specify 2 in the request form.
Can it be specify in the code so that whenever one click on Post and Print, it prints the two copies authomatically without using the request form to specify the no. of copies?
I don't want to inconvient somebody by using the request form where there are long queues
please any idea.
Thanks.
From the C/SIDE help:
If you have a look at codeunit 82 (will be called e.g. when hitting Post+Print in SalesOrder) you will see, that it is already implemented this way in function PrintReport:
MCP+I, MCSE NT, Navision MCT (2004,2005)