EXECUTE REPORT with default page setting

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

EXECUTE REPORT with default page setting

Post by sudip »

Hello All,

Is there any way to use EXECUTE REPORT with default page setting. BTW, I can use default printer as follows but not default page setting.

Code: Select all

EXECUTE REPORT Salereg PREVIEW
Thanks in advance. :)

With best regards.

Sudip
With best regards,
Sudip
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: EXECUTE REPORT with default page setting

Post by Roberto Lopez »

sudip wrote:Hello All,

Is there any way to use EXECUTE REPORT with default page setting. BTW, I can use default printer as follows but not default page setting.

Code: Select all

EXECUTE REPORT Salereg PREVIEW
Thanks in advance. :)

With best regards.

Sudip
I'm not sure to understand your question...
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: EXECUTE REPORT with default page setting

Post by fchirico »

Roberto Lopez wrote:
sudip wrote:Hello All,

Is there any way to use EXECUTE REPORT with default page setting. BTW, I can use default printer as follows but not default page setting.

Code: Select all

EXECUTE REPORT Salereg PREVIEW
Thanks in advance. :)

With best regards.

Sudip
I'm not sure to understand your question...
Roberto, me imagino que lo que pregunta SUDIP es que así como le podemos indicar que use la impresora por defecto de windows, también se le pueda indicar que use la configuración de página que tiene por defecto ese impresora, como por ejemplo: A4 y HORISONTAL.

Creo que es eso.
Saludos, Fernando Chirico.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: EXECUTE REPORT with default page setting

Post by Roberto Lopez »

fchirico wrote:
Roberto Lopez wrote:
sudip wrote:Hello All,

Is there any way to use EXECUTE REPORT with default page setting. BTW, I can use default printer as follows but not default page setting.

Code: Select all

EXECUTE REPORT Salereg PREVIEW
Thanks in advance. :)

With best regards.

Sudip
I'm not sure to understand your question...
Roberto, me imagino que lo que pregunta SUDIP es que así como le podemos indicar que use la impresora por defecto de windows, también se le pueda indicar que use la configuración de página que tiene por defecto ese impresora, como por ejemplo: A4 y HORISONTAL.

Creo que es eso.

Eso no es posible por el momento.

That is not possible by the moment.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: EXECUTE REPORT with default page setting

Post by sudip »

Roberto Lopez wrote:...
I'm not sure to understand your question...
Is it possible to execute report on defafault paper setting by the end user?

Code: Select all

BEGIN LAYOUT
PAPERSIZE <nValue>
ORIENTATION <nValue>
[ PAPERWIDTH <nValue> ]
[ PAPERLENGTH <nValue> ]
END LAYOUT
In my very humble opinion, it will be possible if PAPERSIZE and ORIENTATION are optional in above commands.
(Sometimes, I am afraid, why I can't explain easily? May be I am suffering too much tension...!!! :( )
With best regards.
Sudip
With best regards,
Sudip
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: EXECUTE REPORT with default page setting

Post by Roberto Lopez »

sudip wrote: Is it possible to execute report on defafault paper setting by the end user?

Code: Select all

BEGIN LAYOUT
PAPERSIZE <nValue>
ORIENTATION <nValue>
[ PAPERWIDTH <nValue> ]
[ PAPERLENGTH <nValue> ]
END LAYOUT
In my very humble opinion, it will be possible if PAPERSIZE and ORIENTATION are optional in above commands.
(Sometimes, I am afraid, why I can't explain easily? May be I am suffering too much tension...!!! :( )
With best regards.
Sudip
That is not possible currently.

Moreover, a report is supposed to be designed to work with a specific paper size.

Remember that you specify row and col positions for each element, so considering an 'automatic' report length using the default printer page length (changing automatically detail lines count to be printed), you will have a problem related with the width ('col' and 'width' for each element specified in the report).

So, this feature, if eventually added, could work for length but it could bring width problems.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply