IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Sending to Print ques

    Posted 11/17/05 01:32 PM

    Originally posted by: SystemAdmin


    Can Mercator or DatastageTX send directly to a printer que. Currently we create .txt files that are picked up by a separate program to be faxed. Now we would like to send it directly to a printer que. Can this be done?
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Sending to Print ques

    Posted 11/18/05 04:28 AM

    Originally posted by: SystemAdmin


    Not currently; you could write your own JAVA to do this and use the JAVA adapter, or possible use EXIT function, shell or batch adapters too.

    Since printing environments can vary so much, it is better, IMO, to design something locally that try to build in an OS like printing function.

    You could have 10 print server and 40 printers on your network, and might want different type documents sent to different printers.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: Sending to Print ques

    Posted 12/13/05 10:22 AM

    Originally posted by: SystemAdmin


    Does this help? It's been such a long time since I developed/ever used it, but you can use the net use command in a batch file to do it, if your network allows.

    img:aaeaf0a2c1http://img.photobucket.com/albums/v208/rephc/printq.jpg[/img:aaeaf0a2c1]
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: Sending to Print ques

    Posted 01/24/06 09:49 AM

    Originally posted by: SystemAdmin


    Sorry I am posting so late here...
    But after seeing the previous ones I just thought I would chime in.

    Printing to a print queue (Or local printer) is quite easy. All you have to do is
    write directly to a bogus file on the printer device and address the UNC name of the printer.

    Example:

    Adapter type = FILE
    Command = \\myserver\mypritner\bogus.txt

    So long as...
    1) the user that is executing the mmc has rights to the printer.
    2) You may have to open the printer ONCE on the console.
    3) If this is a Event Server process, the account that the process runs in must have rights to the printer.
    4) This describes a Windows environment but this method uses some way back Unix\CPM principles so I do not see why it would be different if you write to the printer device in Unix.
    This process has been VERY VERY reliable, and you can enhance it by inserting some printer codes before the data.

    This a basic solution but it does work.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange