× Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…

To remove the banner page while print report

  • antran
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 days ago #11862 by antran
Hi guys,

Kindly tell me how to remove the banner page while print report. The details of banner get from DEPT.ACCT.OFFCIER application. I also set NHEAD or NOHEAD for option attribute.

FORM.TYPE......... SYSTEM
1. 1 GB DESCRIPTION. Standard landscomp form.
2 PRINTER.ID........ EFS Using Print-queue STANDARD
3 FORM.WIDTH........ 999
4 FORM.DEPTH........ 199
5 TOP.MARGIN........ 0
6 BOTTOM.MARGIN..... 0
7. 1 RPT.ATTRIBUTES. LANDCOMP
8. 1 OPTIONS........ NHEAD

Have any idea? Please help!
Thanks,
Andy

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
13 years 2 days ago #11864 by jpb
Try defining your printers in the spooler with suppressed banner using PROG and lp, e.g.

PROG lp -d PRINTER1 -o nobanner

(don't know how to do with Windows)

b.t.w.:
Don't you have problems with very big files when defining 999 as FORM.WIDTH?
Each line in a report consumes 999 charactes, no matter how many there really are.
e.g. your &HOLD& and jspooler must be quite big ??

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
13 years 2 days ago - 13 years 2 days ago #11865 by jpb
I just tried myself, doesn't help when the banner is already in the diskfile, sorry!

Normally NOHEAD will do the job, for me it works.
Are you shure you change the correct DE.FORM.TYPE, the used one is printed on the banner as Form ...
Last edit: 13 years 2 days ago by jpb.

Please Log in or Create an account to join the conversation.

  • antran
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 days ago - 13 years 2 days ago #11866 by antran
Hi jpb,

Thank you so much for your idea.

Yes, I'm sure. I tried with NHEAD/NOHEAD but It isn't effect. I don't know exactly how many character in the report.

Do you have any idea?

Thanks,
Andy
Last edit: 13 years 2 days ago by antran.

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
13 years 2 days ago #11867 by jpb
The width is depending on the report, but normally you won't exceed 132 (that fits to A4 landscape with 10 cpi).
If you have reports that have more you should use separate DE.FORM.TYPE for them.
I wouldn't use so much in STANDARD (the widest report we have defined has 182 characters per line and is printed to A4 with condensed characters).

Just to be sure, did you change the really used DE.FORM.TYPE (= FORM.NAME defined in REPORT.CONTROL) , re-sign-on and then produce the report?
The following user(s) said Thank You: antran

Please Log in or Create an account to join the conversation.

  • antran
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 2 days ago #11868 by antran
Hi jpb,
Thank you so much for your support.

I will config form width again. I used to default DE.FORM.TYPE. After print, i check in HOLD file. I see request by P.FUNCTION. I check P.FUNCTION id in REPORT.CONTROL. I see FORM.NAME is SYSTEM. After that i changed some thing in SYSTEM but not effect. :(

I have one more problem with Grab file.
In version R10:
DE.FORM.TYPE SYTEM
FORM.TYPE......... SYSTEM
1. 1 GB DESCRIPTION. Standard landscape form.
2 PRINTER.ID........ EFS Using Print-queue STANDARD
3 FORM.WIDTH........ 182
4 FORM.DEPTH........ 199
5 TOP.MARGIN........ 0
6 BOTTOM.MARGIN..... 0
7. 1 RPT.ATTRIBUTES. LANDSCAPE
8. 1 OPTIONS........ NHEAD

The version use D.SLIP format, after i commit the version one file print to HOLD. The information as below:
0001 ..Enquiry result
0002 T24.NAU.ENTRY
0003......................
It's correct. But i have problem in grab file as below:
0001 ..Enquiry result
t
0002 T24.NAU.ENTRY
0003......................

The grab file has 't' character. This is issue. If i changed to LANDCOMP is not 't' character but the format grab file wrong==> i can not use AUTO form to export report.

Do you have any idea?

Thanks,
Andy

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
13 years 1 day ago #11869 by jpb
For P.FUNCTION we have defined a separate DE.FORM.TYPE :
@ID............. PFUNC
FORM.TYPE....... PFUNC
DESCRIPTION..... P.FUNCTION
PRINTER.ID......
FORM.WIDTH...... 110
FORM.DEPTH...... 50
TOP.MARGIN...... 0
BOTTOM.MARGIN... 0
RPT.ATTRIBUTES.. PFUNC
OPTIONS......... NHEAD NOEJECT
RECORD.STATUS...

The attached PRINTER.ATTRIBUTES looks like :
@ID................. DESCRIPTION......... INIT.SEQUENCE....................

HPLASER.PFUNC Courier Size 8 <027>(12U<027>(s0p13.5h0s0b4099T
Landscape <027><038><108>001<079>
10 lines per zoll <027><038><108>010<068>
top margin 1 <027><038><097>001<076>
left margin 1 <027><038><108>001<069>
Lines per page 50 <027><038><108>050<070>

Regarding the new problem with the t-character - I can't really follow you.
"grab file" and "AUTO form to export" means nothing to me . . .

Please Log in or Create an account to join the conversation.

  • antran
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 1 day ago #11870 by antran
Thank you so much for your support. :)

Please Log in or Create an account to join the conversation.

  • antran
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #11927 by antran
Hi jpb,

Thank you so much for your support. :)

Do you have any document about INIT.SEQUENCE? For example: I would like to define new font size. If you have it. Please send to me via This email address is being protected from spambots. You need JavaScript enabled to view it.

Thanks,
Andy

Please Log in or Create an account to join the conversation.

Time to create page: 0.048 seconds