Print to file when using a USB connected printer

  • Thread starter Thread starter DC
  • Start date Start date
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?
 
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.
 
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.
 
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.
 
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
--------------------------------------------------------------
 
Back
Top