Search found 675 matches

by Lzcat - Tracker Supp
Thu Feb 17, 2011 8:03 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_SetTextLeading replying Bad DLL calling convention - VB6
Replies: 3
Views: 1851

Re: PXC_SetTextLeading replying Bad DLL calling convention - VB6

C++ declaration is PDFXCLIB_API HRESULT PXC_API PXC_SetTextScaling(_PXCContent* content, double scale, double* oldscale); so yours should be Public Declare Function PXC_SetTextLeading Lib "pxclib40.dll" (ByVal content As Long, ByVal Leading As Double, ByRef oldLeading As Double) As Long Di...
by Lzcat - Tracker Supp
Mon Jan 24, 2011 7:59 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXC_SetCompression and PXC_AddImageFromHBITMAP
Replies: 5
Views: 2094

Re: PXC_SetCompression and PXC_AddImageFromHBITMAP

Yes, Image compression is dependant on the HBITMAP format, but if the scanner produce 24-bit HBITMAP even when a user selects B&W mode - we can do nothing with this. From an HBITMAP we can create indexed (1 and 8 bit per pixel) and 24-bit images, later they may be converted to monochrome/gray-sc...
by Lzcat - Tracker Supp
Wed Jan 19, 2011 8:12 am
Forum: PDF-XChange Viewer SDK
Topic: problem with inserting pages
Replies: 6
Views: 2285

Re: problem with inserting pages

As you was told before (in other topic) ther is no convenient way to merge two forms - they may contain fields with same name, may contain alot of scripts that refer to fileds by names (so there will be conflicts), there may be two different submit buttons, so what merged form should do if one of th...
by Lzcat - Tracker Supp
Wed Jan 19, 2011 7:53 am
Forum: PDF-XChange Viewer SDK
Topic: The source code xxx is broken message
Replies: 24
Views: 5639

Re: The source code xxx is broken message

Adobe puts a signature on the file to make the file editable with Adobe Reader. We cannot add such signature because Adobe does not allow this. There is no way to work with the file using any other Viewer and Adobe Reader becuse of the Reader limitaions. If you will use Acrobat instead of Reader - i...
by Lzcat - Tracker Supp
Tue Jan 18, 2011 2:39 pm
Forum: PDF-XChange Viewer SDK
Topic: The source code xxx is broken message
Replies: 24
Views: 5639

Re: The source code xxx is broken message

