PrintQueue defaultPrintQueue = LocalPrintServer.GetDefaultPrintQueue() ĭefaultPrintQueue.AddJob("my document", "c:\\temp\\mytempfile.xps", true) ĭisclaimer: I work for Amyuni Technologies. Option 2: Manually recreate the registry key below and make sure to give the Everyone group full control to this key. This process will need to be done for each further windows upgrade. AMYUNI - COMPANY 5255 Henri-Bourassa W, Suite 215. Option 1: Re-install the Amyuni PDF Converter after the windows upgrade. provides Borland® Delphi® users with technical information to interface with the Amyuni series of printer drivers and Amyuni PDF Creator. The Amyuni PDF Converter is a virtual printer driver that quickly converts documents from any Windows® application to PDF. LocalPrintServer localPrintServer = new LocalPrintServer() Easily build full PDF capabilities with PDF Converter, PDF Creator and PDF Suite. Intuitive, easy to use, and lightning fast, PDF Converter will change the way you work with PDF. The code would look like this: //set license key This is needed only with licensed versionĪcPDFCreatorLib.SetLicenseKey("your company", "your activation code") Ī doc = new (null) ĭoc.AttributeByName("PrintAsImage").Value =1 Īnother alternative would be to save your file as xps using Amyuni PDF Creator then send the xps file to the printer: // Create print server and print queue. Convert documents to PDF from any Windows application. This is how Amyuni PDF Creator uses fonts embedded in the PDF file, which is the case for the file that you have presented.Ī possible workaround for this could be to use the attribute "PrintAsImage" of the Document class. 4D PDF Plugin The 4D PDF Plugin enables 4D developers to interface very easily with the Amyuni PDF Converter. My best guess would be that the driver of this printer has issues dealing with process-level fonts (those that are registered using the GDI function AddFontResourceEx) when "Enable advanced printing features" is checked. A file will be generated for you which you can transmit over the Intranet, Internet or view with the Amyuni PDF Creator or the free Adobe Acrobat Reader. Without having access to the same printer that you are using it is hard to know exactly what is happening.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |