I would imagine newer versions of Adobe Acrobat ARE NOT compatible with Visual Basic 6, additionally, the licenses for Adobe Acrobat are kind of pricey when the ONLY functionality I need is the ability to programmatically print to PDF. I have tried using Microsofts built-in Print to PDF, and that works, BUT it prompts the user to save the file, and I see no way to programmatically change that from VB6. Prints the file to a specific location.If I print to other printers, including a PDF Writer installed, the output is perfectly. Prints the file with a specific filename. To delete the generic driver, highlight it and click -(minus).Prints the file as a PDF SILENTLY with NO user action required.The end result, what I need to replicate, and what I need the communities help with is that Crystal Reports: It uses the crystal reports "PrintOut" function to specify not to prompt the user for any input, i.e. It uses the crystal reports "SelectPrinter" function to specify the Printer.DriverName, Printer.DeviceName, Printer.Port.It dynamically builds a crystal report from a SQL query based on parameters from a form.The code that is executing is doing the following: When trying to manually register the dlls using "\Windows\System32\regsvr32.exe" it fails.When trying to manually register the dlls using "\Windows\SysWoW64\regsvr32.exe" it fails.When searching the registry for the main dll or supporting dlls, nothing is found, suggesting the dlls weren't able to successfully register.The main dlls and supporting dlls mentioned above DO exist under "Windows\System32\spool\drivers\圆4".The main PDFWriter dll, "pdfddui.dll", and supporting dlls, ("pdfdd.dll", "pdfkd.dll") do not exist under the "Windows\System32\spool\drivers" location, which is where they are found on a working Windows XP machines.I can't find any specific ports or drivers for Adobe when trying to manually add the printer.I can't find the printer in the list of printers.Unfortunately, yesterday, I hit a major snag where the application is trying to print to the "Adobe PDFWriter" printer, which doesn't seem to be installed on Windows 10, even though I installed Adobe Acrobat 5.0, as administrator, with the "Include PDFWriter files" option checked during install. I have made some code adjustments already and found some other updated drivers for other dependencies, and so far through initial testing, it seems the application is performing as expected. For those people, the answer is simply because my immediate need is to use what I was given, and the eventual plan is to migrate everything over to newer versions of these core components. I already know 99% of peoples answers are along the lines of "You need to upgrade" or "Why are you using that?!". When the setup has completed you will have a printer called Bullzip PDF Printer. Just follow the few steps listed here: Download the latest stable PDF Printer (42.6 MB). The core components of the program were developed in Visual Basic 6, Crystal Reports 8, and Adobe Acrobat 5. The installation of this program is very simple. The company I am working for has rendered my services to help them get their information system application migrated from Windows XP machines to Windows 10 machines. I am hoping to get some help with a work problem I recently "inherited".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |