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
**********************************************************************

Reply via email to