-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
PRINTER.ON/OFF
PRINTER.ON/OFF
-
contact2prasanth
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 29
-
Thank you received: 4
-
-
7 years 10 months ago #21322
by contact2prasanth
Hi All,
I have written a routine using PRINTER.ON/OFF with specified arguments .
Given as CALL PRINTER.ON(NAME,UNIT)
NAME = APPLICATION NAME
UNIT AS DEFAULT 0 and CALL PRINTER.OFF but it is throwing an Error.
0057 CALL PRINTER.ON("SYS.REP",0)
0058 CALL PRINTER.OFF
18132000004171200
001
002
003
004 ** Error [ SUBROUTINE_PARM_ERROR ] **
005 'SUBROUTINE PRINTER.OFF' called with incorrect arguments , Line 1 , Source TASKPRNT1
Please Log in or Create an account to join the conversation.
-
VK
-
-
Offline
-
Platinum Member
-
-
Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
-
Posts: 1209
-
Thank you received: 158
-
-
-
7 years 10 months ago #21323
by VK
NAME = APPLICATION NAME
It should be ID of a record in REPORT.CONTROL application.
Cheers
VK
Please Log in or Create an account to join the conversation.
-
contact2prasanth
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 29
-
Thank you received: 4
-
-
7 years 10 months ago #21325
by contact2prasanth
Thanks vk.
REPORT.NAME....... SYS.REP
1. 1. 1 GB DESC..... SYS REP
2. 1 GB SHORT.DESC.. SYS REP
3 FORM.NAME......... HOLD
8 MICROFICHE.OUTPUT. N
17 PRODUCT........... MF
0057 CALL PRINTER.ON("SYS.REP",0)
0058 CALL PRINTER.OFF
Please Log in or Create an account to join the conversation.
-
Forum
-
T24 Technical Discussions
-
T24 Development & Customization
-
PRINTER.ON/OFF
Time to create page: 0.037 seconds