First file (saved using Adobe) contains an Adobe-specific digital signature which allows Adobe Reader to modify the document (without this signature Adobe Reader won't modify the document). Second file (updated by Viewer) also contains this signature, but there were changes and therefore the Reader ...
by Lzcat - Tracker Supp
Mon Jan 17, 2011 3:25 pm
Forum: PDF-XChange Viewer SDK
Topic: The source code xxx is broken message
Replies: 24
Views: 5639

Re: The source code xxx is broken message

Hi Joe. Typically we show this warning message when non all pdf objects described in xref tables or streams. In general all pdf objects from document range (from 0 to MaxObjNum ) should be described in xref table (or stream), even some of them are not used (they are marked as free), but for some rea...
by Lzcat - Tracker Supp
Fri Dec 31, 2010 8:34 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 6499

Re: Corrupt File After Saving

Issue was because one of files was broken and this was not correctly handled during save. Now it is fixed, so there should be no more issues with such files. However xcpro has issues with most broken files, which AX can handle. But using xcprto you have much more control during merging and additiona...
by Lzcat - Tracker Supp
Thu Dec 30, 2010 8:46 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 6499

Re: Corrupt File After Saving

Got files and problem is reproduced.
Will fix in next build.
by Lzcat - Tracker Supp
Wed Dec 22, 2010 7:11 am
Forum: PDF-XChange Viewer (End Users)
Topic: Can not search with "1 " of the words.
Replies: 1
Views: 643

Re: Can not search with "1 " of the words.

Your file contains a font with an invalid 'ToUnicode' table, which is used to translate codes inside the PDF to unicode characters - at least character '1' is mapped to unicode 0018 (). Further this document is tagged, and this is the reason why Adobe can extract / search for '1' character correctly...
by Lzcat - Tracker Supp
Tue Dec 21, 2010 8:33 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Can not open pdf file, please help me!
Replies: 1
Views: 1349

Re: Can not open pdf file, please help me!

You get correct error code which fully described situation - xref table is invalid. Yes, this mean that your file is broken, and xcpro does not support broken files.
by Lzcat - Tracker Supp
Mon Dec 20, 2010 10:02 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Issue Updating to 4.0189
Replies: 4
Views: 2025

Re: Issue Updating to 4.0189

Here is updated file list (may be not complete, but should be enough for your problem). Original file list was not updated since V3, sorry :?
by Lzcat - Tracker Supp
Thu Dec 16, 2010 9:47 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Speed Issue with PXCp_WriteDocumentW
Replies: 6
Views: 2800

Re: Speed Issue with PXCp_WriteDocumentW

Actually not only antivirus app's may monitor File Input / Ooutput, but some other programs too. Another possibility - for some reason the OS does not use buffering and send all requests directly to disk. There is alot of small saves, so this also may be a reason for performance degradation. Regardi...
by Lzcat - Tracker Supp
Thu Dec 16, 2010 7:43 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Issue Updating to 4.0189
Replies: 4
Views: 2025

Re: Issue Updating to 4.0189

You need to update all dlls at the same time, all of them should have the same build number. Looks like you could have somewhere several different copies and you didn't update all of them. You may use this tool to scan for dlls and see their versions.
by Lzcat - Tracker Supp
Wed Dec 15, 2010 8:19 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Speed Issue with PXCp_WriteDocumentW
Replies: 6
Views: 2800

Re: Speed Issue with PXCp_WriteDocumentW

There was one change in Read/Write engine, which may cause such behaviour - we changed how files are read/saved. Old builds are using file mapping and have some strabge and rare problems when saving on network drives. New builds use ReadFile/WriteFile routines, which may have no such problems. Of co...
by Lzcat - Tracker Supp
Mon Dec 13, 2010 4:14 pm
Forum: PDF-XChange Drivers API SDK
Topic: We get the "Save as..." dialog!
Replies: 26
Views: 9687

Re: We get the "Save as..." dialog!

xcpro40 API is almost same as in V3, except fixed bugs and added new possibilities, so this should not limit you - in most cases your code will remain same, except you will want to add support of new encryption method.
by Lzcat - Tracker Supp
Fri Dec 10, 2010 5:45 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Does the PDF Format Support OpenType GSUB?
Replies: 7
Views: 1727

Re: Does the PDF Format Support OpenType GSUB?

Hi, Bhikkhu. Your pdf file does not use original character codes, it use glyph indexes (glyph is set of instructions which describe how to draw a character), so the original text can be obtained only using "reverse" mechanism. This mean that any font in this file has additional information...
by Lzcat - Tracker Supp
Fri Dec 10, 2010 7:34 am
Forum: PDF-XChange Viewer SDK
Topic: StretchDraw?
Replies: 22
Views: 5471

Re: StretchDraw?

If you need draw same image several times (with same zoom) - it will be better to create scaled copy and then draw it. First time this will take a bit longer, but the consecutive drawings would become much faster.
HTH.
by Lzcat - Tracker Supp
Wed Dec 08, 2010 7:32 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: text is garble
Replies: 1
Views: 1562

Re: text is garble

Your file contain fonts without ToUnicode table, which is required to extracrt non-ascii text using xcpro40.dll.
This behaviour will be changed in future version (not build!).
HTH.
by Lzcat - Tracker Supp
Wed Dec 08, 2010 7:22 am
Forum: PDF-XChange Viewer (End Users)
Topic: Extract pages does not extract forms with it
Replies: 4
Views: 1368

Re: Extract pages does not extract forms with it

You have simple workaround - delete not needed pages ad save file with another name.
But do not expect that you can merge two files with form fields - for now form fields cannot be copied or moved from one document to another.
HTH.
by Lzcat - Tracker Supp
Tue Dec 07, 2010 4:16 pm
Forum: PDF-XChange Drivers API SDK
Topic: Saved PDF size different between 32bit and 64bit drivers
Replies: 10
Views: 4379

Re: Saved PDF size different between 32bit and 64bit drivers

Build 189 is avail and it should fix this issue.
Please check and coem back with testing results.
by Lzcat - Tracker Supp
Fri Dec 03, 2010 2:57 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Add page numbers to a PDF file
Replies: 3
Views: 2077

Re: Add page numbers to a PDF file

You should use any suitable functions to create another pdf file with additional content (PXC_TextOut or PXC_DrawTextExW to place text to required position, ans so on), and then use PXCp_PlaceContents to place created pdf file over existing content, as you read before.
by Lzcat - Tracker Supp
Fri Dec 03, 2010 12:39 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Printing Current View into PDF -> Letters are gone
Replies: 14
Views: 3243

Re: Printing Current View into PDF -> Letters are gone

I still think the user should be given the option to disable "Print Text as Curves," so that font embedding is an alternative option. Sorry, but printing text as text is more complex task than printing text as curves (PDF may contain embedded fonts, which cannot be used for printing witho...
by Lzcat - Tracker Supp
Fri Nov 26, 2010 3:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 6499

Re: Corrupt File After Saving

Current v2.5 beta (build 188) does not include required fix, it will be avail with next build (189).
by Lzcat - Tracker Supp
Thu Nov 18, 2010 7:28 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 3418

Re: distribution files for adding watermarks

If there is such difference problem may be with a PDF file, placing watermark as foreground may depend on page content. However this should be not PC specific ... Can you make additional check with your files? And if there is file where placing watermark make it invisible - please provide original f...
by Lzcat - Tracker Supp
Wed Nov 17, 2010 8:29 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 3418

Re: distribution files for adding watermarks

Here is some suggestions what can be done:
1. Check dll versions on PC where code is not working. All dll should have same version.
2. Check if there is other copies of dlls somewhere on PC (you may use tool decribed in this topic).
3. Try to use common font like Arial.
by Lzcat - Tracker Supp
Wed Nov 17, 2010 7:44 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 6499

Re: Corrupt File After Saving

Can you provide PXCp_... function call sequence to reproduce corruption? Looks like there is problem with specific files(s) and call sequence. File for testing I already have :) And will se what can be done to handle already corrupted files (Viewer has completely different and more advanced code to ...
by Lzcat - Tracker Supp
Tue Nov 16, 2010 2:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 3418

Re: distribution files for adding watermarks

Have tested on my PC, all work as expected, except file was not created if I pass invalid path to Viewer.
Can you say what is different on user PC and your development machine?
by Lzcat - Tracker Supp
Sun Nov 14, 2010 10:13 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 6499

Re: Corrupt File After Saving

Reference present in both files, orginal file contain referenced object, merged - no (but reference remains there, and this is why it cannot be processed using xcpro40).
by Lzcat - Tracker Supp
Sat Nov 13, 2010 9:05 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Corrupt File After Saving
Replies: 23
Views: 6499

Re: Corrupt File After Saving

Strange behaviour. Resulting document contain reference to non-existing object (PDFCreactiveX), and it is strange that this object was not saved.
Can you provide sample code which help us reproduce such problem?
by Lzcat - Tracker Supp
Fri Nov 12, 2010 2:51 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: distribution files for adding watermarks
Replies: 9
Views: 3418

Re: distribution files for adding watermarks

Your example is incomplete, so we cannot say where the problem actually is. Are you sure that you handle all cases where PXCp_... functions may return unexpected results? We will need more information before we can help. Regarding dlls - you have only missed the fm40tiff.dll one (responsible for loa...
by Lzcat - Tracker Supp
Fri Nov 12, 2010 9:36 am
Forum: PDF-XChange Viewer SDK
Topic: PDF/A
Replies: 7
Views: 2283

Re: PDF/A

There is no simple way to convert existing PDF to PDF-A format - it must be at least verified, and if needed - corrected (in most cases correction is required). For now only PXCLIB40 can create PDF-A/1b compliant files, and you should call PXC_NewDocumentEx with PDFA_1b parameter. Driver also can cr...
by Lzcat - Tracker Supp
Tue Nov 09, 2010 7:31 am
Forum: PDF-XChange Viewer SDK
Topic: Choose which mouse can be used by the viewer
Replies: 4
Views: 1700

Re: Choose which mouse can be used by the viewer

Hi Henri.
Does any other application can differentiate which mouse is used? AFAIK all applications (and the OS too) use all mice as one, so if you try to move two of them at same time you get a funny result.
by Lzcat - Tracker Supp
Tue Nov 09, 2010 7:20 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to check owner password?
Replies: 1
Views: 1370

Re: How to check owner password?

Sorry, but current realization does not allow checking password after it was set (and yes, for documents with emty owner or user password emty password is set automatically when opening).
by Lzcat - Tracker Supp
Mon Oct 25, 2010 2:08 pm
Forum: PDF-XChange Viewer SDK
Topic: PXCV_DrawPage using a meta DC
Replies: 1
Views: 924

Re: PXCV_DrawPage using a meta DC

There is no guarentee than text from a pdf file will be send to printer as text. For now pxcview.dll can try to render text as text when the font is not embedded and one of system fonts is used for substitution or when the embedded font is TTF. Otherwise text will be rendered as curves. And even in ...
by Lzcat - Tracker Supp
Thu Oct 21, 2010 8:33 am
Forum: PDF-XChange Viewer (End Users)
Topic: PDF X Vwer Locks up on Saving heavily Marked Up file
Replies: 6
Views: 1570

Re: PDF X Vwer Locks up on Saving heavily Marked Up file

Please make sure that you not using build 56 - there is a known issue with Viewer lockup in this build. Build 57 is available and it fixes this issue.
by Lzcat - Tracker Supp
Mon Oct 18, 2010 6:45 am
Forum: PDF-XChange Viewer (End Users)
Topic: Where can I download 64bit PORTABLE XChange viewer?
Replies: 1
Views: 762

Re: Where can I download 64bit PORTABLE XChange viewer?

Hi Matt. 64-bit Portable version does not exist and I'm affraid that it will be released only when everyone will use 64-bit version of Windows (32-bit app can be run on 64-bit OS, but not vice versa). However you may try do following - install 64-bit version of Viewer and replace PDFXCview.exe in po...
by Lzcat - Tracker Supp
Fri Oct 15, 2010 3:31 pm
Forum: PDF-XChange Viewer (End Users)
Topic: pdf tab display problem
Replies: 15
Views: 3839

Re: pdf tab display problem

Please do following: 1. Run the portable version. 2. Make sure that the checkbox for "Restore last session when application starts" is checked. 3. Open several documents. 4. Close Viewer. 5. Send your settings.dat file to lazycat@tracker-software.com (do not post it on forum because it con...
by Lzcat - Tracker Supp
Wed Oct 13, 2010 6:29 am
Forum: PDF-XChange Viewer (End Users)
Topic: pdf tab display problem
Replies: 15
Views: 3839

Re: pdf tab display problem

One more suggestion: can you try to use portable version? It does not store settings into registry, so this may help us to locate where problem is...

available here :

www.tracker-software.com/PDFX_Vwr_Port.zip

Thanks.
by Lzcat - Tracker Supp
Thu Oct 07, 2010 1:46 pm
Forum: PDF-XChange Viewer SDK
Topic: Error 0x821403e8 on PXCV_ReadDocumentFromIStream?
Replies: 1
Views: 956

Re: Error 0x821403e8 on PXCV_ReadDocumentFromIStream?

You can use PXCV_Err_FormatSeverity, PXCV_Err_FormatFacility, and PXCV_Err_FormatErrorCode function to get description of the error, even it not listed in help files, and use of these functions is strongly recommended. 0x821403e8 = [PDF Structure 40] Insufficient memory If this information does not ...
by Lzcat - Tracker Supp
Mon Oct 04, 2010 4:35 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Session sync (?)
Replies: 2
Views: 991

Re: Session sync (?)

Best solution for your purposes is to use portable version from flash drive. Check "Restore last used Layout and Zoom settings for pages from the Recent List when opening" option and portable version will remember all settings include position in file on flash drive. But there is one limit...
by Lzcat - Tracker Supp
Mon Oct 04, 2010 4:26 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Uninstall Update - Build 56 Crashes
Replies: 18
Views: 4443

Re: Uninstall Update - Build 56 Crashes

Freeze is reproduced, but not crash. It is a bit differen behaviour, but also not good :(
This problem is already reported and fixed, but fix will be avail with version 2.5 coming soon.
by Lzcat - Tracker Supp
Mon Oct 04, 2010 9:37 am
Forum: PDF-XChange Viewer (End Users)
Topic: Uninstall Update - Build 56 Crashes
Replies: 18
Views: 4443

Re: Uninstall Update - Build 56 Crashes

Hi Pavman. Cannot reproduce crash with your file, sorry. Do you have any instructions what to do to reproduce it? Also I can save your document using Acrobat 9.3.4 with no errors. And yes, your document contains incorrect record in pages tree (where all pages in PDF file are described), this is why ...
by Lzcat - Tracker Supp
Sun Oct 03, 2010 9:13 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to replace a specific font ?
Replies: 3
Views: 2178

Re: How to replace a specific font ?

Does € character display correctly on same PC where it cannot be printed? Which applications do you use to view/print pdfs?
Also, providing sample file will be very helpfull. If you cannot attach it here - please send it to lazycat@tracker-software.com with link to this topic in message body.
by Lzcat - Tracker Supp
Fri Oct 01, 2010 1:45 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to replace a specific font ?
Replies: 3
Views: 2178

Re: How to replace a specific font ?

Hi Giovanni. There is no such function and it is not planned to it in nearest future (in most cases replacing font in pdf file may make part of text ugly or even unreadable). However if you are familar with PDF you may use Low-Level API from xcpro40 to do this (but there is chance to get unacceptabl...
by Lzcat - Tracker Supp
Thu Sep 30, 2010 1:21 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Uninstall Update - Build 56 Crashes
Replies: 18
Views: 4443

Re: Uninstall Update - Build 56 Crashes

I'm affraid that without file we cannot help. Can you send it to support@pdf-xchange.com with link to this topic in message body? And please archive it before sending (to reduce file size and maintain it integrity).
by Lzcat - Tracker Supp
Thu Sep 30, 2010 10:18 am
Forum: PDF-XChange Viewer (End Users)
Topic: Commenting is no more allowed after saving
Replies: 3
Views: 1034

Re: Commenting is no more allowed after saving

Sorry, but commenting files using Adobe Reader is Adobe-specific featue. Adobe Reader allow commenting only if document is digitally signed using their own certificate. So document must be created using one of Adobe products with special permissions set. Documents created (or modified) using any thi...
by Lzcat - Tracker Supp
Tue Sep 28, 2010 12:44 pm
Forum: PDF-XChange Viewer SDK
Topic: Extract text missing CR characters
Replies: 10
Views: 3275

Re: Extract text missing CR characters

PDF files does NOT include any CL/LF characters, in most cases does not include Tab character and often does not include space characters. so any addition of such characters is heuristic and programs may add them in different way. PDF Tools can extract text from page as plain text (adding spaces may...
by Lzcat - Tracker Supp
Thu Sep 16, 2010 9:24 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: File merge of many pdf is really slow
Replies: 4
Views: 2334

Re: File merge of many pdf is really slow

There is two suspicious things on your PC config: 1. 2 Gb of RAM may be not enough for all aplications and OS, so swapping may downgrade performance. xcpro40.dll keep all data in memory and may use up to 2Gb of RAM. 2. Some SSD may downgrade performance when there is alot save operations with small ...
by Lzcat - Tracker Supp
Thu Sep 16, 2010 6:34 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: File merge of many pdf is really slow
Replies: 4
Views: 2334

Re: File merge of many pdf is really slow

Hi Giovanni. Your code looks good, so it is hard to recommend some changes in your code. Do you have any AV software runnig? If yes - please try to disable it and test again. And please notify us about result. Can you make some test application (or special build of existing one) and send it to us wi...
by Lzcat - Tracker Supp
Wed Sep 15, 2010 6:30 am
Forum: PDF-XChange Viewer (End Users)
Topic: XChange Viewer and Autorun
Replies: 9
Views: 2334

Re: XChange Viewer and Autorun

You need portable version, not copy of installed one. Portable version does not interact with registry on user's PC, does not modify association, etc. Also you may customize Viewer settings and it will start with them each time when it is run. For example you may customize toolbars, open several fil...