Re: Printing an existing PDF file with 4D silently.

2019-01-25 Thread rooftop99--- via 4D_Tech
Thanks Matt! I have been testing command-line printing with Launch External Process. It holds some promise… Thanks for the additional details on the process. I look forward to the webinar session March 13th on your WebSockets component. I have seen enough of your work to know it will be

Re: Writing 4D Plugin with C++ DLL

2019-01-25 Thread Keisuke Miyako via 4D_Tech
was the DLL built with MinGW or CygWin? you could either use LoadLibraryEx and GetProcAddress if you have the header file for DLL https://docs.microsoft.com/en-us/windows/desktop/api/libloaderapi/nf-libloaderapi-getprocaddress or dumpbin to create def files,

Writing 4D Plugin with C++ DLL

2019-01-25 Thread Clifton Dobrich via 4D_Tech
Hello: I am writing a 4D plugin using a third-party DLL on Microsoft Windows. I want to know if there is a way to build a 4D Plugin with a third-party DLL without using Visual Studio. I have used the 4D Plugin Wizard from the github SDK. The Wizard uses Visual Studio. Visual Studio is not

Re: Printing an existing PDF file with 4D silently.

2019-01-25 Thread spiffyguy via 4D_Tech
Hi Kirk, I use launch external process and the "lpr" command on both Mac and Windows. For Mac it is built in. On windows you need to go to the control panel (win7 and up) or settings (win10) and look for "LPR Port Monitor" in the "turn windows features on or off" section. (If you have windows

Printing an existing PDF file with 4D silently.

2019-01-25 Thread rooftop99--- via 4D_Tech
Hi All, We have a need to send existing PDF documents to print (paper) without a user’s input. Programmatically we would select the appropriate PDF, set the appropriate printer, and print. Is anyone doing this via 4D with success? Would you be willing to share your technique? Thanks, Kirk

Re: Sort messes up Listbox selection when in a transaction

2019-01-25 Thread Chip Scheide via 4D_Tech
Pat, I'm not using v17 - so i can't help directly, but How about doing this instead - should be faster On load of form (or change of content of listbox) create a set - "listbox_display" on delete use set (listbox selection set) delete selection use set("listbox_display") // no query needed