CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Printing a TIWCGJQMemoEx without header and footer

by ScottWGast » 06 Oct 2016 15:47

Is there any way to suppress printing the Page number heading and the URL footer?

All I want is the memo component to print.

TIA!
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 07 Oct 2016 18:06

Hi ScottWGast,

Unfortunately, there is no way..only in print dialog.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ScottWGast » 07 Oct 2016 18:51

Dangit!
Thanks for the help.
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by ScottWGast » 25 Oct 2016 21:24

Currently, JQPrint seems to print only the visible part of the component being printed.

In my case, it's a TIWGrid sitting on a TIWCGJQRegion, which sits on top of a TIWCGJQFrame, which sits on top of a TIWCGJQDialog.

Scroll bars on the region allow me to scroll up and down the grid, but when I print, regardless of where my cursor is positioned within the grid, only the top portion of the grid down to what would be the last visible row on the screen if my cursor was on the first row of the grid, prints.

TIA
Scott Gast
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 27 Oct 2016 09:50

Hi ScottWGast,

If you doesn't have another scrollable areas, so you can call the print method with second parameter True.

Code: Select all
IWCGJQPrint1.Print(IWCGJQRegion2,True);


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ScottWGast » 27 Oct 2016 13:32

Good morning Alexander!

Thank you for the printing tip, it was great to get into my office this morning and remove an "undocumented feature" from my code!

Have a great day.

Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02


Return to JQPrint

Who is online

Users browsing this forum: No registered users and 0 guests

Contact Us.