Search found 861 matches

by jeffp
Wed Feb 08, 2017 2:06 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Just emailed it to you.
by jeffp
Tue Feb 07, 2017 10:39 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Looks like .320 is out. Can you confirm if PNAME or PNAMELITE is the param to use to rename the driver when I install it. I just tried both /quiet /norestart /log "C:\ProgramData\FileCenter\PDFPrinterLog6.txt" ORGANIZATION="FileCenter" PNAME="FileCenter PDF Printer 6" KEYDATA="..." and /quiet /nores...
by jeffp
Fri Feb 03, 2017 7:03 pm
Forum: PDF-XChange Editor SDK
Topic: PaperSizes
Replies: 1
Views: 342

PaperSizes

Is there a procedure in the Editor SDK that will return paper sizes in points or inches given a certain type of paper like US Letter, US Legal, A4, etc.

For example, if I pass US Legal it would return 8.5 x 11 inches or in some other unit.

Thanks.

--Jeff
by jeffp
Thu Jan 19, 2017 3:15 pm
Forum: PDF-XChange Editor SDK
Topic: Multiple Instances of TPXV_Control
Replies: 11
Views: 1819

Re: Multiple Instances of TPXV_Control

Just checking back again to see if this is going to be in the cards for a future release?

--Jeff
by jeffp
Wed Jan 18, 2017 10:00 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

No rush. I can wait.

Thanks for looking into this.

Also, if .320 is just a week or so out, I can wait for the official build.

--Jeff
by jeffp
Wed Jan 18, 2017 8:57 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

That's just it. I need the installer to make the PNAME thing work. That was one of the issues.

Maybe you are saying the exe you sent me fixes the merge/append issue?

Either way, I'd prefer just to drop in a new install file that handles both.

--Jeff
by jeffp
Wed Jan 18, 2017 7:54 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Are you sure that is the right Lite Driver exe?

The last one I had was named

PDFXLite6.exe

Also, am I to use PNAME or PNAMELITE to rename to print driver to my choosing?

--Jeff
by jeffp
Tue Jan 17, 2017 6:42 pm
Forum: PDF-XChange Editor SDK
Topic: Image Clean up
Replies: 7
Views: 816

Re: Image Clean up

How do I set the nBKColor to White in the Deskew call?


--Jeff
by jeffp
Tue Jan 17, 2017 4:09 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Will,

Any update on when build .320 will be out?
by jeffp
Fri Jan 13, 2017 3:50 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Understood. Thanks.
by jeffp
Fri Jan 13, 2017 3:50 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

To round out my library :-)

But not a high priority at this point though.

I'll check back on this one when/if it becomes necessary.

Thanks again for the DibToIXCPage. That one was critical.

--Jeff
by jeffp
Fri Jan 13, 2017 3:08 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Would you happen to have a code sample to do the reverse

function IXCPageDib(APage: IIXC_Page): Cardinal;
by jeffp
Fri Jan 13, 2017 2:59 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Yes! That was it. It now seems to work in all cases. Thanks so much for your help on this one. You guys are awesome. I'm posting my final Delphi code below for anyone else needing this. Thanks again. function DibToIXCPage(HDib: Cardinal): IIXC_Page; var pData: Pointer; pHeader: PBITMAPINFOHEADER; Pa...
by jeffp
Fri Jan 13, 2017 1:41 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Ok. But that bug is a pretty big one.
by jeffp
Thu Jan 12, 2017 8:16 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Ok. I figured out how to calculate the right DataSize from the HDib info. So here is my code in Delphi produced by translating your sample. However, it doesn't quite work. I'm getting good results with BW 200dpi, but when I go to Color or 300 DPI, the image comes out stretched and funning. Any thoug...
by jeffp
Thu Jan 12, 2017 7:25 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

