|
Jim, Either in a CL wrapper or before you open the printer file in RPG, call:CALL 'AXZPRT0C' 90 Print with over PARM 'AMVA7PFR' WQ0032 10 &Program name PARM WUAAN9 WQ0033256 &Narrative 256 PARM 'AMVA7PFR' WQ0034 10 Report name PARM *BLANK WQ0035 10 &Printer control
The printer control could be the Company number or Warehouse Id if the the document is to be controlled by either of these codes. This call to AXZPRT0C should work after you add the Printer file to the MZGLCPP file as was stated - F6 in printer file override maintenance. However, to add any special controls like Company or Warehouse, you will have to DFU/DBU/WRKDBF the file to assign those codes (C=Company, W=Warehouse). I also assign the XA application id to any custom reports. Also, the 256 byte character string (I believe) is the parameter stringneeded to call the program.
I thought that there was some documentation somewhere about how to do this...Eric
---------------------------------------------------------------------- From: LeLeux@xxxxxxxxxxxx Reply-To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx> To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx> Subject: Re: [MAPICS-L] Printer Overrides Date: Tue, 10 Oct 2006 10:25:25 -0700 >Under printer override maintenance, press F6 to add the custom report. > > > > > >"Sansi, Jim" <jsansi@xxxxxxxxxxx> >Sent by: mapics-l-bounces@xxxxxxxxxxxx >10/10/2006 10:20 AM >Please respond to >MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx> > > >To >"MAPICS ERP System Discussion" <mapics-l@xxxxxxxxxxxx> >cc > >Subject >[MAPICS-L] Printer Overrides > > > > > > >Is anyone using the MAPICS program to apply printer file overrides to a >custom (non MAPICS) report? If I recall correctly there is a program >that can be called and used to do so I just can't remember what it is. > >Thanks, >-Jimmy >_______________________________________________ >This is the MAPICS ERP System Discussion (MAPICS-L) mailing list >To post a message email: MAPICS-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/mapics-l >or email: MAPICS-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/mapics-l. > > >_______________________________________________ >This is the MAPICS ERP System Discussion (MAPICS-L) mailing list >To post a message email: MAPICS-L@xxxxxxxxxxxx >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/mailman/listinfo/mapics-l >or email: MAPICS-L-request@xxxxxxxxxxxx >Before posting, please take a moment to review the archives >at http://archive.midrange.com/mapics-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.