Search found 41 matches

by oskpm
Fri Jul 21, 2017 6:44 am
Forum: PDF-XChange Drivers API SDK
Topic: Windows 10 Version 1703 and pagefile.sys
Replies: 10
Views: 5987

Re: Windows 10 Version 1703 and pagefile.sys

Indeed, Windows 10 Version 1703 Build 15063.483 resolved it. :?
Thanks.
by oskpm
Wed Jul 19, 2017 1:45 pm
Forum: PDF-XChange Drivers API SDK
Topic: Windows 10 Version 1703 and pagefile.sys
Replies: 10
Views: 5987

Re: Windows 10 Version 1703 and pagefile.sys

Are there any news in this matter?

Regards,
Peter
by oskpm
Fri Jun 30, 2017 6:37 am
Forum: PDF-XChange Drivers API SDK
Topic: Windows 10 Version 1703 and pagefile.sys
Replies: 10
Views: 5987

Re: Windows 10 Version 1703 and pagefile.sys

Thanks.
One thing I forgot to mention.

It is not only related to word doc. You can also use a text file or any other file ...

Regards,
Peter
by oskpm
Wed Jun 28, 2017 1:32 pm
Forum: PDF-XChange Drivers API SDK
Topic: Windows 10 Version 1703 and pagefile.sys
Replies: 10
Views: 5987

Re: Windows 10 Version 1703 and pagefile.sys

Hello Stefan, thanks a lot. A modified sample is attached to this post. You can use the following steps to reproduce: - "Print .doc-File" - File to print: (a larger file with more pages leeds to earlier crash) - Klick "Go" You can stop the loop by clicking the "cancel button...
by oskpm
Wed Jun 28, 2017 7:02 am
Forum: PDF-XChange Drivers API SDK
Topic: Windows 10 Version 1703 and pagefile.sys
Replies: 10
Views: 5987

Windows 10 Version 1703 and pagefile.sys

Hello, we have the following issue in Windows 10 Version 1703 and PDFSaver (Version 4 or 6). Windows 10 below Version 1703 is all fine! If we batch convert many doc files to pdf (> 10000, dependend on filesize), at a certain point pagefile.sys begins to grow until operation system gives memory error...
by oskpm
Mon Mar 13, 2017 2:45 pm
Forum: PDF-XChange Viewer SDK
Topic: Wrong position of annotations
Replies: 6
Views: 3150

Re: Wrong position of annotations

Hi Will, I'm using PDFViewerSDK.
Regards.
by oskpm
Mon Mar 13, 2017 11:27 am
Forum: PDF-XChange Viewer SDK
Topic: Wrong position of annotations
Replies: 6
Views: 3150

Re: Wrong position of annotations

See attached File. Regional settings are "standard"

Opening it with Adobe Reader differs from PDFExchangeViewer.
by oskpm
Fri Mar 03, 2017 7:24 am
Forum: PDF-XChange Viewer SDK
Topic: Wrong position of annotations
Replies: 6
Views: 3150

Wrong position of annotations

Hi there, on some computers the position of pdf annotation is (always) placed on a wrong position. Other annotations (i.e. textboxes) or stamps are correct. On the attached example the mouse click was on the head of the arrow. OS: Windows 7|8 Screen resolution: Default 100% PDFViewer-Version: 2.5.32...
by oskpm
Tue May 31, 2016 3:09 pm
Forum: PDF-XChange Viewer SDK
Topic: Sample in Java
Replies: 1
Views: 1478

Sample in Java

Hey,

we're using PDF-XChangeViewer for some years in a C++ applikation.

We have the requierement to build a java application, too.
Is there a working sample to load, view, place annotation and save a pdf document?
Thanks in advance

peter
by oskpm
Wed Dec 05, 2012 6:50 am
Forum: PDF-XChange Viewer SDK
Topic: Pencil Shape
Replies: 6
Views: 2480

Re: Pencil Shape

It works. Great! :D

Thanks a lot.
by oskpm
Tue Dec 04, 2012 7:44 am
Forum: PDF-XChange Viewer SDK
Topic: Pencil Shape
Replies: 6
Views: 2480

Pencil Shape

Hi, I'm using the pencil to draw a freehand shape into the pdf. This works great. I noticed that the shapes get grouped if they are drawn shortly after each other (about < 500ms) If the time is greater than (estimated) 500ms, theres only one object for each shape. Can I change this behavior, so that...
by oskpm
Thu Aug 23, 2012 8:18 am
Forum: PDF-XChange Drivers API SDK
Topic: Unique AddTextWatermark
Replies: 8
Views: 4822

