Search found 43 matches

by Carl
Mon Apr 16, 2007 3:34 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Public Const PXC_Watermark_size = 1276 wrong?
Replies: 3
Views: 1265

Can you tell me how in the below VB example I could get a WaterMark in Courier Bold? I would like the font to be the Base 35 Courier and not Courier New. The example of Watermarking E:\PDFX3SDK-3.60115\Examples\SDKExamples\VBExamples\XCPro35_Demo File: AddWatermarksDlg.frm Would have thought this wo...
by Carl
Wed Apr 11, 2007 6:50 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Public Const PXC_Watermark_size = 1276 wrong?
Replies: 3
Views: 1265

Public Const PXC_Watermark_size = 1276 wrong?

In the VB Examples I'm trying to do a Watermark. I saw this const defined in one example that I think is wrong: e:\pdfx3sdk-3.60115\examples\sdkexamples\vbexamples\pdfxcdemo\common.bas Public Const PXC_Watermark_size = 1276 The right value is 1280. I verified this with Clarion code, it's hard coded ...
by Carl
Tue Apr 10, 2007 10:16 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: Bug in PDFManagerClass.PagesNumber() when error
Replies: 3
Views: 1236

That should have been < OK
SELF.LastErrorCode = PXCp_GetPagesCount(SELF.pdfDoc, n_pages)
IF SELF.LastErrorCode < PXC_OK THEN n_pages = -1.
RETURN n_pages
by Carl
Tue Apr 10, 2007 10:13 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: Bug in PDFManagerClass.PagesNumber() when error
Replies: 3
Views: 1236

Bug in PDFManagerClass.PagesNumber() when error

