jefftoaster
Programmer
VFP 6.0 running on Win98.
I have setup a custom printer selection using sys(1037). After it returns, I use set("PRINTER",3) to get the printer name and PRTINFO to pick out the 2 or 3 printer settings I want. I store all this in a memo field for use later to plug into the expr field in the report table.
1. Is there any way I can tell if they've clicked cancel?
2. I can preset the printer name prior to the SYS(1037) with set printer to name xxxxx (where xxxxx is the name I pulled earlier with set("PRINTER",3)). Is there any way to preset the other settings? That way they'll know what settings they selected last time. (I'm only doing orientation, paper size, and paper source)
I have setup a custom printer selection using sys(1037). After it returns, I use set("PRINTER",3) to get the printer name and PRTINFO to pick out the 2 or 3 printer settings I want. I store all this in a memo field for use later to plug into the expr field in the report table.
1. Is there any way I can tell if they've clicked cancel?
2. I can preset the printer name prior to the SYS(1037) with set printer to name xxxxx (where xxxxx is the name I pulled earlier with set("PRINTER",3)). Is there any way to preset the other settings? That way they'll know what settings they selected last time. (I'm only doing orientation, paper size, and paper source)