Re: Unique AddTextWatermark

Thanks a lot :D
by oskpm
Wed Aug 22, 2012 6:12 am
Forum: PDF-XChange Drivers API SDK
Topic: Unique AddTextWatermark
Replies: 8
Views: 4822

Re: Unique AddTextWatermark

@Nico I modified your sample-project to reproduce the behaviour. See attached zip-archive. The modified code (here as c#) private void bPrint_Click(object sender, EventArgs e) { PDFPrinter.SetAsDefaultPrinter(); bPXCPrinterDefault = true; PrintDocument printDoc = new PrintDocument(); printDoc.PrintP...
by oskpm
Tue Aug 21, 2012 5:26 am
Forum: PDF-XChange Drivers API SDK
Topic: Unique AddTextWatermark
Replies: 8
Views: 4822

Re: Unique AddTextWatermark

Hello Nico, thanks for your reply. I'm printing multiple docs one after another. Some with a watermark (text1) on all pages, some with another watermark (on all pages) and some without a watermark at all. Attached a pdf created with 2 calls of AddTextWatermark directly on after another with the same...
by oskpm
Mon Aug 20, 2012 10:26 am
Forum: PDF-XChange Drivers API SDK
Topic: Unique AddTextWatermark
Replies: 8
Views: 4822

Unique AddTextWatermark

Hi, I'm using AddTextWatermark to add a single Watermarktext on all pdf-pages with the following steps: - Create Printer - Call AddTextWatermark(...) with Text 1 (same sName-Parameter) - Print Doc - call AddTextWatermark(...) with Text 2 ( same sName-Parameter) - Print Doc - ... - Destroy Printer Th...
by oskpm
Wed Aug 08, 2012 6:29 am
Forum: PDF-XChange Viewer SDK
Topic: Digital Signature Windows Cert Store
Replies: 3
Views: 2043

Digital Signature Windows Cert Store

Hi, if I call the sign method a dialog appears where I can select a certificate from windows cert store ( and create cert, select time server ...). After that I can place the signature by mouse position. Is there a possibility to skip this dialog? I already have a certificate (PCCERT_CONTEXT, CryptU...
by oskpm
Thu Feb 16, 2012 3:13 pm
Forum: PDF-XChange Drivers API SDK
Topic: Printer visibility in Citrix / Terminalserver environment
Replies: 7
Views: 4172

Re: Printer visibility in Citrix / Terminalserver environmen

Hi John, Hi Peter, If the purpose of your Word (or 3rd party app) Print button however is to create a PDF that is used solely to store documents in your own application that is a structured document management system - this is the one allowed variation as you are not competing with our end user prod...
by oskpm
Thu Feb 16, 2012 2:44 pm
Forum: PDF-XChange Drivers API SDK
Topic: Printer visibility in Citrix / Terminalserver environment
Replies: 7
Views: 4172

Re: Printer visibility in Citrix / Terminalserver environmen

Hi John, though most prints came in fact of a word instance we created ourself the users is able to print from another application. If this is a violation of the agreement I have to remove the 'alltime aware' printer and so the problem is solved. thanks for this hint. But at this point another quest...
by oskpm
Thu Feb 16, 2012 6:12 am
Forum: PDF-XChange Drivers API SDK
Topic: Printer visibility in Citrix / Terminalserver environment
Replies: 7
Views: 4172

Re: Printer visibility in Citrix / Terminalserver environmen

Hello Stefan, our users should also be able to print from other application e.a. office-products. The resulting pdf is passed to an separate application, which saves it in our structure. The structure is dependend on the main application the users starts. That's why we do it this way. Perhaps we cou...
by oskpm
Wed Feb 15, 2012 10:38 am
Forum: PDF-XChange Drivers API SDK
Topic: Printer visibility in Citrix / Terminalserver environment
Replies: 7
Views: 4172

Printer visibility in Citrix / Terminalserver environment

Hello, creation/destruction of the virtual printer is synchronous to our software start/end. This works fine on a local system. In a multiuser environment (e.a. citrix or microsoft terminal services) there are multiple instances of our software in different sessions. Because the printers all have un...
by oskpm
Thu Oct 13, 2011 12:42 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert Multi Tif Files
Replies: 5
Views: 3020

Re: Insert Multi Tif Files

The following code works (without a typedef) _PXCImage** pImages = NULL; // get pagecount DWORD PageCount = 0; hr = PXC_AddImageExA(pdf, ImageFileName, NULL, 0); ASSERT ( !IS_DS_FAILED(hr)); PageCount = hr; ASSERT(PageCount > 0 ); // alloc image array pImages = new void**[PageCount]; ASSERT ( pImage...
by oskpm
Mon Oct 10, 2011 12:33 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert Multi Tif Files
Replies: 5
Views: 3020

Re: Insert Multi Tif Files

hello victor, function declaration is HRESULT PXC_AddImageExA( _PXCDocument* pdf, LPCSTR filename, _PXCImage** image,DWORD pages); So the function call PXC_AddImageExA(pdf, ImageFileName, &pImages, PageCount); should be OK. It's just the sample code from your documentation (see pages 144/145) Re...
by oskpm
Mon Oct 10, 2011 9:05 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert Multi Tif Files
Replies: 5
Views: 3020

Insert Multi Tif Files

Hello, I have a problem with a multipage tif file. HRESULT hr ; _PXCImage* pImages = NULL; // get pagecount DWORD PageCount = 0; hr = PXC_AddImageExA(pdf, ImageFileName, NULL, 0); ASSERT ( !IS_DS_FAILED(hr)); PageCount = hr; ASSERT(PageCount > 0 ); // alloc image array pImages = new _PXCImage[PageCo...
by oskpm
Wed Oct 05, 2011 8:57 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert TIF-Files
Replies: 7
Views: 4167

Re: Insert TIF-Files

Problem resolved

Thank you.
by oskpm
Mon Sep 26, 2011 5:54 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: sign existing pdf file
Replies: 8
Views: 3553

Re: sign existing pdf file

 
In your code signt '&' (ampersand) marked as red shold be removed. You are lucky that you did not got crash.
That's it, thanks a lot!

Regards,
Peter
by oskpm
Fri Sep 23, 2011 6:02 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: sign existing pdf file
Replies: 8
Views: 3553

Re: sign existing pdf file

Hello Ivan,

the value of hr is -2113394928

PXC_Err_FormatErrorCode() gives 'Error' as error message


Regards,
Peter
by oskpm
Thu Sep 22, 2011 6:22 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: sign existing pdf file
Replies: 8
Views: 3553

Re: sign existing pdf file

Hello Stefan, thanks for reply. Unfortunately also with the functions from XCPro (PXCp_...) there is no success: My sample code: HRESULT hr ; PDFDocument pdf; hr = PXCp_Init(&pdf, "xxx","xxx"); ASSERT( IS_DS_SUCCESSFUL(hr) ); // OK hr = PXCp_ReadDocumentW(pdf, L"c:\\1.pd...
by oskpm
Tue Sep 20, 2011 1:17 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: sign existing pdf file
Replies: 8
Views: 3553

sign existing pdf file

Hello, signing a new created pdf file (PXC_NewDocument(...)) works fine, but how can you sign an existing file? some pseudocode so far... PDFDocument pdf; HRESULT res = PXCp_Init(&pdf, "XXX","XXX"); //... PXCp_ReadDocumentA(pdf, "c:\\1.pdf", d); _PXCPage* page = NUL...
by oskpm
Tue Sep 20, 2011 10:00 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert TIF-Files
Replies: 7
Views: 4167

Re: Insert TIF-Files

... one more problem:

sample03.tif scanned with colors ... becomes a 'little bit' pink in result.pdf :-)
by oskpm
Tue Sep 20, 2011 6:00 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert TIF-Files
Replies: 7
Views: 4167

Re: Insert TIF-Files

Hello John, thanks for your reply and sorry for late response because of holiday time sample01.tif was created by 'Windows Fax- and Scan' Windows 7 Professional. For sample02.tif the following code works fine, many thanks for your hint :-) hr = PXC_PlaceImage(pContent, pImage, 0,height, width, heigh...
by oskpm
Mon Sep 12, 2011 9:47 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert TIF-Files
Replies: 7
Views: 4167

Insert TIF-Files

Edit: Please move this topic to "PDF-Tools SDK"-Forum Hi there, I have problems inserting tif files into a new pdf document: First Problem: I only see a blank page (see result.pdf and sample02.tif), but the pdf file has nearly same filesize as the origin tif-file. some shortened pseudocode...
by oskpm
Fri Jun 24, 2011 7:21 am
Forum: PDF-XChange Viewer SDK
Topic: PDF XChange Viewer SDK can do SCAN?
Replies: 8
Views: 2545

Re: PDF XChange Viewer SDK can do SCAN?

John - Tracker Supp wrote:Late spring if all goes to plan.
Is there already a release date?

For my requirement, it would be enough to suppress the scannersource dialog.

Regards,
Peter
by oskpm
Fri Jan 28, 2011 6:34 am
Forum: PDF-XChange Viewer SDK
Topic: capture save as event
Replies: 14
Views: 3949

Re: capture save as event

Hi Vasyl
Vasyl-Tracker Dev Team wrote:Hi, Peter.

What version of SDK is used by you? Should be 2.5.191 because it is new notify...
HTH
Installed version was 2.5.0190.
Now updated to current version 2.5.191 and problem seems to be solved.

Thanks a lot to all.

Regards
Peter
by oskpm
Thu Jan 27, 2011 1:19 pm
Forum: PDF-XChange Viewer SDK
Topic: capture save as event
Replies: 14
Views: 3949

Re: capture save as event

Hi all, thanks for sample code, but I think we talk past each other :wink: My problem is, that the event is simply not fired. Tested with Visual Studio 6 MFC and Visual Studio 2010 MFC, both with the ActiveX-Control. See output of afxDump. The string 'Notifications.BeforeSaveDoc' is not in debug out...
by oskpm
Thu Jan 27, 2011 7:28 am
Forum: PDF-XChange Viewer SDK
Topic: capture save as event
Replies: 14
Views: 3949

Re: capture save as event

Hi, Peter Please look to our VC++ examples for PDF-XChange Viewer ActiveX SDK (for example <InstalledSDK>\Examples\CExamples\FullDemo\MainDlg.h/MainDlg.cpp). The C++ signature for event handler: HRESULT __stdcall OnEvent(/*[in]*/ LONG Type, /*[in]*/ BSTR Name, /*[in]*/ VARIANT DataIn, /*[out]*/ VAR...
by oskpm
Wed Jan 26, 2011 6:36 am
Forum: PDF-XChange Viewer SDK
Topic: capture save as event
Replies: 14
Views: 3949

Re: capture save as event

Hello Peter, as a C# developer an newbie to PDFXchange I also was a little bit confused about the event handling. The first thing is that the signature of the event handler method is not as described in the help file. void viewer_OnEvent(object sender, AxPDFXCviewAxLib._IPDFXCviewEvents_OnEventEven...
by oskpm
Tue Jan 25, 2011 6:18 am
Forum: PDF-XChange Viewer SDK
Topic: capture save as event
Replies: 14
Views: 3949

Re: capture save as event

now as zip-attachement ...
by oskpm
Mon Jan 24, 2011 11:25 am
Forum: PDF-XChange Viewer SDK
Topic: capture save as event
Replies: 14
Views: 3949

capture save as event

Hello, in my project I want to capture the SaveAs-Dialog after a call to place a digital signature. but only the following events are fired (see attached sample) Event name Global::FocusGained Event name Global::FocusGained Event name Global::BeginModal Event name Global::FocusGained Event name Glob...
by oskpm
Wed Sep 01, 2010 11:17 am
Forum: PDF-XChange Drivers API SDK
Topic: Callback MFC Sample Without ATL
Replies: 4
Views: 2389

Re: Callback MFC Sample Without ATL

Hello, thanks for your answer, but the thread can be closed. Problem's resolved: You have to implement all callbacks in the right order or you can use DISP_FUNCTION_ID(...) instead with the appropriate callbackindex (see sample below with index 0x05). This works for me. BEGIN_DISPATCH_MAP(CMyEvent, ...
by oskpm
Wed Sep 01, 2010 7:06 am
Forum: PDF-XChange Drivers API SDK
Topic: Callback MFC Sample Without ATL
Replies: 4
Views: 2389

Re: Callback MFC Sample Without ATL

Update: Use DISP_FUNCTION_ID(..) with correct index instead of DISP_FUNCTION(...) This solution seems to work for me. Regards Peter one step forward ... It seems that the problem is with BSTR * Parameter in OnStartDoc(..) Changing the parameter to LPCTSTR the function gets called, but one more prob...
by oskpm
Tue Aug 31, 2010 9:03 am
Forum: PDF-XChange Drivers API SDK
Topic: Callback MFC Sample Without ATL
Replies: 4
Views: 2389

Callback MFC Sample Without ATL

Hello, I'm looking for samplecode (as mentioned in https://forum.pdf-xchange.com/viewtopic.php?f=2&t=1725&hilit=MFC) for MFC Callbacks (OnStartDoc(..) ...) without ATL? My try with IConnectionPointContainer/IConnectionPoint/Advise does not receive the events: class CMyEvent : public CCmdTarg...