printing directly from server

184 views
Skip to first unread message

Martin Schönbeck

unread,
Jan 23, 2017, 10:23:07 AM1/23/17
to iDempiere
Hi,

I tried to get documents printed by the idempiere server (on a linux machine) directly. When setting 'direct print' in the process definition I'll get indeed a direct print as soon as I use the swing-client. But not with the web-client. Is it possible, to get a direct print with the web-client? And if yes, which way can I then get a preview? There is only one button in the web-client to print a document. Did I perhaps remove the real print button accidently?

Regards
Martin

Hiep Lq

unread,
Jan 23, 2017, 12:20:00 PM1/23/17
to Mohemmed Bilal Ilyas
not sure it help. 
i use it on my server so can't open for demo

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/c4025041-cbfb-43c4-8943-7adc45fad2cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Martin Schönbeck

unread,
Jan 23, 2017, 4:09:19 PM1/23/17
to iDempiere
Hi,


Am Montag, 23. Januar 2017 18:20:00 UTC+1 schrieb Hiep Lq:
not sure it help. 
i use it on my server so can't open for demo

Thanks for this hint. But in my case the idempiere server is in the intranet, so I hope there is a chance to print directly therefrom.

Regards
Martin
 

Hiep Lq

unread,
Jan 24, 2017, 1:18:23 AM1/24/17
to Mohemmed Bilal Ilyas
manager printer isn't a job of idempiere. 
i think you can easy to development a smart plug-in to manage printer on your intranet.
after that provide a list of active printer, so when login, user can select a default printer.
when user push print button, just sent request to server to do print job

--
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+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Martin Schönbeck

unread,
Jan 24, 2017, 12:49:13 PM1/24/17
to iDempiere
Hi,


Am Dienstag, 24. Januar 2017 07:18:23 UTC+1 schrieb Hiep Lq:
manager printer isn't a job of idempiere. 
i think you can easy to development a smart plug-in to manage printer on your intranet.

I don't really want to manage printers an my intranet. What I want to do is print an invoice for example without user interaction. And what I wanted to know is, whether this doesn't work at the moment, because I configured something wrong or because iDempiere doesn't support printing from the server at all.

Regards
Martin

norber...@multimageweb.com

unread,
Jan 24, 2017, 3:24:05 PM1/24/17
to iDempiere
Hi Martin

try app dict. select your process, field Show help: set "Run silently" - Take Defaults
if i remember this should help.
norbert

Martin Schönbeck

unread,
Jan 28, 2017, 3:46:46 PM1/28/17
to iDempiere
Hi Norbert,


Am Dienstag, 24. Januar 2017 21:24:05 UTC+1 schrieb norber...@multimageweb.com:
Hi Martin

try app dict. select your process, field Show help: set "Run silently" - Take Defaults
if i remember this should help.

Thank's for trying to help. But it doesn't work for me.

Regards
Martin

Patric

unread,
Feb 3, 2017, 3:48:29 AM2/3/17
to iDempiere
Hello together,

we had the same requirement. To print invoices and to print a defined amount of labels for the picking of shipments.
Idempiere writes the generated reports in the defined temp folder.
I use this behavior to send this files to my printer.

You can try my bash script.
The script is available on my bitbucket Account. 
Description is in the readme file.
aupatric/script_silentprint


Regards
Patric
Hans Auler GmbH

Martin Schönbeck

unread,
Feb 5, 2017, 3:12:59 PM2/5/17
to iDempiere
Hi Patric,

thanks for providing your script. I think this is a good work around to get the things running.

But on the long run I prefer an integrated solution. AFAICS there is no real problem to print directly from the server. At the moment the 'direct print'-flag is overriden by the 'preview'-flag. When resetting the 'direct-print'-flag with the debugger printing from the server works. I think, we need two buttons as in the swing client, one to print an one to preview. Maybe the print-button was omitted from the zk-ui because when starting it, the standard client was the swing client and the zk-ui wasn't used for locally hosted server.

Regards
Martin
Reply all
Reply to author
Forward
0 new messages