Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 9159 invoked from network); 20 Feb 2011 23:50:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2011 23:50:57 -0000 Received: (qmail 67781 invoked by uid 500); 20 Feb 2011 23:50:54 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 67729 invoked by uid 500); 20 Feb 2011 23:50:54 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 67721 invoked by uid 99); 20 Feb 2011 23:50:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 23:50:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.107 as permitted sender) Received: from [65.55.111.107] (HELO blu0-omc2-s32.blu0.hotmail.com) (65.55.111.107) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 23:50:48 +0000 Received: from BLU142-W14 ([65.55.111.71]) by blu0-omc2-s32.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 20 Feb 2011 15:50:27 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_e07dbf64-a349-4260-b790-06ff728ab50f_" X-Originating-IP: [71.232.85.137] From: Martin Gainty To: Struts Users Mailing List CC: Subject: RE: sending the report directly to the printer Date: Sun, 20 Feb 2011 18:50:27 -0500 Importance: Normal In-Reply-To: References: <574e8ad80905110213i4f7cd82cq43db640f0f3ff882@mail.gmail.com>,<27999481.post@talk.nabble.com>,<30946577.post@talk.nabble.com>,,<30946597.post@talk.nabble.com>,,<30946620.post@talk.nabble.com>,,<30971331.post@talk.nabble.com>, MIME-Version: 1.0 X-OriginalArrivalTime: 20 Feb 2011 23:50:27.0137 (UTC) FILETIME=[F2D20B10:01CBD158] --_e07dbf64-a349-4260-b790-06ff728ab50f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable server side: write a file to a temp folder you can access ..preferably a folder that str= uts already has mapped e.g. setup a cron job which scans the struts mapped folder (on some pre-scribed = interval) and prints the contents (then deletes the file) as mentioned executing print functionality is OS specific=20 Unix prints with lpr http://www.kb.iu.edu/data/adzr.html Windows prints with the print command http://support.microsoft.com/kb/58143 client-side: map your button to the Print-Screen button is the easiest way to print wiki= pedia says U+2399 http://en.wikipedia.org/wiki/Print_screen Be Aware that this is specific to the keyboard layout so someone may change= keyboard from EN-US to CN-chinese and the mappings may change so you have your work cut out for you (depending on your current IME config= uration) Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > Date: Sun=2C 20 Feb 2011 11:18:08 -0500 > Subject: Re: sending the report directly to the printer > From: davelnewton@gmail.com > To: user@struts.apache.org > CC: nagarjunabattula@gmail.com >=20 > I have no idea. Personally=2C I'd be a little surprised if it was > possible to print from a website with *no* user interaction without > using something like ActiveX=2C an applet=2C or *something*. >=20 > Dave >=20 > On Sun=2C Feb 20=2C 2011 at 11:06 AM=2C @rju = wrote: > > > > sir please help me > > i ve already told my requirement as follows > > am using struts2-jasper plugin am calling my action through jquery. > > nw i need to print the report directly from printer when i ve pressed o= k > > button. > > ok button will call the action. > > please help me ragarding this.Its very urgent for me and it is the main > > requirement for this project... > > > > > > > > Dave Newton-6 wrote: > >> > >> He's saying "Hit Ctrl-P from inside a PDF reader. > >> > >> On Wednesday=2C February 16=2C 2011=2C @rju wrote: > >>> > >>> if dont mind can you tell in detailed manner > >>> -- > >>> View this message in context: > >>> http://old.nabble.com/Integrate-JasperReports-into-a-Struts2-web-appl= ication-tp23479814p30946620.html > >>> Sent from the Struts - User mailing list archive at Nabble.com. > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > >>> For additional commands=2C e-mail: user-help@struts.apache.org > >>> > >>> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > >> For additional commands=2C e-mail: user-help@struts.apache.org > >> > >> > >> > > > > -- > > View this message in context: http://old.nabble.com/Integrate-JasperRep= orts-into-a-Struts2-web-application-tp23479814p30971331.html > > Sent from the Struts - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > > For additional commands=2C e-mail: user-help@struts.apache.org > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > For additional commands=2C e-mail: user-help@struts.apache.org >=20 = --_e07dbf64-a349-4260-b790-06ff728ab50f_--