Hi Pedro,
in the swing ui you can set "Always preview print" in the user
preferences. Depending on this setting a click on the printer icon of a
window either shows the preview or prints directly.
Not sure how this is done in web client as this does not show up in
preferences.
For a report you can check the selection "Direct Print" in the process &
report window to enable "Print without dialog".
You may search the sources for IsDirectPrint to find out how this works.
Regards,
Dirk Niemeyer
>> 2014-08-26 7:51 GMT-07:00 <
hie...@hasuvimex.vn <javascript:>>:
>>
>>> Pedro.
>>> My opinion. Regular report and jasper report is different at create
>>> report file (pdf, csv,...).
>>> Solution for direct print can is same.
>>>
>>> Sent from my BlackBerry 10 smartphone.
>>> *From: *Pedro Rozo
>>> *Sent: *Tuesday, August 26, 2014 21:36
>>> *To: *
idem...@googlegroups.com <javascript:>
>>> *Reply To: *
idem...@googlegroups.com <javascript:>
>>> *Subject: *Re: [idempiere] Re: How can we skip the print preview (direct
>>> printing) from Java with Idempiere (Web)
>>>
>>> Hi Hiep.
>>>
>>> Thanks for your comments, but I am not working wiht jasper reports, just
>>> using regular print formats .. and both links provided are for jasper &
>>> custom reports ...
>>>
>>> Do you know if there any simple java api method to trigger the printing
>>> for print formats ?
>>>
>>> Regards,
>>>
>>> Pedro R
>>>
>>> El martes, 26 de agosto de 2014 09:30:29 UTC-5, Hiep Lq escribió:
>>>>
>>>> Pedro, can view some link.
>>>>
>>>>
https://groups.google.com/forum/m/#!topic/idempiere/YqF39E7CxgQ
>>>>
>>>>
http://wiki.idempiere.org/en/JasperReportsFreiBier#direct_
>>>> print.2C_automatic_archiving.2C_etc.
>>>>
>>>> Sent from my BlackBerry 10 smartphone.
>>>> *From: *Pedro Rozo
>>>> *Sent: *Tuesday, August 26, 2014 19:25
>>>> *To: *
idem...@googlegroups.com
>>>> *Reply To: *
idem...@googlegroups.com
>>>> *Subject: *[idempiere] Re: How can we skip the print preview (direct
>>>> <
https://groups.google.com/d/msgid/idempiere/3fbb2d6c-fd32-423f-8117-00e16475ca0b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit
https://groups.google.com/d/optout.
>>>>
>>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "iDempiere" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to
idempiere+...@googlegroups.com <javascript:>.
>>> To view this discussion on the web visit
>>>
https://groups.google.com/d/msgid/idempiere/cb9d820e-a185-401e-9e00-0a97fb364a1e%40googlegroups.com
>>> <
https://groups.google.com/d/msgid/idempiere/cb9d820e-a185-401e-9e00-0a97fb364a1e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit
https://groups.google.com/d/optout.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "iDempiere" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to
idempiere+...@googlegroups.com <javascript:>.
>>> To view this discussion on the web visit
>>>
https://groups.google.com/d/msgid/idempiere/20140826145125.5374085.28695.1347%40hasuvimex.vn
>>> <
https://groups.google.com/d/msgid/idempiere/20140826145125.5374085.28695.1347%40hasuvimex.vn?utm_medium=email&utm_source=footer>
>>> .