Home » Developer & Programmer » Reports & Discoverer » Page settings for cutsheet papers  () 1 Vote
Page settings for cutsheet papers [message #194897] Tue, 26 September 2006 01:34 Go to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Guys,
I am printing a voucher in char mode to approximate size of A5,
I have designed the RDF for that size , and its printing well,But after printing its skipping the full page, ie its pritng half of A4 and skipping that full page and got the next page.How cam i adjust printing so that i can print on next cut sheet..
Thanks And Regards
Shefeeq
Re: Page settings for cutsheet papers [message #194964 is a reply to message #194897] Tue, 26 September 2006 05:49 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

Set report height to desired Height say 33 charaters. and Design you report with this height. Then change a little to your PRT as well.
If your old PRT looks as

printer "DFLT"

height 66
width 80

Convert it to

printer "SHORT"

height 33
width 80

If it still skips the page then
either
set autofeed of printer off via code.
else
Put printer code to set height in printer at header of this report. Set paper size in printer through code 5 or 5.5.

You will get the desired output.

Sandy



Re: Page settings for cutsheet papers [message #194967 is a reply to message #194964] Tue, 26 September 2006 06:01 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy ,thank u for ur quick reponse

my dflt.prt is

printer "dflt"

height 33
width 80

code "1" esc "W" "1"
code "2" esc "W" "0"
code "3" esc "c" "0" "5.5"
code "4" esc "@"
after report control(L)
return control(M)
linefeed control(J)

Where should give the page size code (code 3),or
How can i put off autofeed.

Thanks & reagards
Shefeeq
Re: Page settings for cutsheet papers [message #194979 is a reply to message #194967] Tue, 26 September 2006 06:48 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

Pass this code (set page lenght to 5 or 5.5) to before printer code of first feild or label which will print at top of the report. and then pass code to after printer code to set page length 11 at feild or label printing at lowest of the report.


Sandy
Re: Page settings for cutsheet papers [message #195000 is a reply to message #194979] Tue, 26 September 2006 08:14 Go to previous messageGo to next message
ab_trivedi
Messages: 460
Registered: August 2006
Location: Pune, India
Senior Member
Hi,

Change the Design in Charater Unit:

Report Width :

Report Height :

and u must also see the

Unit of measurement :

Width :

Height :

in the Report Heading.

Ashu
Re: Page settings for cutsheet papers [message #195090 is a reply to message #195000] Wed, 27 September 2006 00:58 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Guys

I have tried both ways,passing printer codes and Setting page length ,But not working..
Plz see my dflt.prt,i am attaching it


For Ansu's Ref ....
I have tried in page setting in the header section.
Unit of measure is in Inch
height 5.5
Width 6.5
report height in char.. 33
report width 80
this settings i have given in layout header section..
is there any thing wrong...
Shefeeq
  • Attachment: DFLT.PRT
    (Size: 0.23KB, Downloaded 1360 times)
Re: Page settings for cutsheet papers [message #195095 is a reply to message #195090] Wed, 27 September 2006 01:26 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

please refer to your printer manual for Pagelenght code. Codes in ur PRT does not seems right.

Try this code for page length 5 Inch. it might work for u.

code "3" "C0"


Sandy
Re: Page settings for cutsheet papers [message #195102 is a reply to message #195095] Wed, 27 September 2006 01:53 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi sandy where from u got this code ,In my printer manual (epson Lq 870)
its as follows

Set page length
ESC C 0 n Where n is page length in inches..
i couldn't find this type of code in it .....
"C0"

Shefeeq...

Re: Page settings for cutsheet papers [message #195105 is a reply to message #195102] Wed, 27 September 2006 01:57 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

This is nothing but the chr value of ascii code given in printer manual.

Sandy

Re: Page settings for cutsheet papers [message #195116 is a reply to message #195105] Wed, 27 September 2006 02:18 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy ,
Sorry for disturbing...
U have send the code
code "3" "C0"
is it stands for page length 5
or i have to give code "3" "C0 5.5 "
in it..
""--- Statnds for escape key..?
I cold n't find it
if i want to change the page length 11 how can i do it..?
Thank & Regards
Shefeeq
Re: Page settings for cutsheet papers [message #195122 is a reply to message #195116] Wed, 27 September 2006 02:25 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

code "3" "C0"

In upper code first "" represent the Esc (ASCII 27) and last "" represent the chr value of ascii value 5. you can get it by

select chr(5) from dual;

C
-


for 11 inch,

select chr(11) from dual;

C
-


Both looks same but their means are different.

Sandy
Re: Page settings for cutsheet papers [message #195126 is a reply to message #195122] Wed, 27 September 2006 02:32 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy

SQL> select chr(5) from dual;

C
-


SQL> select chr(11) from dual;

C
-


SQL> select chr(27) from dual;

C
-

I got these values,,Dispaly same symbol for eache value...????

Shefeeq
Re: Page settings for cutsheet papers [message #195130 is a reply to message #195126] Wed, 27 September 2006 02:37 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

They looks same but their meanings are different, copy them to your PRT. The code i sent you was working with my printer. For your printer i don't have any manual. Look your manual for code and apply them to your PRT.

Sandy
Re: Page settings for cutsheet papers [message #195136 is a reply to message #195130] Wed, 27 September 2006 02:50 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy
Can u send me u prt file which is printing for this purpose..
Shefeeq
Re: Page settings for cutsheet papers [message #195209 is a reply to message #195136] Wed, 27 September 2006 07:04 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

code "7" "C0" %%set page length in inches 27,67,nul, n n is no of lines

suffix the chr value of your lenght required to C0.

E.g for length 5

SQL> select chr(5) from dual;

C
-



code "7" "C0"


Sandy
Re: Page settings for cutsheet papers [message #195355 is a reply to message #195209] Thu, 28 September 2006 03:50 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi sandy
This one not working for me its same effect.

Is there any worng in giving code like below in prt file...?

code "3" esc "C05"
code "5" esc "C011"

....??????
Shefi
Re: Page settings for cutsheet papers [message #195488 is a reply to message #195355] Fri, 29 September 2006 00:59 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

Hi,

I am uploading my PRT file, Most of the printer codes exists in it. Look one of the example here

code "7" "C0" %%set page length in inches 27,67,nul, n n is lenght in inches


in upper code the char values of 27,67,nul is already passed. You just need to add char value of page length in inch. Suppose you want page size 5 inch then this code will become.

code "7" "C0"

the value after 0 denotes page size 5 Inches. Please look in your printer manual, that what are the defined page sizes in Inches.

Hope now you will get the solution for your problem. I can't help more than this. Smile

Sandy


  • Attachment: SANDY.prt
    (Size: 3.32KB, Downloaded 1304 times)
Re: Page settings for cutsheet papers [message #195652 is a reply to message #195488] Sat, 30 September 2006 04:48 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy
Thank u very much for sending the prt file...
I have gievn the same thing,what u have send and and in my printer manual(EPSON) have the same things...
There is no change in printing ,its skipping to next page...
I think its some other error , I am looking for that,Any way thank u very much to help me....
Thanks & Regards
Shefi...
Re: Page settings for cutsheet papers [message #195687 is a reply to message #195652] Sun, 01 October 2006 04:14 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy
Now ltle bit change..Now its not skipping full page ,Its coming upto 75 % of the page...
Should i have to adjust
Height of main section to 5.5
And its charmode height to 33....????..
Thanjs & Regards
Shefis
Re: Page settings for cutsheet papers [message #195960 is a reply to message #195687] Tue, 03 October 2006 06:01 Go to previous messageGo to next message
sandeepk7
Messages: 137
Registered: September 2006
Senior Member

Your complete report height should be upto 33 in Characters. Change your report height to 33 and then try to print. Hopefully it will work.

Sandy
Re: Page settings for cutsheet papers [message #197663 is a reply to message #195960] Thu, 12 October 2006 03:58 Go to previous messageGo to next message
simple_ora
Messages: 50
Registered: September 2006
Location: UAE
Member
Hi Sandy
At last I solved the problem,The .prt file is gievn Below
And i have designed the report mainsection with 5 inch height and 33 charecter report height....
Now Its Working fine,Thank U for ur support and help...

Shefi....


printer "vouch"

height 33
width 80

before report control(N)
after report control(R)
after page ""

before report "@" "O"
code "1" "C0"
code "2" ""
code "3" esc "W1"
code "4" esc "W0"
linefeed control(J)
return control(M)
after report "@"
Re: Page settings for cutsheet papers [message #335001 is a reply to message #197663] Sat, 19 July 2008 04:01 Go to previous message
mahrhaideriqbal
Messages: 11
Registered: August 2007
Junior Member
hello ahd hi
me have a report of cash memo page size 12 by 13.8 cm
can u send me soled expalmple of report , and tel me its setting for all reports when i need other page size whats me ll do
Previous Topic: Print Report of cash Memo
Next Topic: Dynamic selection of columns to be displayed report10g
Goto Forum:
  


Current Time: Sat Nov 30 05:41:03 CST 2024