Solved

Report to PDF using powerbuilder

Posted on 2009-07-06
8
1,045 Views
Last Modified: 2013-12-26
I want to Generate PDF file from PowerBuilder, i dont want to use ghostscript
how i can do that.

0
Comment
Question by:Deyhim
  • 5
  • 3
8 Comments
 
LVL 14

Expert Comment

by:shru_0409
ID: 24783990
dw1.Modify("DataWindow.Export.PDF.Method = XSLFOP! ")

or check the power builder help
0
 
LVL 14

Expert Comment

by:shru_0409
ID: 24783999
nt li_ret

dw1.Object.DataWindow.Export.PDF.Method = Distill!

dw1.Object.DataWindow.Printer = &
   "HP LaserJet 4Si/4Si MX PostScript"

dw1.Object.DataWindow.Export.PDF.  &
   Distill.CustomPostScript="1"

li_ret = dw1.SaveAs("custom.pdf", PDF!, true)
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24784056
can we use save as from Datawindow not window?
i mean user define action for button?
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24784117
when i used saverowsas() i received error message
Filed has beed damaged ....etc
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 14

Expert Comment

by:shru_0409
ID: 24784122
yes
u can check powerbuilder help
0
 
LVL 14

Expert Comment

by:shru_0409
ID: 24784146
in  buttonclicked event write this scrip


IF dwo.name = 'b_1' THEN
      if dw_1.Rowcount( ) > 0 THEN
            dw_1.Saveas( )
      END IF;            
END IF      
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24784309
okay... im not using Window Event..
i think Using GNU Ghostscript only solution !!!!
0
 
LVL 14

Accepted Solution

by:
shru_0409 earned 500 total points
ID: 24784639
i don't have much idea about ghostscrip  pls check this link
http://groups.google.com/group/sybase.public.powerbuilder.objects/msg/41096cc3c5311ca3
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now