printing utility

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.
Post Reply
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

printing utility

Post by Widgets »

I've posted a beta version of a printing utility at:
http://www.columbinehoney.net/wxPr.shtml

It is meant to be/become a wxWidgets based replacement for WinPrin, an old PC Mag utility by Jeff Prosise published back in June 1994 .

It currently only does 1-up printing and not all of the intended features work as well as they should.

Please read the readme file for a bit more information.

The main purpose of publishing it now is to get feedback which will help me understand the wxWidgets printing framework better - and perhaps make a useful utility available.

Feedback either here or via the address on the web page.
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
priyank_bolia
wxWorld Domination!
wxWorld Domination!
Posts: 1339
Joined: Wed Aug 03, 2005 8:10 am
Location: BANGALORE, INDIA
Contact:

Post by priyank_bolia »

I didn't understand what it does, does the default printing dialogs don't have these options, or shouldn't you should call the native printing dialogs.
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

Post by Widgets »

I'm not quite sure I understand your question.

On my system the default printing dialog has the options to only print certain pages, but it neither shows how many pages there really are - other than 'All' - nor which pages will contain what part of the file.

I want to be able to not only give an accurate preview - depending on the font, paper size etc, but also provide the choice to print only specific pages with the lines which are of interest.

As for native dialogs - I am trying to use what wxWidgets provides. ;-)
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

Post by Widgets »

I finally been able to do some more work on this utility and have posted the latest update at:

http://www.columbinehoney.net/wxPr.shtml

This time, 1,2 & 4-up should work, as should drag and drop.
As well, the sources should be available this time. A typo in the web page stopped things cold for that last time.

Preview still does not work and there has been no additional testing of the page setup or selecting different font types.

All tests have been with Courier and Courier new.

Font scaling for 4-up seems to work well, but for 2-up, I have to select a smaller font size directly.
There is some control over the font size via the .INI file.


Comments welcome.
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
Widgets
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 534
Joined: Thu Jun 01, 2006 4:36 pm
Location: Right here!

beta 0.4 release

Post by Widgets »

This release fixes
- some more problems with page breaks.
- page positions for 2 & 4-up printing in some cases,
depending on starting page to be printed
- fixed problem with page number positioning
- fixed "Printed: " date, but unless you're in the
TZ PST it still may be off.
- Changed the string used for single-instance checking to
make it dependent on the program name used to invoke
the application.
- Also changed the hard wired application names in
several places to reflect the real application name
used to invoke it - i.e you could rename it and it
should reflect that in the proper places.

Known issues:
Print preview still does not work
The 'Printed" date is not very accurate. Currently it is hardwired for PST because even though my local time zone data
is set as it should be (IMHO), it does not print the local time by default. Still needs more investigation.
Environment: Win 10/11 64-bit & Mint 21.1
MSVC Express 2019/2022
wxWidgets 3.2.2
Post Reply