Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 687445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:07:39+00:00 2026-05-14T02:07:39+00:00

I have a grid datawindow with a picture in it’s background (with dimensions of

  • 0

I have a grid datawindow with a picture in it’s background (with dimensions of an A4 page) and I would like to export both data and the picture as a (single page) PDF file. I used several combinations of the following commands but at most I got a 0-sized pdf.

//dw_1.Modify("Datawindow.Export.PDF.Method = Distill! ")
//dw_1.Modify("DataWindow.Export.PDF.Method = XSLFOP! ")

dw_1.Object.DataWindow.Export.PDF.Method = Distill!
//dw_1.Object.DataWindow.Printer = "\\prntsrvr\pr-6"
dw_1.Object.DataWindow.Export.PDF.Distill.CustomPostScript="No"
dw_1.SaveAs("c:\dw_one.pdf", PDF!, false)

User’s guide (on page 533) says:

… the data is printed to a PostScript file and automatically distilled to PDF using GNU Ghostscript…

Installing Ghostscript

For licensing reasons, Ghostscript is not installed with PowerBuilder. You (and your users) must download and install it before you can use this technique…

Does anyone have any idea what is the procedure?

EDIT
THANK YOU ALL. Installing ghostscript proved to be enough. I only cannot understand why the procedure is successful on some fellows PCs (using Method = XSLFOP!) without using ghostscript :-/

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T02:07:40+00:00Added an answer on May 14, 2026 at 2:07 am

    Ghostscript and Printer setup for PowerBuilder

    Administrative privileges are required
    to install the printer. We are using
    this setup on XP.

    These instructions use an HP printer driver instead of the one supplied by Sybase. If for some reason you don’t have this driver, you can download it from HP. The HP driver has the following advantages:

    • Generated PDFs can be read by a Screen Reader (YMMV, but the Sybase driver output isn’t readable at all.)
    • Driver is digitally signed for installation on systems that require signed drivers

    Needed files

    • gs860w32.exe from http://pages.cs.wisc.edu/~ghost/ (you can try a later version if you like. 8.60 is working fine for us.)
    • Driver files in C:\Program Files\Sybase\Shared\PowerBuilder\drivers (path may vary depending on installation)

    Ghostscript

    Install gs860w32.exe

    • Install to C:\Program Files\gs
    • Check All Users
    • Check Install Ghostscript Fonts

    Sybase DataWindow PS Printer

    The printer name is
    case-sensitive and has to be exactly
    what is inside the quotes. There is no
    space in “DataWindow”. The easiest way
    to get it right is to copy from this
    document and paste it in.

    • Open Control Panel, Printers and Faxes
    • Choose Add printer (next)
    • Choose Local printer, uncheck Automatically detect and install my Plug and Play printer (next)
    • Choose Use the following port, select FILE: (next)
    • In the left-hand list, select ‘HP’ for the manufacturer
    • In the right-hand list, scroll down and select ‘HP 8150 Series PS’ (next)
    • Printer name “Sybase DataWindow PS”
    • Use as default printer select No (next)
    • Leave Do not share selected (next)
    • Print test page, select No (next)
    • (finish)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i have application where i have to export grid data on a page
I have a grid which I would like to show extra information with RowExpander
Hai presently i have grid like this. <Grid Name=tGrid1 Grid.Row=0 Background=Black > </Grid> <Grid
I have grid of thumbnail images on a form, and I would like for
I would like to know - which WPF control can have grid as a
I have grid in my ASP.NET page (actualy it's Telerik RadGrid). There is GridButtonColumn
I have grid something like this: Ext.define('Exp.view.dashboard.Tv', { extend: 'Ext.grid.Panel', initComponent: function() { this.columns
i have data-grid in my application and i want to customize my data-grid so
I have grid with user data with first column having check box. I have
I have grid, where I have a lot of records. There is operation like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.