Re: SuperReport printer choice not respected by Windows 10

2021-06-11 Thread Philippe Ganter via 4D_Tech
Peter,

>> From: Peter Adam via 4D_Tech <4d_tech@lists.4d.com>
>> 
>> I am finding that the choice of printer that I specify in my superReports is 
>> not being respected by Windows 10. Instead the “Default” printer is being 
>> used.
>> 
>> I am looking for a way around this.
>> 
>> I am using 4D v17R6 and SuperReports 4.2.1

If you are using the "new" API i.e. SR_Print@: simply add 
SRP_Print_NoDefaultPrinter to the destination flags ($3).


>> From: Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com>
>> Why not specify the printer immediately before the print job?
>> 
>> https://doc.4d.com/4Dv18/4D/18.4/SET-CURRENT-PRINTER.301-5233936.en.html

SET CURRENT PRINTER is not relevant when you want to use what is stored in the 
report template.

But using PRINT SETTINGS means: add SRP_Print_4DPageSetup | 
SRP_Print_4DJobSetup to the destination flags.


>> From: Spencer Hinsdale via 4D_Tech <4d_tech@lists.4d.com>
>> 
>> This is done with SR SetPrinter

You can specify the printer with the SR_Print@ command in $6 directly.


>> From: Peter Adam via 4D_Tech <4d_tech@lists.4d.com>
>> 
>> Thanks Spencer but that is an obsolete command to be removed. There does not 
>> seem to be any thing in v4

It is obsolete (uses a global variable to store the printer name and 
destination file name/options), but still usable.

When using newer commands (destination options directly in parameters), there 
is no reason to use this old command.

Regards,
-- 
Philippe Ganter
www.e-node.net
































**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SuperReport printer choice not respected by Windows 10

2021-06-10 Thread Peter Adam via 4D_Tech
Thanks Spencer but that is an obsolete command to be removed. There does not 
seem to be any thing in v4
Cheers,

Peter Adam
Adam, Zievert & Associates P/L

e: peter.a...@me.com 
Skype Phone: +61 3 9016 379
t:  +61 3 9836 3539
m: 0419 552 462
www.adamzievert.com.au 


> On 9 Jun 2021, at 10:07 pm, Spencer Hinsdale via 4D_Tech 
> <4d_tech@lists.4d.com > wrote:
> 
> https://doc.4d.com/4Dv18/4D/18.4/SET-CURRENT-PRINTER.301-5233936.en.html 
> 
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SuperReport printer choice not respected by Windows 10

2021-06-10 Thread Peter Adam via 4D_Tech
Thanks Spencer but that is an obsolete command to be removed. There does not 
seem to be any thing in v4
Cheers,

Peter Adam
Adam, Zievert & Associates P/L

e: peter.a...@me.com 
Skype Phone: +61 3 9016 379
t:  +61 3 9836 3539
m: 0419 552 462
www.adamzievert.com.au 


> On 9 Jun 2021, at 10:07 pm, Spencer Hinsdale via 4D_Tech 
> <4d_tech@lists.4d.com > wrote:
> 
> https://doc.4d.com/4Dv18/4D/18.4/SET-CURRENT-PRINTER.301-5233936.en.html 
> 
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SuperReport printer choice not respected by Windows 10

2021-06-09 Thread Spencer Hinsdale via 4D_Tech

This is done with SR SetPrinter

If you go to enode site, download, previous version you can find developer docs:
https://www.e-node.net/ftp/SuperReportPro/3.4.1_Previous_Version/SuperReportPro_Developer_Manual.pdf



On 6/9/21, 12:40 AM, "4D_Tech on behalf of Wayne Stewart via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Peter,

Why not specify the printer immediately before the print job?

https://doc.4d.com/4Dv18/4D/18.4/SET-CURRENT-PRINTER.301-5233936.en.html

I have no experience with SuperReports.

Wayne

On Wed, 9 Jun 2021 at 17:30, Peter Adam via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I am finding that the choice of printer that I specify in my superReports
> is not being respected by Windows 10. Instead the “Default” printer is
> being used.
>
> I am looking for a way around this.
>
> I am using 4D v17R6 and SuperReports 4.2.1
>
>
>
>
> Cheers,
>
> Peter Adam
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SuperReport printer choice not respected by Windows 10

2021-06-09 Thread Wayne Stewart via 4D_Tech
Peter,

Why not specify the printer immediately before the print job?

https://doc.4d.com/4Dv18/4D/18.4/SET-CURRENT-PRINTER.301-5233936.en.html

I have no experience with SuperReports.

Wayne

On Wed, 9 Jun 2021 at 17:30, Peter Adam via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I am finding that the choice of printer that I specify in my superReports
> is not being respected by Windows 10. Instead the “Default” printer is
> being used.
>
> I am looking for a way around this.
>
> I am using 4D v17R6 and SuperReports 4.2.1
>
>
>
>
> Cheers,
>
> Peter Adam
> Adam, Zievert & Associates P/L
>
> e: peter.a...@me.com
> Skype Phone: +61 3 9016 379
> t:  +61 3 9836 3539
> m: 0419 552 462
> www.adamzievert.com.au
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**