David Cochrane
New member
- Local time
- Today, 22:06
- Joined
- Oct 2, 2000
- Messages
- 6
I am currently printing a report which is setup to a default printer of PDFWriter and the name is being pulled from some coding. I found the coding somewhere (forgotten where). The problem is that I am changing my computers over to Win2000 professional and the old way which worked on Win98 no longer works as it doesn't use the win.ini file the same way Win98 did.
Could anybody guide me in the right direction (either back to the website I got the original code from, or to a different way of doing it).
From what I can understand of the original code it wrote the filename to something in the win.ini then changed the printer to PDFWriter and then PDF Writer used the stored string to create the pdf file in that location with that name. Win 2000 doesn't use win.ini to store that information anymore but rather writes it to a Registry setting.
Thanks for any help in advance
David Cochrane
p.s. Sorry I posted this originally in the Form area.
Could anybody guide me in the right direction (either back to the website I got the original code from, or to a different way of doing it).
From what I can understand of the original code it wrote the filename to something in the win.ini then changed the printer to PDFWriter and then PDF Writer used the stored string to create the pdf file in that location with that name. Win 2000 doesn't use win.ini to store that information anymore but rather writes it to a Registry setting.
Thanks for any help in advance
David Cochrane
p.s. Sorry I posted this originally in the Form area.