v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
Moderator: Rathinagiri
v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
Hi. I downloaded today and test v3.3.0 and v3.3.1 with my applications today. I like the new print viewer and the ability to export from the viewer to PDF. Very useful feature!!
I am not sure if I am doing something wrong or if there is a bug:
1. When exporting to PDF from VIEWER, a small document works. When a I do a larger report (the particular one I was trying was 80 pages) I get an image error after a few seconds. I tried this in both v3.3.0 and v3.3.1.
2. Is there a way to give the PDF a name and not use the default name "HMG_MiniPrint_0001.pdf".
Thanks for your help.
Mark
I am not sure if I am doing something wrong or if there is a bug:
1. When exporting to PDF from VIEWER, a small document works. When a I do a larger report (the particular one I was trying was 80 pages) I get an image error after a few seconds. I tried this in both v3.3.0 and v3.3.1.
2. Is there a way to give the PDF a name and not use the default name "HMG_MiniPrint_0001.pdf".
Thanks for your help.
Mark
Re: v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
In this solution, each page is embedded as an image. It will be hard to find an answer for you problem.MGOLDFARB wrote: 1. When exporting to PDF from VIEWER, a small document works. When a I do a larger report (the particular one I was trying was 80 pages) I get an image error after a few seconds. I tried this in both v3.3.0 and v3.3.1.
It's waiting for next patch, but you can realize it on your own hand, working solution you can find in my posts:MGOLDFARB wrote: 2. Is there a way to give the PDF a name and not use the default name "HMG_MiniPrint_0001.pdf".
Thanks for your help.
Mark
http://hmgforum.com/viewtopic.php?f=43&t=3827&start=101" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
1. Yes. For bigger reports, it is better to use the HMG's inbuilt PDF export.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
For export from metafiles (print in preview), Marek has indicated to make a default name add at TextBox for name of PDFs or any other files when are multiple.
I have another suggestion which can make it better solution whe there are many pages (many files names) to be generated.
@ Claudio, It would be posible to take all these files and be jioned at only one file ?
If yes, we can include an RADIOGROUP for:
- All pages
- Current page
- Pages: [ ]
Then can be easy generate just in one file or in many multiple files when need to export.
I have another suggestion which can make it better solution whe there are many pages (many files names) to be generated.
@ Claudio, It would be posible to take all these files and be jioned at only one file ?
If yes, we can include an RADIOGROUP for:
- All pages
- Current page
- Pages: [ ]
Then can be easy generate just in one file or in many multiple files when need to export.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
Thank you for the responses.
The problem is that it does not look great if the button is there and it does not work. I can use the build PDF exporter, but then I would like to turn the button off to export to PDF on the viewer. Is that possible?
Thanks.
Mark
The problem is that it does not look great if the button is there and it does not work. I can use the build PDF exporter, but then I would like to turn the button off to export to PDF on the viewer. Is that possible?
Thanks.
Mark
- Clip2Mania
- Posts: 99
- Joined: Fri Jun 13, 2014 7:16 am
- Location: Belgium
Re: v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
In h_controlmisc.prg, you can rem out button b7 "HP_SAVE" (line 4068)
and the shortcut Ctrl-S @ line 4464.
You will have to rebuild your libraries - & watch out if you ever upgrade your version of HMG...
and the shortcut Ctrl-S @ line 4464.
You will have to rebuild your libraries - & watch out if you ever upgrade your version of HMG...
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
So, this is another questionPablo César wrote:For export from metafiles (print in preview), Marek has indicated to make a default name add at TextBox for name of PDFs or any other files when are multiple.
I have another suggestion which can make it better solution whe there are many pages (many files names) to be generated.
@ Claudio, It would be posible to take all these files and be jioned at only one file ?
If yes, we can include an RADIOGROUP for:
- All pages
- Current page
- Pages: [ ]
Then can be easy generate just in one file or in many multiple files when need to export.
Hi Mark, interesting POV.MGOLDFARB wrote:Thank you for the responses.
The problem is that it does not look great if the button is there and it does not work. I can use the build PDF exporter, but then I would like to turn the button off to export to PDF on the viewer. Is that possible?
I understand your case, you want to make preview for users but is needed to avoid any export file. Probably the main reason of some companies is they do not want to permits to create files from reports.
This is one permanet way to loose important feature, but IMHO this it would be settable. The programmer could have as in option to allow or not the export options.Clip2Mania wrote:In h_controlmisc.prg, you can rem out button b7 "HP_SAVE" (line 4068) and the shortcut Ctrl-S @ line 4464.
You will have to rebuild your libraries...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Clip2Mania
- Posts: 99
- Joined: Fri Jun 13, 2014 7:16 am
- Location: Belgium
Re: v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
+1This is one permanent way to lose an important feature, but IMHO this it should be settable. The programmer could have the option to allow or not the export options.
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: v3.3.0 and v3.3.1 Print Viewer/PDF Assistant
Hi Pablo,Pablo César wrote:For export from metafiles (print in preview), Marek has indicated to make a default name add at TextBox for name of PDFs or any other files when are multiple.
I have another suggestion which can make it better solution whe there are many pages (many files names) to be generated.
@ Claudio, It would be posible to take all these files and be jioned at only one file ?
If yes, we can include an RADIOGROUP for:
- All pages
- Current page
- Pages: [ ]
Then can be easy generate just in one file or in many multiple files when need to export.
In theory yes, but not if it would be practical to do so, because it would (probably slow to load) very large images and there is no appropriate viewer to treat the sub-images as if they were pages. Also when you printing may not set page breaks.