Home Devices

RB 7.02 - D7 - copies is always maded by RB

edited April 2004 in Devices
first... excuse for my english...

i print a very simple report (two labels and one image)
if i print 1 copies the spool copies and the spool size are respectly 1 and
56Kb (example...)
if i print 10 copies the spool copies and the spool size are respectly 10
and 560Kb (example...)

I tried set the DelegateCopies property to true but the spool copies is
always 10 !
The problem is that i've a barcode thermal printer that print very slowly.
If i print from Word 10 copies of the same image and label the spool copies
is alway 1 and the spool size is always 56K

this is the 2 sample codes that i used:

(1)
report.deviceType:=dtprinter;
report.Printer..PrinterSetup.Copies:=10;
report.Printer..PrinterSetup.Collation:=False;
report.Printer..PrinterSetup.DelegateCopies:=True;
report.Print;

(2)
m:=tppPrinter.Create;
report.deviceType:=dtprinter;
m.PrinterSetup.Assign(report.Printer.printerSetup);
m.PrinterSetup.Copies:=10;
m.PrinterSetup.Collation:=False;
m.PrinterSetup.DelegateCopies:=True;
report.Printer.printerSetup.Assign(m.PrinterSetup);
report.print;
m.Free;

Very thank's
---------------------------------------------------
Sartori Roberto
r.sartori@comptech.it
Comptech Srl
www.comptech.it

Comments

  • edited April 2004
    i solved with:

    report.printersetup.delegateCopies:=true

    thx


    "Comptech srl" ha scritto nel messaggio
This discussion has been closed.