Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13249
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: shellexecute con word |
| Date | 2021-02-24 13:49 +0100 |
| Message-ID | <i9n0amFgmakU1@mid.individual.net> (permalink) |
| References | <9bc2681c-a5fa-4d48-aa51-dc72d9c4c12ao@googlegroups.com> <018fd50a-a1fa-440c-aceb-2417fb6acbd8o@googlegroups.com> |
Buon giorno Aurora, you can "drive" Word completely from VO using COM, as Word has a very powerful API (like all the Office applications). I'm using it in several projects not only to print, but also to fill out fields. And of course you can also close down it after use. IMHO That would be the best option. But I have to prepare a sample, if you need it. Wolfgang P.S. I have no problems at all with people because of their nationality - your question about compilaWord only let me remember this person. aurora baccio wrote: > Il giorno lunedì 15 febbraio 2021 15:43:18 UTC+1, aurora baccio ha > scritto: > > good morning. > > in the production of prints from vo I use a lot of word through a > > procedure inherited from previous programmers called 'compile > > word'. I use this procedure mainly in the printing of certificates > > and invoices. The procedure is very valid and functional, but the > > problem is in the number of prints. If I want to print three copies > > of the same document I must use a loop for ...next. The actual > > printing of the created word document is done through > > 'shellexecute'. The help request is: is there an alternative > > procedure to use word indicating the number of copies to print? > > Another question: is there a way to close word at the end of the > > printing with shellexecute? thanks Aurora Baccio > > Mr. Riedman good evening, > sorry you had problems with a Sicilian. > I am Sicilian. > However I don't think it's the same procedure. > I directly compile a .doc file using a procedure of the type > #variable name on the .doc file and I am told that the version was > provided by a programmer from Latina who worked in the clinic for > which I now work and from whom I inherited everything. The problem > is that for printing I have to use a script in php that prints word. > This allows me to print the number of copies that I require, but > slows down the application. Using shelexecute the difference is > significant but it becomes a problem if you print multiple copies. > It's as if word, at the end of the initial printing, doesn't get > closed, and in the long run you have crashing problems. With the > procedure in php I close word every time I finish printing. I was > wondering if there was a method to print a word file directly from vo > for the number of copies you want. only this. thanks always Aurora > Baccio --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
shellexecute con word aurora baccio <aurorabaccio@gmail.com> - 2021-02-15 06:43 -0800
Re: shellexecute con word "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-02-17 17:29 +0100
Re: shellexecute con word aurora baccio <aurorabaccio@gmail.com> - 2021-02-23 09:41 -0800
Re: shellexecute con word "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-02-24 13:49 +0100
Re: shellexecute con word JohnMartens <martens@tennishulp.info> - 2021-02-23 18:52 +0100
Re: shellexecute con word aurora baccio <aurorabaccio@gmail.com> - 2021-02-26 04:50 -0800
Re: shellexecute con word JohnMartens <martens@tennishulp.info> - 2021-03-01 19:42 +0100
csiph-web