What version of Cache’ and what platform (Windows 7, RedHat Linux, MAC, VMS, etc.,)?
--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to
InterSys...@googlegroups.com
To unsubscribe from this group, send email to
InterSystems-Z...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/InterSystems-ZEN?hl=en
Zen Community Terms and Conditions:
http://groups.google.com/group/InterSystems-ZEN/web/community-terms-and-conditions
---
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
intersystems-z...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I have a functioning Zen reporting rendering to a browser as a PDF. I want to send directly to the printer now. The documentation seems very straight forward, but I am not being successful. Does anybody have an example? Thank you for any input you may have.
On Tuesday, May 7, 2013 2:26:49 PM UTC-6, Avg Bear wrote:
...
You write:
I have this working, but I need to stop a new tab/window from opening with the description of the processing.
Please send PNG with new tab/window opening. I’m not sure what you mean.
Thanks,
Jonathan
From: intersys...@googlegroups.com [mailto:intersys...@googlegroups.com] On Behalf Of Avg Bear
Sent: Wednesday, May 08, 2013 6:52 PM
To: intersys...@googlegroups.com
--
You write:
I have this working, but I need to stop a new tab/window from opening with the description of the processing.
Please send PNG with new tab/window opening. I’m not sure what you mean.
Thanks,
Jonathan
From: intersys...@googlegroups.com [mailto:intersys...@googlegroups.com] On Behalf Of Avg Bear
Sent: Wednesday, May 08, 2013 6:52 PM
To: intersys...@googlegroups.com
Subject: [InterSystems-Zen] Re: Sending Zen report to printer using $MODE=ps&$PS=
On Tuesday, May 7, 2013 2:26:49 PM UTC-6, Avg Bear wrote:I have a functioning Zen reporting rendering to a browser as a PDF. I want to send directly to the printer now. The documentation seems very straight forward, but I am not being successful. Does anybody have an example? Thank you for any input you may have.
Cache for Windows (x86-64) 2012.2 (Build 638U) Fri Aug 31 2012 15:51:36 EDT
I have this working, but I need to stop a new tab/window from opening with the description of the processing.
var printerName = zenPage.getComponentById('PrinterName').getProperty('value')
var url = zenLink('.ZENRpts.MyRpt.cls?$MODE=ps&$PS='+printerName)
window.open(url,'View','modal=yes,resizable=yes,toolbar=no,menubar=no,width=800,height=800');
Thank you for your time.
--
You received this message because you are subscribed to the Google Groups "InterSystems: Zen Community" group.
To post to this group, send email to InterSy...@googlegroups.com
To unsubscribe from this group, send email to InterSystems-...@googlegroups.com
I haven’t tried it so please take the following thought as a hypothesis rather than a fact.
I think what you do is define in your page a class method (maybe an instance method, don’t know) and you invoke this class method using zenPage.classMethodName. I’m not sure how you specify the arguments but it may be straightforward.
I think the use of zenPage to invoke Cache’ methods is in the ZEN doc but I’m not sure.
I don’t have time to try these things right now, but hopefully someone else on this list will find my “hints” helpful.
Thanks,
Jonathan
To post to this group, send email to
InterSys...@googlegroups.com
To unsubscribe from this group, send email to
InterSystems-Z...@googlegroups.com