That was just one example I sent. Most just give me the HDib and that's all. For example, in the EZTWAIN library there is a call HDib := DIB_LoadPage(AFile, 0); Which just returns a HDIB that I want to be able to convert to IIXC_Page as well. Is there a way to compute the DataSize of the HDib from j...
by jeffp
Thu Jan 12, 2017 4:54 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

One follow up for now.

How do you set the value of

dwDataSize

which is one of the values you use in Page_CreateFromMemory

--Jeff
by jeffp
Thu Jan 12, 2017 3:32 pm
Forum: PDF-XChange Editor SDK
Topic: InsertPagesFromDoc with PDF/A
Replies: 8
Views: 863

Re: InsertPagesFromDoc with PDF/A

Thinking about this further, adding a DiscardPDFACompilance or equivalence call on just the core document IPXC_Document would be useful for those like me who try to stick to the core document if possible. It would remove the added step of converting the IPXC_Document into a IPXV_Document just to mak...
by jeffp
Thu Jan 12, 2017 3:15 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Ok. This is from your old Scan DLL. The image is passed in the pData item in the GetData call below. I then change it to HDib := Cardinal(pData); and then work with HDib in the rest of my code. I'd like to convert this HDIB into a IIXC_Page object and vice versa. procedure GetData(userData: LongWord...
by jeffp
Thu Jan 12, 2017 2:55 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

All the DIB_ calls in EZTWAIN are inside a compiled DLL so I don't think that's going to help. All I'm asking here is that it appears that the DIB in the context of EZTWAIN is some generally accepted Windows format. I'm just asking if you are familiar with this format and if so can you write a conve...
by jeffp
Thu Jan 12, 2017 2:26 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

Ok. Then are you saying it will be fixed in the next build? If so, when is it scheduled to be posted?

--Jeff
by jeffp
Thu Jan 12, 2017 2:24 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Where are you getting the DIB_ToDibSection and DIB_XResolution calls?

I have them in the EZTWAIN library that I use, but I'm trying to replace that library. Are you referring to EZTWAIN or are these calls available in a general Windows library?

--Jeff
by jeffp
Thu Jan 12, 2017 1:34 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Ok. But my issue still remains. I receive a Windows DIB (described in my last post) in the form of a Cardinal value or pointer from the scanner program. I now need to convert that into a IIXC_Page So the functions I'm after would look like this function DIBToIXCPage(HDib: Cardinal): IIXC_Page; funct...
by jeffp
Thu Jan 12, 2017 1:28 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Re: Lite Driver Merge Issue

There is no error message. Once you click Save after selecting the Merge/Append option, the dialog just closes and that's it. You don't know that there is an issue until you try opening the file you are appending to. Once you do this, you get the "can't open/file in use" message. Then once you kill ...
by jeffp
Thu Jan 12, 2017 2:34 am
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 9514

Lite Driver Merge Issue

I've given the latest version of the Lite driver to one of our customers and he is having issues with the merge/append option. It seems to lock the target file and the merge doesn't happen. I remoted in and saw it happen with printing from Excel and he just reported it doing the same thing with Quic...
by jeffp
Wed Jan 11, 2017 5:28 pm
Forum: PDF-XChange Editor SDK
Topic: InsertPagesFromDoc with PDF/A
Replies: 8
Views: 863

Re: InsertPagesFromDoc with PDF/A

Perfect. Thanks.
by jeffp
Wed Jan 11, 2017 3:10 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

I have already been able to convert a Delphi TBitmap to IIXC_Page and vice versa. What I'm taking about is a Windows DIB, not a TBitmap. The conversion from a Windows DIB to a Delphi TBitmap drops some of the properties like DPI, etc. I'm looking to convert a Windows DIB directly to IIXC_Page and vi...
by jeffp
Tue Jan 10, 2017 5:33 pm
Forum: PDF-XChange Editor SDK
Topic: Print Document
Replies: 1
Views: 352

Print Document

