Print to file when using a USB connected printer

D

DC

I often have to print stuff on another printer. In the 'good old times' I could
just print to file and use:
copy myjob.prn prn /b

Unfortunately above does not seem to work with USB connection or am I missing
something?
 
D

Don Phillipson

I often have to print stuff on another printer. In the 'good old times' I could
just print to file and use:
copy myjob.prn prn /b

Unfortunately above does not seem to work with USB connection or am I missing
something?

COPY PRN is a DOS command.
If you wanted to use a USB device (printer) via DOS
you would have to load a DOS driver for the device
first. No DOS drivers are supplied by USB device
vendors.

Alternative printing methds depend on the OS under
which you would be printing. E.g. Windows OSs all
prefer graphic rather than lineprint modes.
 
M

measekite

DOS HA HA HA TRY ANH ABACUS

Don said:
COPY PRN is a DOS command.
If you wanted to use a USB device (printer) via DOS
you would have to load a DOS driver for the device
first. No DOS drivers are supplied by USB device
vendors.

Alternative printing methds depend on the OS under
which you would be printing. E.g. Windows OSs all
prefer graphic rather than lineprint modes.
 
D

DC

Don Phillipson said:
COPY PRN is a DOS command.
If you wanted to use a USB device (printer) via DOS
you would have to load a DOS driver for the device
first. No DOS drivers are supplied by USB device
vendors.

Alternative printing methds depend on the OS under
which you would be printing. E.g. Windows OSs all
prefer graphic rather than lineprint modes.


I found a solution on the net:
prnprint.exe

Does just what I need and has a command prompt interface also.
 
D

Davide Guolo

DC,
copy myjob.prn prn /b

Unfortunately above does not seem to work with USB connection or am I
missing
something?

you have to share the USB printer, then:

NET USE LPT1: \\My_own_machine\My_Shared_Printer

will map the LPT1 port to your locally connected shared printer.

Now "COPY MYJOB.PRN LPT1:" will work ok.

To remove the redirection you can:

NET USE LPT1: /D

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.printfil.com
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 

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

Top