Printing a .PRN File

T

to_del

When Printing using the File Menu, Printing ...
you can choose different parameters (such as
wich printer, number of pages etc..)
BUT you can also choose to print in a file !
Then Windows will generate a .PRN file that you give
a name.
I wanted to generate this printing file to copy it
on another PC and print it later.
But HOW CAN I send this file to the printer ?
THAT IS THE QUESTION ? Any solution ?
Thank you.
Xerix
 
D

David Lowndes

When Printing using the File Menu, Printing ...
you can choose different parameters (such as
wich printer, number of pages etc..)
BUT you can also choose to print in a file !
Then Windows will generate a .PRN file that you give
a name.
I wanted to generate this printing file to copy it
on another PC and print it later.
But HOW CAN I send this file to the printer ?

Open a command prompt and use the copy command to copy the file to the
printer device (often prn:):

copy filename.prn /b prn:

If the printer is on a network share, I think you can also do this:

copy filename.prn /b \\machinename\printersharename

You must bear in mind that the .PRN file is specific to the type of
printer you originally printed to - you can't expect to use it with a
different type of printer.

If you need device independence of the output, you need to look into
some other alternative such as PDF output.

Dave
 
T

to_del

David Lowndes a écrit :
Open a command prompt and use the copy command to copy the file to the
printer device (often prn:):

copy filename.prn /b prn:

If the printer is on a network share, I think you can also do this:

copy filename.prn /b \\machinename\printersharename

You must bear in mind that the .PRN file is specific to the type of
printer you originally printed to - you can't expect to use it with a
different type of printer.

If you need device independence of the output, you need to look into
some other alternative such as PDF output.

Dave
I think this could work if the printer was connected
on the LPT1 port. But my printer is connected on an USB port.
Is there any other solution for an USB printer ?
Xerix
 
D

David Lowndes

I think this could work if the printer was connected
on the LPT1 port. But my printer is connected on an USB port.
Is there any other solution for an USB printer ?

I don't know if there's a direct device syntax for a USB port - but
you could always try creating a share for it and do it that way.

Dave
 
D

Davide Guolo

Xerix,
I think this could work if the printer was connected
on the LPT1 port. But my printer is connected on an USB port.
Is there any other solution for an USB printer ?

you cannot COPY a file directly to an USB port, but you can go through a
network share, as Dave explained.

Alternatively, you could use Printfil to directly send your file to the USB
printer (in RAW mode), without having to share it. You can test it for free
by downloading the trial version at http://www.printfil.com/edown.htm

Regards,
Davide Guolo
aSwIt s.r.l.
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.aswit.com/odbc4all
--------------------------------------------------------------
 
T

to_del

Davide Guolo a écrit :
Xerix,


you cannot COPY a file directly to an USB port, but you can go through a
network share, as Dave explained.

Alternatively, you could use Printfil to directly send your file to the USB
printer (in RAW mode), without having to share it. You can test it for free
by downloading the trial version at http://www.printfil.com/edown.htm

Regards,
Davide Guolo
aSwIt s.r.l.
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.aswit.com/odbc4all
thanks for you help. printfil is a good solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top