Printing to file in SW
Printing to file in SW
(OP)
Hi everyone,
How can I send a .PRN file gerated by SW to a print? I have used winfile.exe to do that, but in Win2K there isn't any winfile.exe... why MS did take him from there??
Is there another way? I have lots of .prn file and I want to send them to the printer in one time.
Thanks for all the help,
Rodrigo Basniak
Curitiba, PR
Brazil
How can I send a .PRN file gerated by SW to a print? I have used winfile.exe to do that, but in Win2K there isn't any winfile.exe... why MS did take him from there??
Thanks for all the help,
Rodrigo Basniak
Curitiba, PR
Brazil






RE: Printing to file in SW
Al you need to do is keep them in a common directory and select the right printer from the menu when you print them to a file. Then when you want to dump them out to the printer you can do this from the dos command line and simply use the copy command
SYNTAX:
copy *.prn <port name or IP address>
copy *.prn lpt1
or
copy *.prn 158.26.156.08
hope that helps
Regards,
Jon
jgbena@yahoo.com
RE: Printing to file in SW
2)
I suggest you to write a batch file eg. LaserPrint.bat and place it on your desktop.
The batch file should contain the print command as follows
c:\winnt\system32\print.exe %1 /d:\\Comptrnam\Printsharename
or copy %i LPT2:
From Windows Explorer just drag your .prn file and drop onto the icon of batch file you just created.
Take care to see that in your printer properties you have selected the 'Spool the jobs before printing' and not selected 'Print Directly to printer.
This method works for any network printer.
Additional care you have to make is to select correct printer type (laser, poscript, etc) when creating .prn files.
You can test your batch file by first drag and dropping from win-explorer to the icon of batch file of a simple text file such as autoexec.bat.
3) You can print to a subdirectory and issue the bath file name with *.* as mentioned by APPENG
RE: Printing to file in SW
I just want to understando better your example Krishna... Your ideia works well for txt file for instance, but when I print a PRN file generated by SW te printer always prints a blank sheet together... but the real problem is that I can't print more than one file at same type... is it correct or am I missing anything? By batch file is the following:
c:\winnt\system32\print.exe %1 /d:\\projetos1\hplaserj
What I want to do is select around 30 files from an folder and drag them to the batch file... Is it possible?
When I select lots of file and drag onto the batch file the printer just prints the 1st file...
I agree with you that winfile still exhists in NT :) But I'm using Windows 2000, and there, there isn't any winfile :( I just don't understand what does Microsoft think...
Rodrigo Basniak
Curitiba, PR
Brazil
RE: Printing to file in SW
I hope this helps,
Scott Baugh, CSWP
credence69@REMOVEhotmail.com
http://home.insightbb.com/~scott.baugh/
RE: Printing to file in SW
I tried "copy A:\test.prn 158.26.156.08" and I just got a copy of the PRN file saved as that ip number instead of printing to the network.
RE: Printing to file in SW