Search found 84 matches

by glima
Wed Jan 30, 2019 5:32 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Merging Documents (64-bit)
Replies: 2
Views: 2126

Re: Merging Documents (64-bit)

I think it was a timing issue. I reworked the function to use the "while" so that I could use another library to merge files if this function failed. (This other library has drawbacks because you have to add 2 files to a third, which can be time consuming when a large number of files is being proces...
by glima
Mon Jan 21, 2019 6:09 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Merging Documents (64-bit)
Replies: 2
Views: 2126

Merging Documents (64-bit)

I have a very interesting issue. Where the code works on some machines and not others (Win 64 with all Updates) I have a C# wrapper class for merging documents. The function below takes adds the pages from one document to another. Log from Working machine 2019/01/21 10:44:25.05 -> AddPages (a1) 0 - ...
by glima
Thu Nov 16, 2017 5:10 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Re: Page Rotation

I am using C# and have created wrappers, since there is was not a Core API at the time. Is there any documentation for the Core API in a C# environment? Are there any examples?
by glima
Wed Nov 08, 2017 1:18 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Re: Page Rotation

I have a PDFWatermark Class that does different watermarking to PDF files. The SetLocation function sets the upper left point of the object we are stamping. Each item in the stamp is then placed based on the offset passed to the function public void TextWatermark(string text, int page, Color color, ...
by glima
Tue Nov 07, 2017 4:00 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Re: Page Rotation

We are using both text and image watermarks based on the item being stamped. In the example we are using only text watermarks
by glima
Tue Nov 07, 2017 3:21 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Re: Page Rotation

We are currently using the Core API in a .NET environment but are open to other solutions.

I have played around with TransformPage function (we use this to scale documents if the customer wants) but can't get matrix correct for the rotation and change the document to be 8.5 x 11.0
by glima
Tue Nov 07, 2017 2:33 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Re: Page Rotation

Some our clients get documents scanned on a scanner that feeds the paper on the 11.0" side. These documents are then saved in the PDF with a page size of 11.0 x 8.5. They also set the rotation to 270 degrees. When printed or displayed the document is in the correct orientation 8.5 x 11.0. The issue ...
by glima
Mon Nov 06, 2017 5:21 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Re: Page Rotation

This function sets the page rotation but does not orient the data on the page. Now when we view the file, the data is rotated.

We can use the printer driver to print the document and the orientation is correct but this takes a long time
by glima
Mon Nov 06, 2017 3:38 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 1565

Page Rotation

Is there an easy way to correct a document or page that has been rotated? Some of our client get PDF’s scanned landscape but the page rotation has been set to R270. This cause errors in gathering coordinate information and adding text to the document In this particular case the file is 11.0 x 8.5 ro...
by glima
Thu Jun 08, 2017 4:21 pm
Forum: PDF-XChange Drivers API SDK
Topic: Detect Driver Installed
Replies: 1
Views: 1232

Detect Driver Installed

Is there a way to detect if the printer driver (V6) has already been installed on the system. I don't want to run the install again and have the customer need to reboot when they install re-install our application. We use the PDFX6SA_sm.exe to install the printer. PDFX6SA_sm.exe /VERYSILENT /NORESTA...
by glima
Wed Mar 22, 2017 8:25 pm
Forum: PDF-XChange Drivers API SDK
Topic: Save.Path issue
Replies: 4
Views: 1813

Re: Save.Path issue

Oops.

This all happened when another developer added an instantiation of the driver using our wrapper class.Once we removed this everything is working fine.
by glima
Mon Mar 20, 2017 10:34 pm
Forum: PDF-XChange Drivers API SDK
Topic: Save.Path issue
Replies: 4
Views: 1813

Re: Save.Path issue

That was not the cause of the problem. The issue is due to multiple instances of a virtual printer being generated The files being converted so quickly that I get TEST Printer TEST Printer 1 TEST Printer 2 TEST Printer 3 TEST Printer 4 After editing the code the instance disappeared and did not appe...
by glima
Mon Mar 20, 2017 7:09 pm
Forum: PDF-XChange Drivers API SDK
Topic: Save.Path issue
Replies: 4
Views: 1813

Save.Path issue

The path provided cannot have an extension We combine multiple files into a single PDF file using the driver. We then run a process with the completed PDF string TempFolder = Path.Combine(Path.GetTempPath(), "[TEST]" + Path.GetRandomFileName()); PDFPrinter.set_Option("Save.Path", TempFolder); PDFPri...
by glima
Wed Jul 29, 2015 3:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embedded Fonts
Replies: 5
Views: 1592

Re: Embedded Fonts

This now works properly
by glima
Thu Jul 23, 2015 5:31 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embedded Fonts
Replies: 5
Views: 1592

Re: Embedded Fonts

On ALL systems the APP was installed from the same installation source. Our Process uses PDF Viewer functions initialize PDF Driver - Our own instance createDC() startDoc Open Bad File - PXCV_ReadDocumentW Set Options - Save.Path - Save.File - Save.WhenExists Get Page Info - PXCV_getPageDimensions S...
by glima
Thu Jul 23, 2015 2:22 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embedded Fonts
Replies: 5
Views: 1592

Embedded Fonts

One of our features is to try and fix malformed PDF files. These are usually created by older scanning software. To do this we print each page of the existing document to a new document using the PDF Driver (v 5.5 Build 313.1). Depending on the version of windows and the whether the driver is 32 or ...
by glima
Tue Jun 24, 2014 7:21 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Creating smaller PDF's that contain JPG's
Replies: 3
Views: 1839

Re: Creating smaller PDF's that contain JPG's

After your response I realized that the PDF's are being created via the Print Driver and using a DC. I am going to look into creating the base PDF and then use watermarks for the dynamic portion.

Thanks for the quick reply and I will let you know how it turns out
by glima
Mon Jun 23, 2014 2:46 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Creating smaller PDF's that contain JPG's
Replies: 3
Views: 1839

Creating smaller PDF's that contain JPG's

We are creating PDF's that have the same image on the page several times. These files can have a lot of pages and thus are extremely large. This large size is due to the PDF storing multiple copies of the same image. Is there a way to save space by just using 1 image and then a reference to it?
by glima
Mon Sep 10, 2012 2:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: PXCV_DrawPageToDC and Printer driver
Replies: 3
Views: 4282

Re: PXCV_DrawPageToDC and Printer driver

This did not help. The output was landscape but it was shrunk to fit into portrait. Please review the PDF's attached in the original post. This is what is performed for each page in the Original document 'Paper.SheetSizeIndex' = -2 'Paper.SheetWidth' = Pagewidth 'Paper.SheetHeight' = Pageheight 'Dev...
by glima
Mon Sep 10, 2012 6:11 am
Forum: PDF-XChange Drivers API SDK
Topic: PXCV_DrawPageToDC and Printer driver
Replies: 3
Views: 4282

PXCV_DrawPageToDC and Printer driver

We have clients with malformed PDF files that they need to stamp with our software. We convert their original files, by printing the documents to a PDF-XChange Driver Printer so they can be stamped. Steps 1. Create a PDF Driver 2. Create a Printer DC 3. Open malformed document. 4. Loop through each ...
by glima
Mon Sep 03, 2012 7:37 pm
Forum: PDF-XChange Viewer SDK
Topic: Pasted Stamp IDs
Replies: 1
Views: 1135

Pasted Stamp IDs

How can I get the control Id from a Stamp that has been pasted with the "Paste" command. 1. I Create a memory bitmap and then paste it to the document. This creates a Stamp object. 2. I need to then programatically change the opacity and other properties for this object. 3. Since there may be more t...
by glima
Sat Aug 18, 2012 2:34 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Errorcodes from Scanner Library
Replies: 1
Views: 1550

Errorcodes from Scanner Library

I am trying to scan documents using your xscan40 library. The function SXC_WIADoTransfer returns 0x80010105. What is this error? It is not listed in the documentation.
by glima
Sat Oct 29, 2011 2:23 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: GetPagesCount Error
Replies: 5
Views: 2679

Re: GetPagesCount Error

The code does this. if (PXCp_Init(&hFileHandle, PFXGLO_SerialKey4, PFXGLO_DevCode4) == 0) { if (PXCp_ReadDocumentW(hFileHandle, FileNameW, 0) == 0) { if ((err = PXCp_GetPagesCount(hFileHandle, &lDocumentPages)) != 0 ) printf("ProcessFiles - Get Pages Count = %d",&err); I have attached a test_a.zip f...
by glima
Mon Oct 24, 2011 7:03 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: GetPagesCount Error
Replies: 5
Views: 2679

GetPagesCount Error

I am using the PXCp_GetPagesCount function and on some PDF's it returns an error PS_ERR_REQUIRED_PROP_NOT_SET.

If I let the process continue I get DPro_Err_WrongPageNumber from the PXCp_PageGetBox for the MediaBox ID.
by glima
Thu Jul 28, 2011 1:03 am
Forum: PDF-XChange Viewer SDK
Topic: Dynamic Stamp
Replies: 3
Views: 1156

Re: Dynamic Stamp

Currently the stamps like "Approved","Confidential" "Received" etc are static. I have been able to add a JPG in its own collection of available stamps but it now becomes another static stamp. I would like to be able to stamp using a JPG that can change at runtime. 1. Create JPG from data customer ha...
by glima
Sat Jul 16, 2011 3:04 pm
Forum: PDF-XChange Viewer SDK
Topic: Dynamic Stamp
Replies: 3
Views: 1156

Dynamic Stamp

Is there a way with the latest Viewer SDK to create a Stamp Tool that has a dynamic jpg/image file. I use ImageXchange to create image files that get stamped to PDF files.
by glima
Mon Apr 25, 2011 3:58 am
Forum: PDF-XChange Viewer SDK
Topic: Stamp Image using Image X-Change
Replies: 1
Views: 731

Stamp Image using Image X-Change

How can I create a JPG or PNG that can be used as a Stamp Tool that has a transparent background using your Image X-Change functions. I am currently creating a JPG but it is not transparent.
by glima
Wed Jul 15, 2009 1:51 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Portfolio PDF Files
Replies: 3
Views: 1364

Portfolio PDF Files

Is there any way to manipulate Portfolio PDF files? A client sent us one that has multiple PDF files. We need to be able to stamp each page with a Watermark and write it to a new file. Our current software will stamp the first file in the portfolio but not the rest.
by glima
Mon Jul 06, 2009 3:08 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: License Key to use PDFPRN_
Replies: 3
Views: 4355

Re: License Key to use PDFPRN_

I figured out the problem. In testing I was trying different things and found that the conversion to Unicode failed thereby the printed PDF had the demo stamps. When I fix that the output had the stamps because I was using the same variable for Serial_Key and Dev_Code, which was now in Unicode. Thanks
by glima
Fri Jul 03, 2009 4:39 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: License Key to use PDFPRN_
Replies: 3
Views: 4355

License Key to use PDFPRN_

Do we need a separate key to use the PDFPRN functions? I am converting an application that used the 3.x Windows messages. I have everything working but the printed PDF files have the docu-track bitmaps. The application is using the 4.x PDF-XChange DLL for stamping the printed files, which are workin...
by glima
Fri Feb 27, 2009 3:48 am
Forum: PDF-XChange Drivers API SDK
Topic: Installing Driver
Replies: 3
Views: 1303

Re: Installing Driver

The command Line is:

PDFX4SA_sm.exe /VERYSILENT /NORESTART /COMPONENTS="pdfSaver, PDF-XChange driver" /DIR="'C:Program File\Bates\" /Organization:"Bates PRO'" /AutoUnload:15 /PNAME="Bates PDF Printer"')
by glima
Wed Feb 25, 2009 9:10 pm
Forum: PDF-XChange Drivers API SDK
Topic: Installing Driver
Replies: 3
Views: 1303

Installing Driver

Our software was written to use Windows Event messages. Can we still use these with version 4.

I have tried to install the new driver using a different printer name (PNAME) and it does not work properly. It always shows up as PDF-XChange 4.0.
by glima
Wed Jan 28, 2009 4:13 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing PDF to Printer
Replies: 1
Views: 2589

Printing PDF to Printer

Is there an API that will allow me to print a PDF to a windows printer?

I looked at using the PCXV_DrawPageToDC but was wondering if there was another way?
by glima
Mon Jan 29, 2007 5:47 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

That worked great. I have one slight problem in that the system increments to the next possible number before it gets to the page. This is due to the different number formats and document formats we are able to process. I would like to preprocess any TIF files, locating the thumbnails. In order to n...
by glima
Mon Jan 15, 2007 8:20 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

I am using the latest. Here is the process I am going through. Open Document IMG_GetPagesCount Loop NumberofPages IMG_DecodePage IMG_RemovePage IMG_PageGetSize IMG_PageGetDPI IMG_PageGetFormat IMG_PageGetDC Write Some Text to DC IMG_ImageCreateEmpty IMG_ImageInsertPage IMG_ImageInsertPagesToFile IMG...
by glima
Mon Jan 15, 2007 5:41 am
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

Yes I am using the files dated 1/10/07. I have been able to make some adjustments to the code to make our software work. I am using the e = IMG_ImageRemovePage(FileHandle, 0, Page) funtion which will error. The issue is that we have an option to stamp number across documents. If the number of pages ...
by glima
Sat Jan 13, 2007 6:32 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

I downloaded the latest version with the DLL dated 1/10/07 but it still has problems with the original file. It reports that there are 8 pages even though there are only 4.

I did notice that the version on the ixclib.dll was 3.60.0110 and not the stated 3.60.1102.
by glima
Thu Jan 04, 2007 4:07 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

File sent via E-Mail due to size.
by glima
Thu Jan 04, 2007 4:05 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

I have additional information: Instead of using e = IMG_ImageRemovePage(FileHandle, 0, Page) I tried e = IMG_ImageRemovePage(FileHandle, CurrentPage, Page) and was able to read all 4 of the pages. Since the API to get the number of pages is returning the incorrect count it still errors when I try to...
by glima
Tue Jan 02, 2007 2:14 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

A couple of notes on what the software does. 1. Open document 2. Get number of pages 3. Remove page from existing 4. Using GDI and a DC stamp each page with a watermark 5. Write stamped page to new document. Step 3 is the following e = IMG_ImageDecodePage(FileHandle, CurrentPage) e = IMG_ImageRemove...
by glima
Mon Jan 01, 2007 8:24 pm
Forum: Image-XChange SDK
Topic: TIFF File Problem
Replies: 19
Views: 8798

TIFF File Problem

I have a client that is using my application and is having an issue with a TIFF file. The TIFF file has 4 pages but the Image-XChange libraries (3.6.0.110) report back as 8 pages. Also the system returns an error when trying to process the function IMG_ImageRemovePage for the second page. As a note ...
by glima
Fri Oct 06, 2006 9:20 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing Watermarked PDF
Replies: 11
Views: 2776

This has become a real problem, we are losing sales. 1. The documents print before they are stamped. 2. It prints if you set the "Print as Image". 3. It prints fine in older version of Acrobat. 4. We had a client use Adobe Acrobat to optimize the files for 5.0-7.0 and then they would print for him. ...
by glima
Wed Sep 06, 2006 1:41 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing Watermarked PDF
Replies: 11
Views: 2776

I am still puzzled as to why it prints before the file is stamped and not after.
by glima
Thu Aug 31, 2006 3:41 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing Watermarked PDF
Replies: 11
Views: 2776

We have tried this on: OS: Win98, Win2K, XP Home, XP Pro. Server 2003. Printers: Microsoft Document Imaging, Lexmark 54, Dell A09 and 720 and several different HP Deskjets. Our clients have tried this on numerous laser printers. The printers have been both local and network. Adobe Viewers 5.x - does...
by glima
Wed Aug 30, 2006 8:15 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing Watermarked PDF
Replies: 11
Views: 2776

I have sent an e-mail with a screen shot. I am trying to print this with Acrobat Viewer 7.05 and not Acrobat. There are two windows. One has a progress bar and text in the lower left corner reads "Flattening: 42%" A message box with the title "Adobe Reader" has an informational icon and text "The do...
by glima
Tue Aug 29, 2006 9:04 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing Watermarked PDF
Replies: 11
Views: 2776

I take an existing PDF document and place a text watermark in one of the corners of every page. I then save the watermarked document to PDF file. When I try to print these watermarked files to a printer I receive an error. The files I sent the original file is “A Test PDF 2.PDF” and the watermarked ...
by glima
Fri Aug 25, 2006 7:41 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Printing Watermarked PDF
Replies: 11
Views: 2776

Printing Watermarked PDF

I am having a problem printing PDF documents that my application has watermarked.

I am using the latest libraries 3.6.0.104

I have E-Mailed samples of an original and a watermarked files.
by glima
Fri Aug 11, 2006 3:47 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: PDF Watermarking
Replies: 10
Views: 2530

This is how it is define. Right from your include files. PXC_Watermark GROUP,TYPE m_Size DWORD m_Type LONG ! PXC_WaterType: 0 - text 1 - image !Part Text m_FontName CSTRING(128) m_FontWeight DWORD m_bItalic BOOL m_FontSize REAL m_Mode LONG ! PXC_TextRenderingMode m_LineWidth REAL m_FColor COLORREF m...
by glima
Tue Aug 08, 2006 6:14 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: PDF Watermarking
Replies: 10
Views: 2530

The strange thing is that PDF V7.0 files work fine while the older files don't. If it was my code would it not work for either. I have tried ZIP files that are ~800KB. Can I e-mail them to someone? Here is a sampe of the Clarion Code. ( I do not use the templates) Clear(Watermark) W:m_Type = WTYPE_T...
by glima
Tue Aug 08, 2006 1:10 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: PDF Watermarking
Replies: 10
Views: 2530

I have come up with a workaround. I transform the page at 100%. This puts all the content behind the watermark.


BTW: I have PDF's that we created and would like to send but the add attachement of this forum is not working. I get "Connection Reset by server" errors.