Hi, first let me say, I sorry for the lack of detail, I'll be more specific this time. I
have a machine running win95 that is set up as a print server, its running an app that
has an "lpd" (line print deamon). When a spooled file is sent to the machine, the
print server app, must print it or send it back to the host que. if the "device" is on
line and ready the print server will print it. The "device" in this instance is the
generic text printer, set to print to a file, so when a spooled file is sent it attemps to
print it using the generic text printer, set to print to a file. My problem is the dialog
box that ask you to name the file, I want my app to handle this process, by detecting
the dialog box, name the file "myfile.txt" and close the dialog box so that no user
intervention is needed.
Example: Workstation1 sends a file to a Unix lan server, the Unix lan server
redirects the job to the print sever, the print sever prints the job using the generic
text print(set to print to a file) and a dialog box opens asking you to name the file,
you name the file, hit ok, or enter, and the process is complete. I have a file array
sub wrote to independantly name each file that arrives, so the first file that arrives
will be named "myfile1.txt", "myfile2.txt", "myfile3.txt", I just can't figure out
deal with the dialog box. I don't want the user to have to name the file, or deal with the dialg box
Try this, set your generic text print driver up(set to print to a file), go to notepad
type some text and and print it, you will get the dialog box I'm trying to deal with.
Thanks for you support!!
I Need serious help soon...... Thanks