INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

DataWindow print only footer band

DataWindow print only footer band

(OP)
Environtment
OS: Windows 7
PowerBuilder ver: 10.5
Printer: Microsoft XPS document Writer


I write a simple application for testing printer. A main window has a datawindow with hard-code-data.
Datwindow in free form
Text object: Report in Header band
Text object: Title in Detail band
Text object: Operator in Summary band
Text object: Window name in Footer band.

When application started, i press print button (using PrinOpen, PrintDataWindow, PrintClose) only data in Footer band can be printed. Other data disappeared.
Please help me?

RE: DataWindow print only footer band

And the information is in the datawindow on the window before you press the print button?

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

RE: DataWindow print only footer band

I wonder if you get the same results if the script for the print button was something like:
printsetup()
dw.print() (dw being your datawindow name)


Dom

RE: DataWindow print only footer band

(OP)

CODE -->

mbalent (Programmer)5 May 16 12:36
And the information is in the datawindow on the window before you press the print button? 
Before printing, i've already inserted one row into datawindow.

CODE -->

Dom71555 (IS/IT--Management)5 May 16 15:10
I wonder if you get the same results if the script for the print button was something like:
printsetup()
dw.print() (dw being your datawindow name) 
I've already try [datawindow].print() and get the same result (only footer band printed).

Printer: Microsoft XPS document Writer can only print footer band. And I try using another printer such as snagit printer, the whole datawindow printed.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close