[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Printer routing
Routing to printers is somehow dependent on the e-mail entries.
cc:Mail(SMI), Lotus Notes (SMI), or Microsoft Mail (MAPI) must be installed.
(If not you may have to write a driver.) Set the parameters in the
Maximo.ini file in the [SYSTEM] section MAIL=CCMAIL (or NOTES or MAPI as
appropriate). In the WIN.INI file there should be a [MAIL] section with
SMI=1 (for Lotus) or MAPI=1 (for Microsoft). Make sure the path points to
the directory and the windows\system contains vim32.dll and smi32.dll
Tony Womble
> ----------
> From: Sylvain Leclair[SMTP:sleclair@hotmail.com]
> Sent: Friday, September 10, 1999 11:01 AM
> To: Multiple recipients of list SQR-USERS
> Subject: Printer routing
>
> Hello,
>
>
> I have to make a report (workorder) that will print on different printer,
> depending of the location of the labor.
>
> I read some infos in the Maximo user guide and I also call supp. tech at
> PSDI and they sent me some doc. I made the small test program contain in
> the document from PSDI. There is :
>
> begin-setup
> end-setup
>
>
> begin-heading 5
> print '[#BEGIN]' (1,1)
> print $PRINTER-ROUTING-STR (+1,1)
> PRINT 'WORK ORDER' () CENTER
> end-heading
>
> begin-footing 4
> print 'END OF REPORT' (1,1)
> print '[#END]' (+1,1)
> end-footing
>
> begin-program
> input $where
> do Main
> end-program
>
> begin-procedure Main
> begin-select
> WONUM &WONUM
> DESCRIPTION &DESC
> STATUS &STAT
> SUPERVISOR &SUPER
>
> DO PRINTER_ROUTING
> print &WONUM (1,1)
> new-page
>
> FROM WORKORDER
> WHERE [$where]
> end-select
> end-procedure
>
>
> begin-procedure PRINTER_ROUTING
> begin-select
> DEVICE &device
> DRIVER &driver
> PORT &port
>
> FROM PRINTER
> WHERE TBNAME = 'WORKORDER'
> AND COLNAME = 'SUPERVISOR'
> AND VALUE = &SUPER
> end-select
>
> MOVE '[#PRINT ' TO $PRINTER-ROUTING-STR
> CONCAT &DEVICE WITH $PRINTER-ROUTING-STR
> CONCAT ';' WITH $PRINTER-ROUTING-STR
> CONCAT &DRIVER WITH $PRINTER-ROUTING-STR
> CONCAT ';' WITH $PRINTER-ROUTING-STR
> CONCAT &PORT WITH $PRINTER-ROUTING-STR
> CONCAT ']' WITH $PRINTER-ROUTING-STR
> end-procedure
>
>
> I can compile this report and run it from MAXIMO. But when I run the
> report, I got this message "Printer routing not completed".
>
> I followed all the steps,
>
> 1. I created a new type "tmp" in the Windows Explorer
> 2. I specified the routing info in MAXIMO
> 3. I also marked the report "as routable"
>
> But still don't work,
>
>
> Can anyone help me?
>
> Thank,
>
> Sylvain Leclair
> CiM MAINTENANCE
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>