Printer options

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

Printer options

Postby notuo » Sat May 20, 2006 1:10 am

Hi.

Silly things but useful.

Print setup (or in options) have the chance to add the filename also. Now you have the date by default

Also to select a printer font

Also to paginate the output.

I use a text editor for all the printing because of this.

Regards,
User avatar
notuo
 
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: Printer options

Postby notuo » Thu Feb 25, 2010 3:51 am

Well.

I encounter this thing again. Search and found this post.

Karlis. Any chance to do this?

Regards,
User avatar
notuo
 
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: Printer options

Postby pjafrombbay » Mon Sep 19, 2011 3:04 pm

I've just posted on this topic in the support section of this forum and had NO response (except from myself :? ). Clearly there are only three of us users who need this feature.

Regards,
Peter
...men judge generally more by the eye than by the hand, because it belongs to everybody to see you, to few to come in touch with you. -- Niccolo Machiavelli, The Prince, ch. 18
User avatar
pjafrombbay
 
Posts: 15
Joined: Fri Mar 11, 2005 6:27 am
Location: Batemans Bay, NSW, Australia

Re: Printer options

Postby Nikolajs » Sat Sep 24, 2011 1:50 pm

We will try add this to our todo list.
Nikolay Dutchuk
Blumentals Software
User avatar
Nikolajs
Blumentals Software Developer
 
Posts: 108
Joined: Mon Sep 19, 2011 8:28 am

Re: Printer options

Postby pjafrombbay » Sun Sep 25, 2011 7:32 am

Nikolajs Dutcuks wrote:We will try add this to our todo list.


Nikolajs,

Thank you!

Peter
...men judge generally more by the eye than by the hand, because it belongs to everybody to see you, to few to come in touch with you. -- Niccolo Machiavelli, The Prince, ch. 18
User avatar
pjafrombbay
 
Posts: 15
Joined: Fri Mar 11, 2005 6:27 am
Location: Batemans Bay, NSW, Australia

Re: Printer options

Postby Will Fastie » Thu Jun 07, 2018 10:16 pm

+10. +100.

I guess this fell off the To Do list in 2011.

Just being able to set the font and size would be enough, but if the standard Windows dialog is used there are many options available.
Will
WebDesignBuild.biz, Fastie.com
User avatar
Will Fastie
 
Posts: 160
Joined: Mon Jan 31, 2005 6:47 pm
Location: Timonium, MD USA

Re: Printer options

Postby pmk65 » Sat Jun 09, 2018 10:51 am

If you look at the TPrintDialog (Using Aivar's Plugin Script Tree Plugin, you'll notice that it's very limited, and doesn't have support for headers/footers etc.)

I think Blumenthals will have to implement an extended printdialog or something like this: http://yacs.lebeausoftware.org/TaeRichEditInfo.html

"The TaeRichEdit Component is a full-featured TRichEdit analogue. It supports Rich Edit 2.0 & 3.0 character and paragraph formatting; provides OLE support (including embedded graphics); expands printing options to include headers, footers, and border lines; and much more. The Borland C++ Builder (no Delphi) source is included. The component is free for non-commercial use."

The above page also contains a lot of useful info in the "Papers" section, about TRichEdit and how to print the content.

Another option, is to create a Plugin that uses ActiveX to transfer editor content to MS Word. Then the printer output is done by MS Word, which has support for Headers/Footers etc.

Simple example that prints current page using MS Word.:
Code: Select all
    var fname = Document.FileName;
    if (fname == "") fname = Document.FtpFileName;
    var data = Editor.Text;

    var objWord = CreateOleObject("Word.Application");
    objWord.Visible = false;

    objWord.Documents.Add();

    var ActiveDocument = objWord.Documents(1);

    // Add Header
    var Header = ActiveDocument.Sections(1).Headers(1).Range;
    Header.Text = fname;
    Header.ParagraphFormat.Alignment = 0;      // 0 = left, 1 = center, 2 = right
    Header.Font.Name = "Arial";
    Header.Font.Size = 12;

    // Add Footer
    var Footer = ActiveDocument.Sections(1).Footers(1).Range;
    Footer.Text ="My Custom Footer";
    Footer.ParagraphFormat.Alignment = 0;      // 0 = left, 1 = center, 2 = right
    Footer.Font.Name = "Arial";
    Footer.Font.Size = 12;

    // Add pagenumbers to footer
    ActiveDocument.Sections(1).Footers(1).PageNumbers.Add(2, true); // 0 = left, 1 = center, 2 = right

    // Insert text from editor
    var rng = ActiveDocument.Range(0, 0);
    rng.Text = data;
    rng.Select();

    // Activate print dialog
    ActiveDocument.PrintOut();

    objWord.Documents.Close(0);
    objWord.Quit();


The example uses the filename for the Header, and a custom text/page number for the Footer.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Printer options

Postby Will Fastie » Sat Jun 09, 2018 2:43 pm

pmk65 wrote:I think Blumentals will have to implement an extended printdialog


I guess I should be clear about what I think is necessary.

1. Expand header to include pathname of file being printed and page number. Retain date, which is important. This part is very easy - Rapid already knows how to put the date in the header.

2. Allow choice of font size.

The big problem is that the display font is used for printing. I'd like to see the font selection in Preferences | Text Editor enhanced so it can set a different size for the screen and printer. It's clear Rapid can handle a different size for printing because if you select a different display size the printed output changes as well.
Will
WebDesignBuild.biz, Fastie.com
User avatar
Will Fastie
 
Posts: 160
Joined: Mon Jan 31, 2005 6:47 pm
Location: Timonium, MD USA

Re: Printer options

Postby Aivars » Tue Jun 26, 2018 1:40 pm

I'll add +2 to the existing suggestions about font size and header customization. I guess it's difficult to make printing on printer exciting, which is why these tweaks don't get picked up.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2453
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests

cron