I'm using the following code to print the pages of a PDF document that I open from file. How can I make the Print Dialog appear and allow the user to choose the desired printer before printing the pages? if Assigned(FDocEx) then begin nID := INST_PXV.Str2ID('op.document.printPages', False); pOp := I...
by jeffp
Tue Jan 10, 2017 3:57 pm
Forum: PDF-XChange Editor SDK
Topic: PDFA Values
Replies: 3
Views: 471

Re: PDFA Values

Thanks. I missed that one.

What is the most common PDFA type these days? What should I set as the default? PDF/A-2b?

--Jeff
by jeffp
Tue Jan 10, 2017 3:50 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

In Delphi, the value from the scanner just comes back as a Cardinal value.
by jeffp
Tue Jan 10, 2017 3:27 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

I'm not sure I know what you mean.

I'm programming in Delphi so anything it can handle.

--Jeff
by jeffp
Tue Jan 10, 2017 3:12 pm
Forum: PDF-XChange Editor SDK
Topic: PDFA Values
Replies: 3
Views: 471

PDFA Values

I use the code below to convert a document into a PDFA compliant document. However, I want to account for all PDF/A types. As such, could you tell me what value to enter into the "Part" and "Conformance" items below to produce the following: PDFA_1a PDFA_1b PDFA_2a PDFA_2b PDFA_2u PDFA_3a PDFA_3b PD...
by jeffp
Tue Jan 10, 2017 1:38 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Registry
Replies: 38
Views: 13820

Re: Lite Driver Registry

Yes, Ivan emailed me directly about this.

I'm just waiting for him to implement the PNAME or PNAMELITE option in the lite exe installer so I can change the name of the driver.

--Jeff
by jeffp
Tue Jan 10, 2017 1:35 pm
Forum: PDF-XChange Editor SDK
Topic: InsertPagesFromDoc with PDF/A
Replies: 8
Views: 863

Re: InsertPagesFromDoc with PDF/A

Thanks Ivan. But I'd like to use just the core document if possible. Is there a way to discard the PDFA compliance using the IPXC_Document object? Also, once I discard the compliance and insert additional pages, will it still be a PDFA when I save it back out? Or will I need to run my convert to PDF...
by jeffp
Mon Jan 09, 2017 7:16 pm
Forum: PDF-XChange Editor SDK
Topic: InsertPagesFromDoc with PDF/A
Replies: 8
Views: 863

Re: InsertPagesFromDoc with PDF/A

In looking into this further, it looks like for the PDFA document the insert permission (and others) is set to False. (pDoc.RequestPermission(Perm_ObjDoc, Perm_OperInsert, 0) <> Perm_ReqGranted) The file doesn't have any passwords, so it look like I just need to set Perm_OperInsert (and others) to t...
by jeffp
Mon Jan 09, 2017 3:14 pm
Forum: PDF-XChange Editor SDK
Topic: InsertPagesFromDoc with PDF/A
Replies: 8
Views: 863

InsertPagesFromDoc with PDF/A

I'm trying to append a one page PDF document into an existing PDF/A document using IPXC_Pages.InsertPagesFromDoc It works fine when the existing document is a normal PDF document, but when it is a PDF/A document don't insert and I get the following return value -2112221168 I'm using the following as...
by jeffp
Fri Jan 06, 2017 4:13 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page to DIB SOLVED
Replies: 37
Views: 2715

Re: IIXC_Page to DIB SOLVED

Any more progress on this? In looking at this further, I'll need both of the following conversions. IIXC_Page to DIB and DIB to IIXC_Page I'm receiving a DIB in memory from a scanner and I need to convert it to a IIXC_Page while preserving all the DIB info such as DPI, bits per pixel, etc. Currently...
by jeffp
Thu Jan 05, 2017 10:24 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Registry
Replies: 38
Views: 13820

Re: Lite Driver Registry

Ok. Eager to get a response.
by jeffp
Wed Jan 04, 2017 11:33 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Registry
Replies: 38
Views: 13820

Re: Lite Driver Registry

