5 Replies Latest reply: Dec 11, 2009 4:08 AM by lrosenth RSS

    PDFLPrintDoc functionality on non-English OS?

    anaghad Community Member

      We are using Datalogics PDF 8. 1 librrary in an exe. This has the functionality of printing a PDF region to a custom printer that generates a .EMF file. For this, we are setting few printer params using PDPrintParams and PDFLPrintUserParamsRec and then call PDFLPrintDoc.

       

      Now, on a English XP SP3 OS, this works fine and as expected generates a .EMF file with the custom printer that is added. However, on Swedish and German OS, it is NOT working. The printer just doesn't seem to do its job.

       

      Any ideas on what's causing this failure? Is it due to the printer params not being compatible on non-English OS? OR is there any other api call for printing on these OS?

       

      Any suggestions/comments or samples would be of great help.

       

      Thanks in advance!

        • 1. Re: PDFLPrintDoc functionality on non-English OS?
          lrosenth Adobe Employee

          The Adobe PDFLibrary that you've licensed from Datalogics does NOT include any printer drivers - that's something that you've installed.  So first thing to do is determine if the problem is the library or the printer. So try printing to a different printer (perhaps a standard Postscript or PCL driver) and see if it works on those OS.  I bet it will work just fine, since the Adobe PDFLibrary is used by Adobe Acrobat (and other Adobe apps) to print and it works just fine on all those systems.

           

          Also, the current version of the PDFLibrary is 9.2 - you might want to check on your support contract with DL.

          • 2. Re: PDFLPrintDoc functionality on non-English OS?
            anaghad Community Member

            Thanks for ur reply.

             

            So, as you said, it might be a problem with the custom printer and driver that we are referring. But, its kinda getting difficult for me to trace the code that is failing for this OS as the driver is a native c code.

             

            Other than this, I tried printing it to a file with the existing Adobe PDF printer (that has Adobe PDF converter driver) and it worked fine. Is there any other way that I check the printing? You have mentioned printing to a postscript..how do i test this?

            Also, as you have mentioned to check the support contract with DL, before contacting them, is it documented anywhere about the compatibility of PDFv8.1 library on OS's that it supports?

             

            Please let me know.

             

            Once again thank you!

            • 3. Re: PDFLPrintDoc functionality on non-English OS?
              lrosenth Adobe Employee

              It's not the library - it's the driver...

              • 4. Re: PDFLPrintDoc functionality on non-English OS?
                anaghad Community Member

                Thanks Irosenth for ur reply!

                I also suspect that the issue might be in the custom driver.

                 

                But, while I was debugging the code, I tried calling the default Adobe PDF Converter printer which already has Adobe PDF Converter driver. But this too didnt work when invoked through PDFLPrintDoc.

                 

                Is it possible for you to tell me how to invoke a default configured printer say a PDF Converter or XPS Document writer using PDFLPrintDoc?

                Because if this gets successfuly on sweidsh OS, I'd be sure that our driver has an issue.

                What do you think?

                 

                Thanks!

                • 5. Re: PDFLPrintDoc functionality on non-English OS?
                  lrosenth Adobe Employee

                  What happens when you try the printpdf sample app included in the SDK?