Thanks for you answer Miyako.

It was a good try but it doesn’t work.
With te following something strange happen:
After QR RUN an empty PDF document is created. Then, after CLOSE PRINTING JOB 
the file is deleted


$t_impresoraActual:=Get current printer
SET CURRENT PRINTER(Generic PDF driver)
SET PRINT OPTION(Destination option;3;$t_path)
QR SET DESTINATION($l_refArea;qr printer;"*")
OPEN PRINTING JOB
QR RUN($l_refArea)
  // at this point an empty PDF document was created on $t_path
QR DELETE OFFSCREEN AREA($l_refArea)
CLOSE PRINTING JOB
  // at this point the empty PDF document is deleted 
SET CURRENT PRINTER($t_impresoraActual)



Alberto





> El 21-04-2020, a las 13:30, Keisuke Miyako via 4D_Tech <[email protected]> 
> escribió:
> 
> I could be way off, but...
> 
> 1. try using OPEN PRINTING JOB, CLOSE PRINTING JOB
> 
> https://doc.4d.com/4Dv17/4D/17.4/OPEN-PRINTING-JOB.301-4883314.en.html
> 
> or,
> 
> 2. activate "Legacy printing layer option"
> 
> https://doc.4d.com/4Dv17/4D/17.4/SET-PRINT-OPTION.301-4883296.en.html
> On Apr 21, 2020, at 22:11, Alberto Bachler via 4D_Tech 
> <[email protected]<mailto:[email protected]>> wrote:
> I suppose I’m doing something wrong but I can figure it out…
> Any clues?
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to