| View previous topic :: View next topic |
| Author |
Message |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Tue Aug 31, 2004 2:25 pm Post subject: Printing Offers, Invoices, Deliveries or Orders |
|
|
Hi,
has somebody some experience in printing offers, orders, invoices or deliveries from applications ?
I made an order management for my perfect-intranet and need some good design and print functionality for offers, invoices, etc.
So I made export to csv like I did it for serial letters and mails, but invoices are some more difficult that simple letters are.
I need adress areas, multiple product entries, multiple tax entries and so on.
I made one export which holds all data in different columns (hundreds of columns), and another export to multiple csv files. But word cannot handle
multiple csvs.
I looked into other applications. All of them have their own rtf-like editors for such things, but I don't know if I could handle good templates using the rtf objects available for vds (for example if I need to repeat a specific template area for displaying a article list).
Has somebody done such things with vds ?
Thanks for your help.
Bye, Fabian |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Tue Aug 31, 2004 2:52 pm Post subject: |
|
|
You might be able to create a HTML file and put all info into that, and then use the "shell print" command to actually print it. Another way might be by creating (simple) RTF files from VDS and do the same trick for the printing...  _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Tue Aug 31, 2004 7:08 pm Post subject: |
|
|
That's exactly how I handle printing within one of my apps. The program creates a nicely formatted HTML page and then prints with shell print. I also minimize the main window while the Print dialog is showing:
| Code: |
shell print,@path(%0)myfile.html
repeat
wait
until @winexists(Print)
window ontop,Print
window iconize,My Application
repeat
wait
until @not(@winexists(Print)) |
Cheers,
- Boo |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Thu Sep 02, 2004 9:27 am Post subject: |
|
|
| Skit3000 wrote: | Another way might be by creating (simple) RTF files from VDS and do the same trick for the printing...  | This doesn't work with Windows XP (Pro) - it opens the .rtf file with Word and then asks whether or not it should print it
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Fri Sep 03, 2004 4:13 pm Post subject: |
|
|
Hi All,
I believe that VDSOBJ has a print function for it's RTF object If you can wait a little longer my Gadget.dll will be available with commands and functions to print the VDS Dialog like a form. The functions will be similar to that of VB's [form.]PrintForm method. It will allow for you to print the VDS Dialog as WYSIWYG. I am trying to make it possible to give you the option to print the buttons or scrub them from the print job. Once this is done that part of Gadget will be ready  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Fri Sep 03, 2004 4:25 pm Post subject: |
|
|
BTW Scrollable objects like Lists, Tables, Multi-line edits and combo boxes are also a thorn that I have to overcome. So the first versions of these commands and functions in Gadget will be limited to a single page or snapshot of the Dialog which is perfect for simple forms but for multi-page documents it may get a bit hairy  _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Sep 03, 2004 9:09 pm Post subject: |
|
|
Wow!!! Nice, that sounds extremely cool. Can't wait for that.
Just wondering, though, does the form have to be visible to print it? _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
vdsalchemist Admin Team

Joined: 23 Oct 2001 Posts: 1448 Location: Florida, USA
|
Posted: Tue Sep 07, 2004 3:19 am Post subject: |
|
|
Hmmm, I have not tried that. I will let you know:-) Considering how it works I would not think so but I am not sure. _________________ Home of
Give VDS a new purpose!
 |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Tue Sep 07, 2004 7:34 am Post subject: |
|
|
sounds really cool
thanks to all for your help. |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
|