Well it was working....


Jacques
 

Hi John,

 

I wanted to have the possibility to output whatever either on the screen, or on a printer, or as a PDF…

So I’ve found out a turnaround that is working fine with version 8.30…

I made a small demo program to shoe=w you the mechanism used.

 

 

 

Hope this will help

 

Jacques


John Dowbiggin
 

Hi Adrian, Harry and Jacques

 

Thanks for your responses and sorry for delay in responding.  Just had a couple of days of sick bed but back at it now.

 

The thing that strikes me about your responses, which I appreciate, is that they all seem to work fine for a single document, but what if I have 100 invoices to print needing to email to 100 different addresses,, or worse, 90 different addresses and 10 paper copies because those 10 don’t have emails.

 

I need to offer a printer dialogue when I am going to produce a paper copy, but only want to do it once. I can put in an initial pass to determine if I am going to have to produce one or more paper copies.  Very frustrating because my method was working but now the non-pdf printer is opening a dialogue  box to get a file name even if the PDF setting is FALSE.

 

Trying one or two options to try to get to the bottom of this.

 

Regards

John

 

From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Jacques
Sent: 24 January 2023 09:08
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Well it was working....

 

Hi John,

 

I wanted to have the possibility to output whatever either on the screen, or on a printer, or as a PDF…

So I’ve found out a turnaround that is working fine with version 8.30…

I made a small demo program to shoe=w you the mechanism used.

 

 

 

Hope this will help

 

Jacques


Harry Kleinsmit
 

Hi John,

If you set IOTiming=O (meaning 'O'nDemand instead of 'I'mmediate) it won't open the pdf until you really need/use it.
Only when you out to it, or use EOF(), EOP(), Line() or Page() it will open the I/O device.
Don't know exactly when this setting was introduced. If you have it in your Magic.INI then probably will work.

Best regards,
Harry Kleinsmit.


On Fri, Jan 27, 2023 at 07:41 AM, John Dowbiggin wrote:

Hi Adrian, Harry and Jacques

 

Thanks for your responses and sorry for delay in responding.  Just had a couple of days of sick bed but back at it now.

 

The thing that strikes me about your responses, which I appreciate, is that they all seem to work fine for a single document, but what if I have 100 invoices to print needing to email to 100 different addresses,, or worse, 90 different addresses and 10 paper copies because those 10 don’t have emails.

 

I need to offer a printer dialogue when I am going to produce a paper copy, but only want to do it once. I can put in an initial pass to determine if I am going to have to produce one or more paper copies.  Very frustrating because my method was working but now the non-pdf printer is opening a dialogue  box to get a file name even if the PDF setting is FALSE.

 

Trying one or two options to try to get to the bottom of this.

 

Regards

John

 

From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Jacques
Sent: 24 January 2023 09:08
To: main@magicu-l.groups.io
Subject: Re: [magicu-l] Well it was working....

 

Hi John,

 

I wanted to have the possibility to output whatever either on the screen, or on a printer, or as a PDF…

So I’ve found out a turnaround that is working fine with version 8.30…

I made a small demo program to shoe=w you the mechanism used.

 

 

 

Hope this will help

 

Jacques