×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Printing to file in SW

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

RE: Printing to file in SW

You need not use winfile to print your prn doc's after you have created them.  I used to do this all the time when I was racing, I had a laptop and would print all of my docs to a file, and afterwards would plug into the printer and print them all at the same time using a batch file.

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

1) WINFILE still exists in winnt. You have to run it from Start->Run->Winfile

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

(OP)
I wanna thank Jon and Krishna by the help :)

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

Wouldn't the Batch Print DL from SW website be the program your looking for? I know this prints regular SW files. Also when you DL the file the code is added and you can change it to fit your needs. This may come in handy for you Rodrigo.

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

try copy A:\test.prn \\158.26.156.08

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources