Print Copies, different Bins, with&without Background
dschuch
Dresden,Germany
Hy,
1) is there a way, to print copies on different bins?
2) is there a way, to hide an image/logo, if we print multiple copies?
Our Customer wants to print an invoice 3 times, once with background, one without. So they use a printer with different bins. Bin 1 has a Preprinted paper with there customer logo, bin 2 without.
we found this post that has a bit the same topic:
http://www.fast-report.com/en/forum/index....mp;hl=copy+name
---
currently we solve this with a onw printform and a hacked class:
and the following code:
But perhaps there is a build in way to do this.
As a plus we need to Hide the Logo (the element has the name "logo" inside fastreport), on copie 2.
1) is there a way, to print copies on different bins?
2) is there a way, to hide an image/logo, if we print multiple copies?
Our Customer wants to print an invoice 3 times, once with background, one without. So they use a printer with different bins. Bin 1 has a Preprinted paper with there customer logo, bin 2 without.
we found this post that has a bit the same topic:
http://www.fast-report.com/en/forum/index....mp;hl=copy+name
---
currently we solve this with a onw printform and a hacked class:
TfrxHackedPrinter = class(TObject)
private
FBin: Integer;
public
property Bin: Integer read FBin write FBin;
end;
and the following code:
If PrtDlg.bin_copie_2.Checked then begin
TfrxHackedPrinter(frxPrinters.Printer).Bin:=bin;
TfrxPreview(frxReport1.Preview).Print;//Drucken aus Vorschau
end;
But perhaps there is a build in way to do this.
As a plus we need to Hide the Logo (the element has the name "logo" inside fastreport), on copie 2.
Comments
Use several printers connected to the same port with different settings is the easy way [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> In the beforeprint you can set the visible property to enable/disable the logo print TfrxMemoView(frxReport.FindObject('Logo')).Visible := False;[/img]
hy, thats not working, because the event is called only once. so this is possible for the first copie, not for the second, nor?