Virender
18th December 2009, 07:32
We are using customised invoice printing session.
The sessions asks for inv number, line etc and prints accordingly, we used to print the same on dot matrix printer on pre printed stationary containing 1 original and 3 carbon copies as Transports copy, asses copy, office copy.

Now sales dept. asking the same to be printed on laser printer.
I have designed the same but I have a problem how to print original on first, Transports on 2nd, asses copy on 3rd and office on 4th copy on a single command of invoice print.

I tried enumerated field and given a drop down field before print command but that takes long time to print a single invoice, user has to run same print session 4 times to take print of all copies which is not acceptable.
Please suggest what could be the other option.

Thanks & Regards
Virender

bdittmar
18th December 2009, 10:15
We are using customised invoice printing session.
The sessions asks for inv number, line etc and prints accordingly, we used to print the same on dot matrix printer on pre printed stationary containing 1 original and 3 carbon copies as Transports copy, asses copy, office copy.

Now sales dept. asking the same to be printed on laser printer.
I have designed the same but I have a problem how to print original on first, Transports on 2nd, asses copy on 3rd and office on 4th copy on a single command of invoice print.

I tried enumerated field and given a drop down field before print command but that takes long time to print a single invoice, user has to run same print session 4 times to take print of all copies which is not acceptable.
Please suggest what could be the other option.

Thanks & Regards
Virender

Hello,

in BaaN IV standard report for invoices, this is working.

First Page: Original
2nd Page : Copy 1
3rd Page : Copy 2 aso.

Have a look at this and implement the logic of reporting in your customization.

Regards

fosterjr
19th December 2009, 02:14
Depending on the type of printer you are sending the invoice to, you could use the HP PCL and PJL escape codes to trigger multiple copies and even to pull from different input trays and send to different output trays. I had to setup sales orders once to simulate multipart forms through an HP laser printer with different color stock in 4 different trays in this manner.

You do have to watch out though. Some of the escape sequences are for job level only. If you print a range of invoices then the escape sequences are applied to the entire job and not on an invoice by invoice basis.

The link to HP's PCL manual is http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13205/bpl13205.pdf

There are other references on how to include escape sequences in Baan reports both here on BB and in Baan Quick Guides.

----------
Jason Foster

http://jasonfoster.emurse.com/