Page 1 of 1

Printer name

Posted: Thu Sep 12, 2013 1:47 am
by gradosic
Hi everyone,

Anyone knows how to return printer name when print job has started with DCPRINT ON ?

example:

DCPRINT ON TO OPRINTER
IF Valtype(oPrinter) # 'O' .OR. !oPrinter:lActive
BREAK
ENDIF
..
..
?? current printer name (selected printer in this job) ??

Re: Printer name

Posted: Thu Sep 12, 2013 6:06 am
by Wolfgang Ciriack
oPrinter:cPrinterName

Re: Printer name

Posted: Thu Sep 12, 2013 7:22 am
by gradosic
Thanks for answer.... in the meantime I realized that is impossible to change Duplex mode during runtime, only when invoking DC print command...