Search found 914 matches

by jeffp
Thu Feb 16, 2017 1:29 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 1480

Re: DrawToIXCPage with Rotated Page

I thought that's why you wanted to see my code. So you can tell me where in my matrix code the page is being rotated.

You're correct. I don't fully understand how the Matrix code is working.

--Jeff
by jeffp
Wed Feb 15, 2017 6:50 pm
Forum: PDF-XChange Editor SDK
Topic: IIXC_Page Darkness
Replies: 3
Views: 941

IIXC_Page Darkness

Is there a property or procedure with IIXC_Page that will give me a "darkness" factions of sorts. I have another image package that does this and it is defines as "the fraction of an image that consists of "dark" pixels (i.e., pixels that would be black if the image was conv...
by jeffp
Tue Feb 14, 2017 1:54 am
Forum: PDF-XChange Editor SDK
Topic: IsModified SOLVED
Replies: 3
Views: 1407

Re: IsModified SOLVED

Perfect. Thanks.
by jeffp
Mon Feb 13, 2017 4:24 pm
Forum: PDF-XChange Editor SDK
Topic: IsModified SOLVED
Replies: 3
Views: 1407

IsModified SOLVED

Is see that there is a IsModifed property on IPXV_Document.

Is there a way to get this value or something similar on the core with IPXC_Document?

--Jeff
by jeffp
Mon Feb 13, 2017 3:04 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 1480

Re: DrawToIXCPage with Rotated Page

Here is the relevant code (most of which I got from you a while back). Currently, I'm just using APage.Set_Rotation(0); Before I do the drawing, which seems to work just fine, but would like to understand what part of the matrix code is doing the rotation if I don't call APage.Set_Rotation(0) first....
by jeffp
Sun Feb 12, 2017 4:30 pm
Forum: PDF-XChange Editor SDK
Topic: DrawToIXCPage with Rotated Page
Replies: 7
Views: 1480

DrawToIXCPage with Rotated Page

When I draw a PDF Page to IIXC_Page using the following APage.DrawToIXCPage(Result, xDestRect, pMatrix, ARenderParams, AOCContext, nil); If the PDF Page is rotated before I make the call, it appears that the call automatically rotates the page back to 0 before drawing. Is there a way to force this t...
by jeffp
Fri Feb 10, 2017 1:39 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 13877

Re: Lite Driver Merge Issue

Yes. It is working for me now.
by jeffp
Thu Feb 09, 2017 4:03 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 13877

Re: Lite Driver Merge Issue

Go figure. The following commandline works now.

/quiet /norestart /log "C:\ProgramData\FileCenter\PDFPrinterLog6.txt" PNAME="FileCenter PDF Printer 6" ORGANIZATION="FileCenter" KEYDATA="..."
by jeffp
Thu Feb 09, 2017 3:34 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 13877

Re: Lite Driver Merge Issue

I think something may be wrong with how you parse the commandline or how I'm entering it again. I just did another attempt where I rearragned the parameters. Here's what I passed. /quiet /norestart PNAME="FileCenter PDF Printer 6" ORGANIZATION="FileCenter" /log "C:\ProgramDa...
by jeffp
Thu Feb 09, 2017 3:25 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 13877

Re: Lite Driver Merge Issue

I'm most definitely using

PNAME="FileCenter PDF Printer 6"

I just emailed the other log to support@pdf-xchange.com.

Are you able to make this work on a test machine on your end?

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

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: 13877

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" K...
by jeffp
Fri Feb 03, 2017 7:03 pm
Forum: PDF-XChange Editor SDK
Topic: PaperSizes
Replies: 1
Views: 625

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: 13
Views: 4639

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: 13877

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: 13877

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: 13877

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: 1597

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: 13877

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: 13877

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: 7057

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: 7057

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: 7057

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: 13877

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: 7057

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: 7057

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: 7057

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: 1856

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: 7057

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: 7057

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: 13877

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: 7057

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: 7057

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: 13877

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...
by jeffp
Thu Jan 12, 2017 2:34 am
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Merge Issue
Replies: 29
Views: 13877

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: 1856

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: 7057

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: 684

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: 966

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: 7057

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: 7057

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: 966

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_2...
by jeffp
Tue Jan 10, 2017 1:38 pm
Forum: PDF-XChange Drivers API SDK
Topic: Lite Driver Registry
Replies: 38
Views: 29087

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: 1856

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: 1856

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: 1856

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: 7057

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: 29087

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: 29087

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 Fi...
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: 2495

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 ...