Looking at the pdfmgr36.clw code below PXCp_GetPagesCount() is documented to return an HResult. The CASE statement explicitly checks for PXC_OK and PXC_ERROR. So any error (or positive success) will fall thru and not return a value, and probably corrupt memory. PDFManagerClass.PagesNumber PROCEDURE(...
by Carl
Mon Oct 24, 2005 7:19 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: A way to force use of Courier instead of CourierNew
Replies: 2
Views: 871

I did try adding a call to SetFontEmbedd to NOT embed the font cCourierNew CSTRING('CourierNew') CODE erp=PXC_SetFontEmbeddA(pdf,cCourierNew,1) !note EmbeddType_NeverEmbedd = 1 if erp<>PXC_OK then SELF.DB('PXC_SetFontEmbeddA Err=' & e# & ' pdf=' & pdf &' , '& cCourierNew). Similar code is used to fo...
by Carl
Mon Oct 24, 2005 6:25 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: A way to force use of Courier instead of CourierNew
Replies: 2
Views: 871

A way to force use of Courier instead of CourierNew

Is there a way to tell the Library to translate all CourierNew use to Courier? This would be reading Clarion WMFs that contain a CourierNew reference and writing a PDF using AddImage. I would not want CourierNew embeded in the PDF either (whihc it is right now).
by Carl
Wed Jul 20, 2005 3:32 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDF written to network contains all zeros 0x00
Replies: 11
Views: 2107

One feature/workaround you could implement would be a library option to write PDF work files to the Windows Temp Directory, then on closing Copy the completed file to the final destination and open for preview. Helps with the situation that "Networks are like a box of chocolates, you never know what...
by Carl
Wed Jul 20, 2005 12:20 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDF written to network contains all zeros 0x00
Replies: 11
Views: 2107

Any update on this

Any update on this? Is it reproducable by you?
I'll fix by writing to c:\temp then copy to destination, but it causes a slight snag with the preview option since I do not want the c:\temp copy to be opened for preview
by Carl
Thu Jun 23, 2005 11:30 am
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDF written to network contains all zeros 0x00
Replies: 11
Views: 2107

A Clarion COPY() of a file works just file, and other Clarion file operations work fine.
by Carl
Wed Jun 22, 2005 10:32 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDF written to network contains all zeros 0x00
Replies: 11
Views: 2107

Tests completed

User set me up a new PC with patches installed and reinstalled my software. Confirmed bug with printing to network driver still exists. He has it on several PCs. Another customer has it. Installed PDF XChange 3.0 driver. Went to 'PrintingPreferences' ->Save->UsePredefinedValues->Browse and could see...
by Carl
Mon Jun 20, 2005 3:17 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDF written to network contains all zeros 0x00
Replies: 11
Views: 2107

PDF written to network contains all zeros 0x00

Customer installed some new XP patches this AM and now writing PDFs to a network drive writes all zeros to the file. Writing to C:\ works correctly. The network file 130Kb size is about the same as the C: file at 138Kb, but every single byte is 00. Patch was KB 883939. Customer uninstalls and PDFs w...
by Carl
Wed May 11, 2005 8:12 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Cannot make PDF with more then 2000 pages
Replies: 3
Views: 967

I saw the spanning stuff when I converted to 3.0 and wondered why it was there. I already merge in other PDFs when printing WMFs so I think I avoided it because I had enough going on. I'll wait and see what you figure out. From my testing 1000 pages seem to work.
by Carl
Wed May 11, 2005 6:34 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: Cannot make PDF with more then 2000 pages
Replies: 3
Views: 967

Cannot make PDF with more then 2000 pages

I uploaded a file to your FTP named WmfFiles14000.Zip and a Txt file. When I try to create a PDF from 1000's of WMFs the PDF library crashes inside User32.dll. I get the same crash using Test_xMF.exe. Works printing to Distiller. I would like to be able to do 4000 pages. Currently my tests with Test...
by Carl
Mon Apr 11, 2005 4:37 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: WMF transparent background is opaque in PDF
Replies: 3
Views: 1418

Tested printing WMFs to Canon PS3 driver using Clarion and printed correctly with transparent background .

Again the is low priority
by Carl
Mon Apr 11, 2005 4:21 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: WMF transparent background is opaque in PDF
Replies: 3
Views: 1418

WMF transparent background is opaque in PDF

Uploaded example to FTP site of DraftOpaqueBug.zip
In the WMF a watermark works find in Windows printing but when it gets into the PDF it has an opaque background. Not important and probably bad code in the WMF but please take a look.
by Carl
Thu Mar 03, 2005 4:41 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: Download pages says 3.4076 but it's 75 for Clarion SDK
Replies: 1
Views: 918

Download pages says 3.4076 but it's 75 for Clarion SDK

Clarion download link says Build 3.4076 but it's dated 2/8 and Build 75.

Non-Clarion stuff is Build 3.4076


PDF-XChange SDK Pro (Clarion) v.3.4076
Drivers & PDF-Tools SDK for Clarion Software Developers
by Carl
Tue Feb 15, 2005 3:13 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 83F40078 under WinME
Replies: 11
Views: 2058

shlwapi.dll required also

You do now require shlwapi.dll the Shell Lightwieght API. I wish you didn't, all you used were a few string functions you could have written yourself. This is only an issue for Win95 / NT4 computers w/o IE4.?. It does work to install a copy of the DLL w/o the new IE. While somewhat crazy to have thi...
by Carl
Thu Feb 10, 2005 10:15 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: Problem with 1440x900 submitted?
Replies: 6
Views: 2390

I uploaded to FTP file name CarlPDFat1440x900.zip
by Carl
Wed Feb 09, 2005 10:28 pm
Forum: PDF-XChange Drivers API (only) V3
Topic: Problem with 1440x900 submitted?
Replies: 6
Views: 2390

Problem with 1440x900 submitted?

On 2/3 I emailed support@docu-track some sample of bad PDFs when using a wide screen laptop. Did you get those? Laptop HP Pavillon zd7000 Driver "NVidia GeForce4 448 Go" Works fine at 1024 x 768 At 1440 by 900 page length is wrong PDF Version 3.4.0.69 PDFmade 1024x768 works.zip has WMF files and fte...
by Carl
Fri Jan 14, 2005 5:26 pm
Forum: PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please
Topic: missing RAW PXC_SetFontEmbeddA error -2113667071 0x82040001
Replies: 1
Views: 924

missing RAW PXC_SetFontEmbeddA error -2113667071 0x82040001

PdfMgr30.clw prototype for PXC_SetFontEmbeddA missing RAW will cause error PXC_ERR_INV_ARG 0x82040001 Invalid argument PXC_SetFontEmbeddA( | LONG ptr, | pointer to memory *CSTRING FontName, | SIGNED bEmbedd | ),LONG,PASCAL,PROC | ,RAW !<<<<<<< add this It is Safe to Put RAW on all of them even if th...
by Carl
Fri Jan 07, 2005 8:55 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 83F40078 under WinME
Replies: 11
Views: 2058

We have quite a few Win98's (at least 1000) not as many ME's. The PC still works and so they keep using it. There is no way we can refuse to work with 98 and we even work with 95 (I think). The problem I did not foresee was a network install where the clients do not install my software and so do not...
by Carl
Fri Jan 07, 2005 7:00 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 83F40078 under WinME
Replies: 11
Views: 2058

Any chance of getting rid of Unicows.dll?

Are you looking at getting rid of the requirement for Unicows.dll?

We're seeing some installs issues with the file in use. The install says to close all programs, but who reads anything any more....
by Carl
Thu Dec 30, 2004 7:38 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 83F40078 under WinME
Replies: 11
Views: 2058

Tested on client machine by adding unicows.dll and it fixed it. also fixed all VPC testers. I used the newest 1.1 version in all my testing. I would suggest you get the lastest from MS for future testing as yours is 2.5 years old. Info Page with link to download: http://www.microsoft.com/globaldev/h...
by Carl
Thu Dec 30, 2004 2:43 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 83F40078 under WinME
Replies: 11
Views: 2058

Adding Unicows.dll fixed the problem, thanks. I was not aware of this requirement, not that I would have read the docs. I see from other postings this is a fairly new requirement. I am reaading the MS docs but wonder if you have suggestions.... Do I install Unicows.dll on just Win9x? Or NT also? My ...
by Carl
Wed Dec 29, 2004 11:02 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 83F40078 under WinME
Replies: 11
Views: 2058

PXC_AddImage error 83F40078 under WinME

Calling PXC_AddImage with WMF returns error 83F40078. Original value was long -2081161096. Error is undocumented. Error only seen under Windows ME on a End User PC. Works fine under 2000 and XP. Not sure about 98. I have been able to replicate error under Virtual PC running WinME on two PCs. On 1 VP...
by Carl
Wed Nov 24, 2004 7:22 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFXCp_InsertPagesAfter and Bookmarks request
Replies: 1
Views: 1949

PDFXCp_InsertPagesAfter and Bookmarks request

PDFXCp_InsertPagesAfter() adds the "inserted bookmarks" to the end of the current bookmark list. I would like to request this function have some options where the bookmarks are inserted. #1 the simple request would be that if the AtPage=0 then the new pages are being put first in the PDF. So change ...
by Carl
Tue Nov 23, 2004 11:28 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFXCp_InsertPagesAfter at page 0 problems into 1 page PDFs
Replies: 2
Views: 1916

PDFXCp_InsertPagesAfter at page 0 problems into 1 page PDFs

If I try to insert pages at the front of a PDF with: PDFXCp_InsertPagesAfter(pdfDocInto,pdfDocFrom, 0 ) and pdfDocInto is a PDF with a single page (made with library too), then the pages get inserted after the 1st page instead of before it if pdfDocInTo has 2+ pages then the Insert works and is at t...
by Carl
Fri Oct 08, 2004 7:54 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PDFXCPro VB example has 2.5 constants
Replies: 1
Views: 970

PDFXCPro VB example has 2.5 constants

x:\PDFX3SDK\Examples\SDKExamples\VBExamples\PDFXCPro\MainModule.bas defines these constants that are from v2 and 2.5 'PDFXCp_ReadDocument return value Public Const READ_DOCUMENT_ERROR = 0 Public Const READ_DOCUMENT_OK = 1 Public Const READ_DOCUMENT_NEED_PASS = 2 'PDFXCp_CheckPassword return value Pu...
by Carl
Fri Oct 08, 2004 2:57 pm
Forum: PDF-Tools SDK V3 (all our PDF 'DLL' libraries V3)
Topic: PXC_AddImage error 82030002 undefined
Replies: 1
Views: 882

PXC_AddImage error 82030002 undefined

PXC_AddImage is returning 82030002 which I cannot find defined.
The long value was -2113732606 and I converted to hex. Might want to check that.

I know the problem was I sent a totally invalid WMF file. It was named xxxxx.WMF but just contained some text like:

[PDF]
Pgs=2
by Carl
Fri Oct 08, 2004 2:21 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFManagerClass.ReadMemory bug?
Replies: 5
Views: 2568

Uneeded items do harm

The "unneeded" items do no harm and are preserved for other developers that may be using them in other ways. The uneeded items _do_ cause harm. They are no longer valid or returned or serve any purpose in 3.0. Any code that uses them _must_ be changed for 3.0 to use different return values. By leav...
by Carl
Thu Oct 07, 2004 10:48 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFManagerClass.ReadMemory bug?
Replies: 5
Views: 2568

PXC_BAD_PASSWORD can be removed

PXC_BAD_PASSWORD EQUATE(-2) is defined but not used in any library source and probably should be commented out with a note that in 3.0 the error is PDFXCPARSER_ERR_NEEDPASSWORD or ENCRYPT_PASS_WRONG EQUATE(0) Is also defined but not used and not defined in the C API SDK. I think it should be elemina...
by Carl
Thu Oct 07, 2004 9:04 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFManagerClass.ReadMemory bug?
Replies: 5
Views: 2568

Remove READ_DOCUMENT_ERROR equates too

You'll aid conversion if you remove the Read equates -- pdfmgr30.inc READ_DOCUMENT_ERROR EQUATE(0) ! Error while reading document READ_DOCUMENT_OK EQUATE(1) ! Document is read correctly READ_DOCUMENT_NEED_PASS EQUATE(2) ! Document is encrypted and the password is required they appear to be gone in t...
by Carl
Thu Oct 07, 2004 8:59 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFManagerClass.ReadMemory bug?
Replies: 5
Views: 2568

PDFManagerClass.ReadMemory bug?

PDFManagerClass.ReadMemory uses PDFXCp_ReadDocument and checks the return value for READ_DOCUMENT_xxx. In 3.0 docs say this returns PXC_OK or HResult error codes. And that what my I had to change my code to do. PDFManagerClass.ReadMemory PROCEDURE(LONG bufaddr, ULONG bufsize, BYTE freebuff) CODE ......
by Carl
Thu Oct 07, 2004 8:07 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PDFXCp_SetProducer declarion invalid
Replies: 1
Views: 1654

PDFXCp_SetProducer declarion invalid

pdfmgr30.clw incorrectly declares xcpro30.dll with PDFXCp_SetProducer(LONG,*CSTRING),LONG,PASCAL,RAW This function has been removed from xcpro30.dll in 3.0 but existed in 2.5. Why has it been removed? All I have to do to change producer is open the PDF with the DOS driver and change the line /Produc...
by Carl
Thu Oct 07, 2004 6:12 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: Invalid 2nd PDFXCp_InitEx() in pdfmgr30.clw
Replies: 1
Views: 1579

Invalid 2nd PDFXCp_InitEx() in pdfmgr30.clw

In pdfmgr30.clw I find PDFXCp_InitEx declared two ways 1. PDFXCp_InitEx(*CSTRING,*CSTRING),LONG,PASCAL,RAW 2. PDFXCp_InitEx(*CSTRING),LONG,PASCAL,RAW I think the second one is the old unlock method and should be removed from the file. Calling it results in a GPF (eventually). I missed updating some ...
by Carl
Thu Oct 07, 2004 3:17 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: Did the Y axis change in 3.0?
Replies: 1
Views: 1748

Did the Y axis change in 3.0?

Which group should I put these posts? For PXC_PlaceImage I had to change Y from 0 to 612. Turns out 3.0 changed Y zero line to be at the bottom of the page like PS/PDF and in 2.5 it was like windows. The 3.0 help on Coordanite System should mention this along the a top on 2.5->3.0 changes. This mani...
by Carl
Thu Oct 07, 2004 1:59 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PXC_SetDocumentInfo cannot do INFO_PRODUCER
Replies: 3
Views: 1998

How about allowing PXC_SetDocumentInfo(pdf, INFO_PRODUCER, cstr) and appending my Producer to yours? So this call: PXC_SetDocumentInfo(pdf, INFO_PRODUCER, 'Carl2PDF Library 3.1.7') would result in a producer name of /Producer (PDF-XChange 3.30.0064 \(Windows XP\) - Carl2PDF Library 3.1.7) My testing...
by Carl
Thu Oct 07, 2004 1:36 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: COMPRTYPE_C_AUTO throws error Invalid Arg
Replies: 1
Views: 1662

COMPRTYPE_C_AUTO throws error Invalid Arg

In Clarion code pdfxeq30.inc it defines COMPRTYPE_C_AUTO EQUATE(-1) when I use that with PXC_SetCompression it throws an error Invalid Arg. If I change it to EQUATE(0FFFFh) then it does not throw an error. I am not sure it works since I have no graphics in my current file. In the SDK this is defined...
by Carl
Wed Oct 06, 2004 11:39 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: PXC_SetDocumentInfo cannot do INFO_PRODUCER
Replies: 3
Views: 1998

PXC_SetDocumentInfo cannot do INFO_PRODUCER

cstr = 'Carl''s PDFX Library V3' e#=PXC_SetDocumentInfo(pdf, INFO_PRODUCER, cstr) assert(e#=PXC_OK,'failed PXC_SetDocumentInfo Producer ' & e#) The above code errors with 0x82040001 Invalid argument and does not set value. So in v3 it appears Producer cannot be changed from "PDFX-Change 3xxx". I lik...
by Carl
Wed Oct 06, 2004 9:02 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: Orientation as ULONG
Replies: 1
Views: 1519

Orientation as ULONG

Orientation is a ULONG. Possible values are 0=port 1=land. Probably should be a LONG. My understanding is to avoid the use of ULONG in Clarion. It gets special handling and is typically processed by the decimal library. That is why an UNSIGNED is EQUATE(LONG). Gordon Smith described it's handling by...
by Carl
Wed Oct 06, 2004 8:22 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: Version 2.5 to 3.0 conversion guide
Replies: 1
Views: 1778

Version 2.5 to 3.0 conversion guide

I don't use the templates or classes. I'm finding quite a bit of work porting my 2.5 code to 3.0 as many functions have changed. Is there any documentation for helping with conversion? I installed the non Clarion-SDK and don't see it there either. Example . PDFXC_BeginPage() is now PXC_AddPage() and...
by Carl
Wed Oct 06, 2004 8:10 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: Help files do not have index tab
Replies: 1
Views: 1631

Help files do not have index tab

The 3.0 CHM files (e.g. PDFLib30Help.chm) do not have an index tab with a listing of topics in order. The 3.5 hlp files had an index tab that listed all functions in alpha order. If you cannot have an index tab in CHMs then add an all functions branch in the contents tree. E.g. if I want to find hel...
by Carl
Wed Oct 06, 2004 5:35 pm
Forum: PDF-XChange Drivers (only) API SDK - For Clarion For Windows Developers only Please
Topic: Comment Errata in Clarion 3.0 release
Replies: 1
Views: 1694

Comment Errata in Clarion 3.0 release

PDFMgr30.inc ! For use with PXC_SetInfo INFO_P_TITLE EQUATE(0) comment says "PXC_SetInfo" but AFAIK they are for use with PDFXCp_SetInfo Where these equates really needed when they match the INFO_xxx equates (except for the Producer)? The INFO_xxx equates should probably say they are used with PXC_S...