RB + Graphon Go-Global problems
Hi all,
Using D6 + RB 10 enterprise
Ok, so I have client that uses Graphon Go-Global as Terminal Services
(www.graphon.com). Works more or less as MS Terminal Server (AFAIK).
Obviously, my app saves the printer name with the report tamplate to be
able to print automatically to serveral diferent printers as needed,
having each printer a pre-defined name (Ex: laser, label, bigpaper,
etc..).
The problem I have is that this Go-Global renames the printers in the
local machine as:
Laser@station35 (printer name @ machine name)
How can I make this work with only the printer name saved on the
template?
TIA
Andrew
Using D6 + RB 10 enterprise
Ok, so I have client that uses Graphon Go-Global as Terminal Services
(www.graphon.com). Works more or less as MS Terminal Server (AFAIK).
Obviously, my app saves the printer name with the report tamplate to be
able to print automatically to serveral diferent printers as needed,
having each printer a pre-defined name (Ex: laser, label, bigpaper,
etc..).
The problem I have is that this Go-Global renames the printers in the
local machine as:
Laser@station35 (printer name @ machine name)
How can I make this work with only the printer name saved on the
template?
TIA
Andrew
This discussion has been closed.
Comments
By design, if ReportBuilder cannot find the printer saved down, it will us
the Windows default printer. You can access the currently installed
printers list using the Report.PrinterSetup.PrinterNames property.
Iterating through this list you can find the correct printer to be used and
assign it to the PrinterName property.
A good place to do this would be inside the Template.OnLoadEnd event since
you are loading and saving templates.
http://www.digital-metaphors.com/rbWiki/Design/Templates/Using_Template_Events
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com