Hi,
i have downloaded the evaluation version und had opend the delphi demo project. I need to set the bin and duplex mode, but it doesnt work. Here the code:
var
BinNane : WideString; // name of the Bin
BinNo : integer; // total bins available
curBin : integer; // number of current bin
procedure TPDFPrinterForm.NextBinClick(Sender: TObject);
begin
if OpenPrinterCheck(printerName.Text) Then
begin
BinNo := myPrinter.GetBinCount('');
curBin := curBin +1;
if curBin > BinNo then curBin := 1;
BinNane := myPrinter.GetBin(curBin);
BinName.Text := BinNane;
myPrinter.ClosePrinter;
end;
end;
The value of GetBinCount is 0, GetBin is ??????????????????????
So where are my mistakes?
The printer is a canon iR2200 with 4 bins. So it should work.
Thanks for answer.
HGlaeser