PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] Change number of printout copies
[WD20] Change number of printout copies
Iniciado por Sebastian Arnold, 02,jun. 2016 10:23 - 1 respuesta
Miembro registrado
102 mensajes
Publicado el 02,junio 2016 - 10:23
For a certain report I always need to print 2 copies. I don't want to go through iParameterDuplicate(iDplPrintout) and iPrintDuplicate.

I tried to change the 'Number of copies' in the print preview but that didn't work. Whatever I tried was replaced by 1 at the end.

Are there any other ways?

TIA
Sebastian

--
http://arnoldconsult.de
WinDev 20 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Miembro registrado
102 mensajes
Publicado el 09,junio 2016 - 17:43
Can answer by myself:

just before iPrintReport( RTP_Whatever) insert this:

iParameter(iCopies, 2)
iPrintReport(RPT_Whatever)


HTH
Sebastian

--
http://arnoldconsult.de
WinDev 20 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL