Support Forum - selected printer

04/21/2015 13:05 Rob Kuiper wrote:

Oleg,

Changed from FRB3.12 to FRB.334
Clarion 6.3 9055
Tracker PDF Tools 4.0
Tracker Netlib email Template 4.1
ABC method (FRBC)

In runtime report.. i added:
!Before Print Report embed
PRINTER{PROPPRINT:Device}=.... <here comes the variable that holds the INI file
printer
Works fine in FRB 3.12

In the report manager you can overrule printer bij selecting printer, works okay
in FRB 3.12
Now in FRB3.34 the printer function in report manager doesn't work anymore,
print is ALWAYS send to printer which is set in INI file.

How to solve?
Regards

04/23/2015 11:27 Oleg Fomin wrote:

Rob,

I cannot reproduce the problem here. Preserved "Printer" selection for any 
specific Report in the ReportManager (Right-Click) works as expected here. 
After print preview report goes to the printer specified without any 
questions.

Using FRB 3.15, ABC example application, C6.3.

Best regards, Oleg Fomin.

04/24/2015 12:13 Rob Kuiper wrote:

Oleg,

Could it be because i don't have any preview?
Information is directly send to printer.

Can you point me out in the sources where the "preserved printer" (right-click 
in rm) is set, so i can i try to add/change some code there.

Regards,
Rob

04/24/2015 13:55 Rob Kuiper wrote:

Oleg,

Furthermore, NO call Print Dialog
i have to set Print Preview to YES in FRB Report Behavior, in Tracker PDF 
Tools is set Run Print Previewer to NO.
Have to do it this way otherwise the (optional for user settings) PDF is not 
created.

using FRB 3.34

Regards,
Rob

04/25/2015 13:49 Oleg Fomin wrote:

Rob,

You can select printer for any specific Report in advance. In the 
ReportManager do mouse Right-Click and select "Printer" pop-up menu item. 
Printer name selection and printer settings (paper size, paper tray, duplex, 
e.t.c.) will be preserved for this report. Because entire DEVMODE structure 
will be saved. This is built-in feature since FRB 3.00, and it doesn't require 
any embedded code.

Best regards, Oleg.

05/13/2015 16:10 Rob Kuiper wrote:

Oleg,

Can you give me the DEVMODE record description of the runtime report.
I can see it consists of 5 fields, would be nice to know what kind these fields
are.
That way i can open it and try to handle the problem mentioned above.

Thanks

05/13/2015 17:15 Oleg Fomin wrote:

Rob,

DevMode:FileName    STRING(300)
DevMode
FILE,DRIVER('TOPSPEED'),CREATE,RECLAIM,NAME(DevMode:FileName),PRE(DM:)
PrimaryKey    KEY(DM::ComputerName,DM::UserName),PRIMARY
DevModeBits   BLOB,BINARY
Record        RECORD
ComputerName    STRING(31)  !#define MAX_COMPUTERNAME_LENGTH 31
UserName        STRING(256) !#define UNLEN 256 // Maximum user name length
DeviceName      STRING(128)
DevModeSize     LONG
              END
            END

This FILE declaration as well as appropriate code can be found at
http://www.fomintools.com/frbstore.zip

Oleg.

11/10/2020 09:06 Piet G.M. Bouma wrote:

Oleg,
"You can select printer for any specific Report in advance. In the 
ReportManager do mouse Right-Click and select "Printer" pop-up menu item etc". 

That does not work here...it keeps printing to the same printer.
Do I have to 'set' something somewhere ?

11/11/2020 10:14 Piet G.M. Bouma wrote:

Oleg,
"You can select printer for any specific Report in advance. In the 
ReportManager do mouse Right-Click and select "Printer" pop-up menu item etc".

Like I said, this does not work in my apps. FRB keep printing to the same
printer.
But I found something:
In the demo app: Report Manager Tree control:
The first item is: Report Manager DevMode Check...: I do not have that
is that what causes it ?

Name:
E-Mail: (will not be published)
Subject:selected printer


Message body:

Verification code:

Please, do not include any URLs into the message.
Otherwise, your message will be rejected and IP blacklisted automatically.
Off topic messages will be deleted by moderator.