Search found 28 matches

by glima
Thu Nov 16, 2017 5:10 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 4142

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

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

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

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

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 i...
by glima
Mon Nov 06, 2017 5:21 pm
Forum: PDF-XChange Core API SDK
Topic: Page Rotation
Replies: 13
Views: 4142

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

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

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

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

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

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",...
by glima
Wed Jul 29, 2015 3:17 pm
Forum: PDF-XChange Drivers API SDK
Topic: Embedded Fonts
Replies: 5
Views: 3138

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

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

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

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

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

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

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

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

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

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 a...
by glima
Mon Oct 24, 2011 7:03 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: GetPagesCount Error
Replies: 5
Views: 7449

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

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. Cr...
by glima
Sat Jul 16, 2011 3:04 pm
Forum: PDF-XChange Viewer SDK
Topic: Dynamic Stamp
Replies: 3
Views: 1945

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

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

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
Fri Feb 27, 2009 3:48 am
Forum: PDF-XChange Drivers API SDK
Topic: Installing Driver
Replies: 3
Views: 2337

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

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.