Search found 706 matches

by Lzcat - Tracker Supp
Fri Aug 17, 2012 6:22 am
Forum: PDF-XChange Viewer (End Users)
Topic: Synchronization request
Replies: 7
Views: 1041

Re: Synchronization request

Hi 0xab3d.

You might want to try using the portable version. If you carry it around with you between the PCs e.g. on a flash drive - it should remember the position at which you opened each file (as long as it appears on the same network path from both machines).
by Lzcat - Tracker Supp
Thu Aug 16, 2012 5:55 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to remove annotations from a pdf file
Replies: 13
Views: 4469

Re: How to remove annotations from a pdf file

Hi m.holik.
Be aware that hidden annotations will be copied into destination document and still will be accessible.
Yo ucan completely remove annotations, but this will require using the Low-Level API. Please see this topic for details: http://www.tracker-software.com/forum3/ ... 44&t=13668
by Lzcat - Tracker Supp
Fri Aug 03, 2012 12:56 pm
Forum: PDF-XChange Viewer SDK
Topic: Crop White Space using PDF Tools SDK
Replies: 48
Views: 10370

Re: Crop White Space using PDF Tools SDK

To scale page you should enlarge WholePageRect - it determine scaling coefficients. For example if page has dimensions 612x792 pt to scale it 1 to 100 WholePageRect should be [0, 0, 61200, 79200]. If you need rect 100x100 pixels (scaled!) from bottom-right corner, WholePageRect should be [-61100, -7...
by Lzcat - Tracker Supp
Fri Aug 03, 2012 12:06 pm
Forum: PDF-XChange Viewer SDK
Topic: Crop White Space using PDF Tools SDK
Replies: 48
Views: 10370

Re: Crop White Space using PDF Tools SDK

It is very simple. Lets imagine that we have page 3000x4000 pixels na need to draw rect [800, 600, 950, 900] in page coordinates on screen DC in coordinates 120, 70. In case of bitmap creation you must create bitmap, draw to bitmap and then draw bitmap to DC. It will work, but require bitmap creatio...
by Lzcat - Tracker Supp
Fri Jun 22, 2012 2:52 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Page size and margins
Replies: 5
Views: 1847

Re: Page size and margins

Hi. If you want to deal with PDF files in any depth - you will find it extremely beneficial to review the PDF specification (PDFReference), where you can find a lot of helpful information, including an answer to your question :) In short - standard unit for PDF dimensions and coordinates is point (p...
by Lzcat - Tracker Supp
Mon Jun 11, 2012 1:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXCp_PageGetBox
Replies: 5
Views: 1670

Re: PXCp_PageGetBox

Hi. No, you may not set CropBox if it is not needed. Page can have several different boxes - MediaBox , CropBox , BleedBox , TrimBox , ArtBox , and only MediaBox is required. If any Box is not set for page JS will reurn default value (for CropBox it will be value of MediaBox , and for all others - v...
by Lzcat - Tracker Supp
Tue May 15, 2012 12:17 pm
Forum: PDF-XChange Viewer SDK
Topic: Temp files leaved behind after printing.
Replies: 5
Views: 1363

Re: Temp files leaved behind after printing.

Hi Carlo. As you already see theese files contains embedded fonts used during printing. This is because there is no other way to pass embedded font to printer - we must create a file with a font and add it as a temporary font in the sytem. Unfortunately in most cases we cannot delete this file immed...
by Lzcat - Tracker Supp
Wed Apr 18, 2012 10:08 am
Forum: PDF-XChange Viewer (End Users)
Topic: Numbers don't display correctly if I copy and paste
Replies: 6
Views: 1055

Re: Numbers don't display correctly if I copy and paste

Hi Ted. Regarding your file - we copy numbers correctly, when Adobe does not :wink: To display numbers which we "don't copy" uses embedded fonts with built-in non-standard encoding, where codes corresponding to standard digits are mapped to other characters (for example the standard letter 0 (zero) ...
by Lzcat - Tracker Supp
Mon Apr 09, 2012 12:17 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXCp_ET_GetElement returns 0 for position
Replies: 26
Views: 13223

Re: PXCp_ET_GetElement returns 0 for position

Hello Marco. There is problem in your file (not critical for viewing or text ectraction) and xcpro was not avble to handle it correctly. According to PDF specification Font Descriptor dictionary must contain FontName entry (missing in your file). From next build (202) xcpro will ignore absence of th...
by Lzcat - Tracker Supp
Fri Mar 30, 2012 6:45 am
Forum: PDF-XChange Viewer SDK
Topic: Can't Open PDF in Adobe after Printed from Lite Driver
Replies: 8
Views: 2733

Re: Can't Open PDF in Adobe after Printed from Lite Driver

Sorry, but your documkent was modified after creation, so it not a problem of Lite Driver itself. However looks like last modification was done using Viewer, so I'll need way to reproduce it. By the way, if your client is using some automation system to manage documents it may be its problem - file ...
by Lzcat - Tracker Supp
Sat Feb 18, 2012 5:55 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXCp_GetPagesCount
Replies: 19
Views: 8181

Re: PXCp_GetPagesCount

Your file contains an incorrect xref table (actually there is one error with an incorrect first object number - it should be 0 instead of 1), and all object offsets are wrong (shifted). xcpro cannot handle such files correctly and returns an error. When you say "get an exception" you mean that xcpro...
by Lzcat - Tracker Supp
Tue Feb 14, 2012 11:09 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Access Violation Exception thrown
Replies: 19
Views: 4707

Re: Access Violation Exception thrown

Hi isaware. As in most cases when using xcpro a crash is because of an incorrect call sequence: Public Function WriteDocument() As Boolean 'some code skipped sCurrentProcess = "WriteMergeFile" iRes = XCPro40_Defs.PXCp_WriteDocumentW(m_iPDF, m_sRootFileName, XCPro40_Defs.PXCp_CreationDisposition.PXCp...
by Lzcat - Tracker Supp
Sat Feb 11, 2012 7:15 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Access Violation Exception thrown
Replies: 19
Views: 4707

Re: Access Violation Exception thrown

Thanks for files, but where I should put them?
Or where I should put breakpoint to start debugging and see where files should be located?
by Lzcat - Tracker Supp
Fri Feb 10, 2012 7:24 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Access Violation Exception thrown
Replies: 19
Views: 4707

Re: Access Violation Exception thrown

Can you provide your test files, please?
And with detailed instruction how to use your project, please - it runs, but no error messages, no crash, nothing.
by Lzcat - Tracker Supp
Fri Jan 20, 2012 7:23 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Overlay and CropBox
Replies: 1
Views: 1204

Re: Overlay and CropBox

Hi Joey.

Can you provide working sample (with sources) to illustrate problem? We cannot help without your code.

Please ensure all licensing info (serials etc) is removed prior to posting here on the forum.

Thanks
by Lzcat - Tracker Supp
Tue Jan 03, 2012 7:20 am
Forum: PDF-XChange Viewer (End Users)
Topic: PDF showing as having no security measures, but in fact does
Replies: 2
Views: 923

Re: PDF showing as having no security measures, but in fact

There is no security on this file. The Difference in security properties in Adobe products (Acrobat and reader) is beacuse Adobe Reader has limited functionality and cannot perform some operations even if they are allowed. This document contains only a few portions of text (almost all on diagrams), ...
by Lzcat - Tracker Supp
Fri Dec 23, 2011 12:36 pm
Forum: PDF-XChange Viewer SDK
Topic: PDFXCview.exe v2.5.200 crash
Replies: 1
Views: 807

Re: PDFXCview.exe v2.5.200 crash

Hi. we have confirmed the crash in our end-user version and fixed it. The fix will be available in build 201. PS. This file has problems - it contains a font with custom Encoding where 1 byte is mapped into one glyph but the ToUnicode table which maps two bytes to one unicode character. Normally bot...
by Lzcat - Tracker Supp
Tue Dec 20, 2011 11:22 am
Forum: PDF-Tools 4
Topic: Leave images in their original format
Replies: 9
Views: 2746

Re: Leave images in their original format

Hi Martin. It is impossible to leave images in their original format: 1. PDF does not embed images in original format, it supports several compression algorithms (not all that are available by any means) and no file containers, so even if we have the original image - we must convert it to an interna...
by Lzcat - Tracker Supp
Tue Dec 20, 2011 9:18 am
Forum: PDF-XChange Viewer (End Users)
Topic: Problems with PDF Object IDs
Replies: 64
Views: 12737

Re: Problems with PDF Object IDs

Sorry, but you cannot use pdf object numbers to identify annotations or something else after PDF file was changed - most programs may change object numbers when saving document, it is not restricted. For example we have document with 10 000 pages - this will require at least 20 000 specified objects...
by Lzcat - Tracker Supp
Tue Dec 20, 2011 6:52 am
Forum: PDF-XChange Viewer (End Users)
Topic: Printing out texts with "typewriter" tool.
Replies: 7
Views: 1019

Re: Printing out texts with "typewriter" tool.

Almost always this happens when printer drivers do not interpret fonts from PDF files correctly. There is no common solution (at least for now), but there are two possible workarounds: 1. Check the Print as Images option in the print dialog or 2. Press the Advanced button (in the print dialog as wel...
by Lzcat - Tracker Supp
Mon Dec 19, 2011 3:19 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Text using my font not displayed
Replies: 4
Views: 707

Re: Text using my font not displayed

Problem is in PDF file (and in the PDF creator used too) - it uses non-standard encoding and does not specify the parameters etc it is using ! In such cases the font must be embedded and built-in encoding used. On my PC there is no Shadow font and both our Viewer and Adobe Acrobat display blank page...
by Lzcat - Tracker Supp
Mon Nov 21, 2011 2:36 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: -2081161208 error code when saving big file
Replies: 8
Views: 2369

Re: -2081161208 error code when saving big file

It looks like you have problems with system resources: error -2081161208 was returned from the system and means "Not enough storage is available to process this command". There may be several issues with merging alot of files into one: 1. xcpro was not designed for such heavy load and therefore it k...
by Lzcat - Tracker Supp
Mon Nov 14, 2011 10:30 am
Forum: PDF-X OCR SDK
Topic: PDF library crash
Replies: 78
Views: 23059

Re: PDF library crash

Sorry, we cannot reproduce crash with latest build (199 at the moment).
Please try update and if problem remains - please provide step-by-step instructions how to reproduce it (best case - test project with sources).
by Lzcat - Tracker Supp
Mon Oct 31, 2011 9:40 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: GetPagesCount Error
Replies: 5
Views: 2698

Re: GetPagesCount Error

Hi, This file is broken (the xref table is incorrect) and I am afraid that the xcpro40.dll library can work only with in tact files - correctly formatted. I assume this is a one of file - if you have multiple files such as this you may want to contact the source and advise them - also opening in our...
by Lzcat - Tracker Supp
Wed Oct 12, 2011 12:02 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Embedded fonts -> system fonts
Replies: 5
Views: 743

Re: Embedded fonts -> system fonts

This is because your file contain incorrectly embedded fonts - they are Type 1, but embedded as TrueType. For now Viewer cannot correctly handle such situation and therefore use sytem fonts for substitution.
by Lzcat - Tracker Supp
Wed Oct 12, 2011 9:58 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert Multi Tif Files
Replies: 5
Views: 1927

Re: Insert Multi Tif Files

Coorect code should be: HRESULT hr ; typedef _PXCImage* _PXCImagePtr; _PXCImagePtr* 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 _PXCIma...
by Lzcat - Tracker Supp
Mon Oct 10, 2011 11:25 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Insert Multi Tif Files
Replies: 5
Views: 1927

Re: Insert Multi Tif Files

You sould be more creaful with pointers - this is second time when you added unnecessary '&': 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...
by Lzcat - Tracker Supp
Mon Oct 10, 2011 10:47 am
Forum: PDF-XChange Viewer (End Users)
Topic: File blows up after simple change
Replies: 4
Views: 695

Re: File blows up after simple change

This is hybrid document - document produced using a recent update to the PDF specification (e.g. features like compressed objects and xref streams, added in spec. version 1.5), but with PARTIAL compatibility with older readers which do not understand these new features. Therefore this file reports t...
by Lzcat - Tracker Supp
Mon Oct 10, 2011 9:55 am
Forum: PDF-XChange Viewer SDK
Topic: TrackerPdf.LoadSettings slow across network
Replies: 6
Views: 1148

Re: TrackerPdf.LoadSettings slow across network

There is nothing specific in your settings, unless the client PC has 256Mb of RAM or less - in this case 10% is not enough for effective caching. Possible connection between annotaions and sections is Comments Pane - when it is opened it starts to enumurate comments on all pages. Of cource there sho...
by Lzcat - Tracker Supp
Wed Oct 05, 2011 12:45 pm
Forum: PDF-XChange Viewer SDK
Topic: TrackerPdf.LoadSettings slow across network
Replies: 6
Views: 1148

Re: TrackerPdf.LoadSettings slow across network

One possible problem - your client has really slow network. It may be bandwith problem or even high latency problem (settings are read using small block size, so it also may be a problem). But in most cases Settings are not so big, so it should not case such serious slowdown. Maybe user also open so...
by Lzcat - Tracker Supp
Mon Oct 03, 2011 6:34 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Can't Save using PXCp_WriteDocumentW
Replies: 1
Views: 1070

Re: Can't Save using PXCp_WriteDocumentW

Object 30 in this file is corrupted (it is an image streamwith an invalid length).
xcpro supports only correct PDF files, so it cannot work with this one. There is only one way to work with this file is to correct it - re-save using Viewer/Acrobat/etc.
HTH.
by Lzcat - Tracker Supp
Fri Sep 30, 2011 6:12 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: text is garble
Replies: 19
Views: 5160

Re: text is garble

Almost same - another encoding of same kind.

Currently the xcpro40 Library can handle such fonts only if the 'ToUnicode' table is embedded with it.
by Lzcat - Tracker Supp
Thu Sep 29, 2011 3:44 pm
Forum: PDF-XChange Viewer (End Users)
Topic: Text in created Bookmark all greek to me in some files
Replies: 6
Views: 1058

Re: Text in created Bookmark all greek to me in some files

Your file use embedded font(s) with built-in encoding and does not provide any information how to translate codes to unicodes - this is a reson why we cannot extract correct (greek) text. Adobe Acrobat also cannot extract text correctly. possible solution - recreate document with required informatio...
by Lzcat - Tracker Supp
Thu Sep 29, 2011 7:58 am
Forum: PDF-XChange Viewer SDK
Topic: PDF-XChange Viewer has stopped working
Replies: 3
Views: 890

Re: PDF-XChange Viewer has stopped working

Reproduced and fixed.
Fix will be avail in next build (200).
by Lzcat - Tracker Supp
Fri Sep 23, 2011 10:29 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: sign existing pdf file
Replies: 8
Views: 2002

Re: sign existing pdf file

  hr = PXCp_SignDocumentW( & pdf, pCertContext, 0, &sr, L"Test Reason", L"Test Location", L"Test Contact Info", NULL, Sign_GR_Name | Sign_TX_Name | Sign_TX_Date |Sign_TX_Location | Sign_TX_Reason | Sign_TX_DName); In your code signt '&' (ampersand) marked as red shold be removed. You are lucky that ...
by Lzcat - Tracker Supp
Fri Sep 09, 2011 11:01 am
Forum: PDF-XChange Viewer (End Users)
Topic: Export to Image crash
Replies: 12
Views: 1469

Re: Export to Image crash

Looks like version of Shlwapi.dll in your system was lower than 4.71 and therefore was problems when calling StrStrIW (function StrStrIW require Shlwapi.dll version 4.71 or later). After updating IE to version 6 Shlwapi.dll was updated as well and this resolved problem. Sorry that we frogot about th...
by Lzcat - Tracker Supp
Fri Sep 02, 2011 8:15 am
Forum: PDF-XChange Viewer SDK
Topic: win32exception : Access is denied (..OnEndPage()) : Vista
Replies: 22
Views: 4432

Re: win32exception : Access is denied (..OnEndPage()) : Vist

All what you wrote is true, BUT you missed that there are TWO examples which use the same pxcview.dll - pxcview36_sample_app.exe and PXCView36_sample_csharp.exe . pxcview36_sample_app.exe does not use .NET and can print FAILS_TO_PRINT.pdf . PXCView36_sample_csharp.exe use .NET and cannot print FAILS...
by Lzcat - Tracker Supp
Thu Sep 01, 2011 10:56 am
Forum: PDF-XChange Viewer SDK
Topic: win32exception : Access is denied (..OnEndPage()) : Vista
Replies: 22
Views: 4432

Re: win32exception : Access is denied (..OnEndPage()) : Vist

pxcview36_sample_app.exe uses pxcview.dll and can print. It does NOT use .NET. So the problem is not in the pxcview.dll. PDFXCview.exe can also print and does NOT use .NET (even our .NET samples use the Viewer AX. The actual printing is done in another process which does not use .NET itself). So ple...
by Lzcat - Tracker Supp
Fri Aug 19, 2011 1:28 pm
Forum: PDF-XChange Viewer SDK
Topic: Problems with spaces in extracted texts
Replies: 5
Views: 1284

Re: Problems with spaces in extracted texts

Then you will need to optimize it. This is just a sample, without any optimizations - as I can see there are a lot of memory allocation/deallocation operations (two per each text element), this may be a bottleneck. Also, xcpro compose text inside, without making copies as PXCp_ET_GetElement does, so...
by Lzcat - Tracker Supp
Thu Aug 18, 2011 6:13 am
Forum: PDF-XChange Viewer SDK
Topic: Problems with spaces in extracted texts
Replies: 5
Views: 1284

Re: Problems with spaces in extracted texts

Problem is because your file contain fonts with non-standard encodings, so xcpro cannot correctly determine characters widths (especially space width) and therefore cannot compose letters correctly (yes, in this document each letter is displayed separately, so text composing is not so simple). I'm a...
by Lzcat - Tracker Supp
Wed Jun 29, 2011 2:58 pm
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 6668

Re: PDF Files with large bitmaps slow to display

That is strange. Can you post code which is used for drawing?
by Lzcat - Tracker Supp
Wed Jun 29, 2011 6:30 am
Forum: PDF-XChange Viewer SDK
Topic: PDF Files with large bitmaps slow to display
Replies: 19
Views: 6668

Re: PDF Files with large bitmaps slow to display

pxcview.dll does not cache rendered page, but it cache internal PDF structure, decoded images, etc. PXCV_ReleasePageCachedData may releae them, so on each draw they will be decoded. Which parameters are you passing to PXCV_ReleasePageCachedData and how often do you call it?
by Lzcat - Tracker Supp
Mon Jun 27, 2011 5:37 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Converting TIF to PDF
Replies: 6
Views: 1466

Re: Converting TIF to PDF

Hi Christina. I'm affraid that there is not so many possibilities to speedup, but you may try to do following: 1. Rewrite your code to use several threads (best case - one thread per CPU core). If you have quad-core CPU you will get up to four times the speed. 2. Disable your antivirus/firewall (and...
by Lzcat - Tracker Supp
Fri Jun 24, 2011 7:17 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Combine two pdf files with internal link
Replies: 4
Views: 1682

Re: Combine two pdf files with internal link

Sorry, but links to external files will be not automatically converted to local when you are inserting that file to original (why does xcpro do this? It may not even know which pages from which file you are trying to insert). At the moment we do not provide functions to modify annotations (a link is...
by Lzcat - Tracker Supp
Fri Jun 24, 2011 7:08 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Converting TIF to PDF
Replies: 6
Views: 1466

Re: Converting TIF to PDF

Can you be more specific about your conversion process? Are you converting one tiff file to one pdf or multiple tiff to one file? And what exactly happens when you try to convert 2500 files?
Also, please make sure that you are using latest build (195 at the moment)
by Lzcat - Tracker Supp
Fri Jun 10, 2011 9:37 am
Forum: PDF-XChange Viewer (End Users)
Topic: String Display Error
Replies: 4
Views: 1542

Re: String Display Error

1. Your document corrupted, so it may be incorrectly displayed. 2. In your document used fonts are not embedded, so text may display incorretly - depends on fonts present in PC where it will be Viewed. 3. Your document use non-standard font names (local chineese insted of Unicode). Viewer doe not su...
by Lzcat - Tracker Supp
Tue Jun 07, 2011 8:06 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: text is garble
Replies: 19
Views: 5160

Re: text is garble

You can get all text from page (without positions) or each element with positions - same as in PDF content. Yes, in most cases words in PDF are splitted, and we do not provide mechanism to collate word fragments because there is alot of specific cases which require separate handling - text on curves...
by Lzcat - Tracker Supp
Mon May 30, 2011 6:23 am
Forum: PDF-XChange Viewer (End Users)
Topic: Complex PDFs extreamly slow when opened from network share
Replies: 7
Views: 1897

Re: Complex PDFs extreamly slow when opened from network sha

Hi lgitlitz.

Can you also do following test: copy file to your PC and open it locally?

Also, what type of LAN you are using? Local ethernet, VPN, or another configuration?
by Lzcat - Tracker Supp
Mon May 30, 2011 6:20 am
Forum: PDF-XChange Viewer (End Users)
Topic: can viewer support fonts in the viewer directory?
Replies: 8
Views: 891

Re: can viewer support fonts in the viewer directory?

No. The current version of Viewer can use only system fonts for substitution.

I suggest a much better solution - embed the fonts in the document, so it will look the same on any computer.