× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

PRINTER.ON/OFF

  • contact2prasanth
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 10 months ago #21322 by contact2prasanth
PRINTER.ON/OFF was created 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
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
7 years 10 months ago #21323 by VK
Replied by VK on topic PRINTER.ON/OFF

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
  • Junior Member
More
7 years 10 months ago #21325 by contact2prasanth
Replied by contact2prasanth on topic PRINTER.ON/OFF
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.

Time to create page: 0.037 seconds