Spoke too soon. I'm trying to launch the Lite Driver from my installer program. In the past I just called your exe with the following params /VERYSILENT /NORESTART /NOICONS /COMPONENTS="pdfSaver,PDFXChangedriver,Help,Languagess" "/Organization:FileCenter" /DIR="C:\Program Files (x86)\FileCenter\Driv...
by jeffp
Wed Jan 04, 2017 4:14 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

Nice. I've got it working now by just rotating the page before I place the text. Then I rotate it back. This now works because of the Invert and ConcatCS calls which I didn't have before. Without then, it doesn't work. Can you explain what the Invert and ConcatCS calls are doing? --Jeff Here is the ...
by jeffp
Wed Jan 04, 2017 1:54 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

See attached.
by jeffp
Wed Jan 04, 2017 9:58 am
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

See the attached file. You'll notice that the hidden OCR text is still being placed straight up. My objective is to have the OCR text placed at a 90 degree rotation so that it is placed behind the text on the image, which is rotated at 90 degrees. Here's how my OCR engine works. The PDF page is extr...
by jeffp
Tue Jan 03, 2017 5:16 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

Same result as the one I send you. The text is not rotated 90 to match the text in the image. Maybe we need to do a much more simple example. Could you show me how to create a new empty PDF page and then place one word on that page in the following rotated positions 0, 90, 180, 270. Again, I'm just ...
by jeffp
Tue Jan 03, 2017 3:44 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

See the two sample files attached. Right - Before.pdf is the original file with no OCR text. Right - After.pdf is the PDF file after I try to place OCR text using the code sample I sent in the last message. The code sample in my last message details the calls I'm making. I just need some help to get...
by jeffp
Tue Jan 03, 2017 3:23 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

I still need a bit more help. Below is what I have so far but I can't figure out how to rotate the content before placing it. I'm not sure what invert is doing since what I really want is to rotate the text either 90, 180, or 270 degrees. I my case the Word items are given to me based on a 0 rotatio...
by jeffp
Tue Jan 03, 2017 2:05 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Re: Placing OCR Text onto a PDF Page

I'll work on a sample for you. In the meantime, is there a way to rotate the content in the ContentCreator before I place it on the page? That way I won't have to rotate the actual page itself. Also, can you clarify which of the CC... calls above go in the loop and which ones go outside the loop. Do...
by jeffp
Mon Jan 02, 2017 7:37 pm
Forum: PDF-XChange Editor SDK
Topic: Placing OCR Text onto a PDF Page
Replies: 15
Views: 1129

Placing OCR Text onto a PDF Page

I'm trying to place OCR words onto a PDF page. If the page is rotated at 0 (straight up) then the code below works fine. However, if my PDF page is rotated at 90, 270 or 180, the text placement is not aligned with the word. I have a property below named AWords.Rotated that tells me the rotation of t...
by jeffp
Mon Dec 12, 2016 4:54 am
Forum: PDF-XChange Editor SDK
Topic: Opening Word Files SOLVED
Replies: 5
Views: 713

Re: Opening Word Files SOLVED

Thanks for the detailed explanation.
by jeffp
Fri Dec 09, 2016 2:16 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Word Files SOLVED
Replies: 5
Views: 713

Re: Opening Word Files SOLVED

Ok. Good. So there is not requirement to have your PDF Driver installed to do this conversion. One other note when converting word docs, sometimes you see very quickly a word window open and then close when doing the conversion. Is there any way to hide this completely. Lastly, since you aren't usin...
by jeffp
Thu Dec 08, 2016 8:13 pm
Forum: PDF-XChange Editor SDK
Topic: Opening Word Files SOLVED
Replies: 5
Views: 713

Opening Word Files SOLVED

I notice when when I open a Word file using OpenDocFromPath it spawn an instance of the WinWord.exe.

Does this mean that you are using your PDF Driver to convert the Word doc to PDF? Or does it just depend of the Editor SDK DLL only?

--Jeff