Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating QuarkXpress or PDF

Status
Not open for further replies.

mathirajan

Technical User
Jul 30, 2003
3
IN
Anyone knows how to automate quarkXpress from visual
FoxPro?. QuarkXpress is like MS Word. i want to create
quark doc through VFP. Also how to generate PDF
document from visual foxpro. I am not using VFP
reports; hence I cannot use the FRX2Any tool. The API
functions would be helpful.

My requirement is that i want to write straight to the PDF from VFP using API calls or functions/methods provided by Adobe(PDF maker) or QuarkXpress. i want to pump my data to PDF or QuarkXpress document. I want to use different style/format that are specifiec to the respective document creator.

Currently i could succesfully able to write into MS word by automating word. I could also be able to read the formats/styles from word documents and apply that to my data that gets generated as word document. i wanna do the same with PDF and QuarkXpress.

Thanks

Mathi
 
Check out faq184-4349 'Automatic MS Office to PDF Module'

Believe it or not, I've never seen a QuarkXpress document...

Brian
 
Hi Mathi,

You can download from Universal thread
---->
Click on download
Search for ... Free/Simple VFP Report To PDF - Print2PDF
(approximately 15.5 MB)

Using this, you can easily achieve what you want to send a report to PDF format.

i.e,,, instead of
REPORT FORM (rptFile) NOCONSOLE TO PRINTER

all you have to do is call Print2Pdf as in..
=Print2pdf(myFile,rptFile) or some such simple syntax.

(Since I have modified mine, and I use the above syntax, I cannot confirm, if that works with the downloaded one). But that is very simple.

:)


____________________________________________
ramani - (Subramanian.G) :)
When you ask VFP questions, please add VFP version.
 
Hi ramani,

Thanks for ur attempt. I am not using VFP Reports. I did mention that. Well, actually i want to write straight into PDF from VFP not even VFP reports in between. I cannot use reports for various resons.

Any resource for PDF generation through API or resource for quarkXpress would be great. I am unsuccesful on my attempt in the quarkXpress site.

By the way mr. subramanian where r u working? i am also a tamilian. Its good to c somebody from my place in VFP forum.


Mathi
 
Any resource for PDF generation through API or resource for quarkXpress would be great.

I do not think that there is an API call that generates a PDF. Normally PDFs are generated by first converting the document to a PostScript file then to a PDF.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top