Sending file to Print Que

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Sending file to Print Que

Post by Jay »

Hi All,

Has anyone ever sent a file to a Printer ?

Is it possible to do it in DataStage ?

The printer is a remote printer. Checks are supposed to be printed out by the printer.

Thanks in advance
Jay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

How would you do it outside of DataStage? More than likey, I'd say you will end up writing to a flat file and then (after job) issuing whatever command is necessary to get the file printed to the remote printer.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Post by Jay »

Yes, you are right.

Its a PDF file. So i think all i have to do is FTP it to the Print Server. I have its IP Address. It should automatically get placed on the print que.

i have to ask the client some more details. How exactly are they doing it currently, outside of DataStage.

i'll keep you posted, most likely next week....

have a good weekend
Jay
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can do anything for which there exists a command line in DataStage, either through ExecSH/ExecDOS or through DSExecute (or through Perform or Execute in DataStage BASIC).

Whether it makes sense to do so is an entirely different question.

For example, you could invoke a script to perform the FTP operation you suggest. If it were a text file, you could invoke the lp or lpr command directly. And so on.
Last edited by ray.wurlod on Mon May 23, 2005 12:13 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Post by Jay »

thanks, Ray...will keep you all posted....

till now the client is working out the exact procedure they are going to follow...
Jay
Participant
Posts: 105
Joined: Tue Nov 11, 2003 8:28 pm

Post by Jay »

this process has been shelved ...
Post Reply