Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Creating PDFs using FoxIt from Visual FoxPro (VFP) |
Post Reply ![]() |
Author | |
mbabcock ![]() Beginner ![]() ![]() Joined: 16 Aug 19 Location: Maryland Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() Posted: 03 Mar 21 at 6:29PM |
I use FoxIt to manipulate existing PDFs but I want to use it within my Visual FoxPro apps to create new PDFs and include the security features as well. In FoxPro, we call reports like this:
REPORT FORM e:\dev\hockey\over40\gameday_rosters.frx NOEJECT NOCONSOLE TO PRINTER
I want to know how to direct this output to use FoxIt/QuickPDF. I'm guessing I will have to create the PDF first and then add the security after the fact. Hoping somebody can help me answer this question! Thanks, --Mike |
|
![]() |
|
mbabcock ![]() Beginner ![]() ![]() Joined: 16 Aug 19 Location: Maryland Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
Nobody creating PDFs from Visual FoxPro???
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
I've used the enhanced serach function here at the top of the page and found at least 10 or more FoxPro-developer... Don't forget: It's a user forum - not a publisher forum ;-) Edited by Ingo - 09 Mar 21 at 11:24AM |
|
Cheers,
Ingo |
|
![]() |
|
chadnewman ![]() Beginner ![]() Joined: 09 Oct 15 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
Mike, I use the QuickPDF Library in Visual FoxPro to work with PDFs. The first thing is go get your report to PDF. Most FRX to PDF products cost money. However, I believe if you install FoxIt Reader, a Foxit Reader PDF Printer is installed. You would print your VFP report to it. Download: https://www.foxitsoftware.com/pdf-reader/ Once the you have your PDF you will use QuickPDF Library and DPLEncryptFile to add your security. You can run the PRG out of ...\DLL\Import\VisualFoxPro to load the declarations. Not sure how detailed to get, but you need to start the instance and then unlock it. DPLEncryptFile(int InstanceID, wchar_t * InputFileName, wchar_t * OutputFileName, wchar_t * Owner, wchar_t * User, int Strength, int Permissions); If you don't want to use printer to create a pdf there are a few ways you can do this within VFP. Hope this helps, Chad
|
|
![]() |
|
mbabcock ![]() Beginner ![]() ![]() Joined: 16 Aug 19 Location: Maryland Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
Thanks, Chad! I'll use XFRX to create the PDF and then QuickPDF to add the security after that. I appreciate your reply!
|
|
![]() |
|
chadnewman ![]() Beginner ![]() Joined: 09 Oct 15 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
Mike, If you are using XFRX it all ready has encryption for PDF documents. https://eqeuscom.atlassian.net/wiki/spaces/DOC/pages/3899436/PDF+specific+features Chad
|
|
![]() |
|
mbabcock ![]() Beginner ![]() ![]() Joined: 16 Aug 19 Location: Maryland Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() |
Cool! What would be the point of using QuickPDF then if XFRX already has that? What am I missing?
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store