net use question

  • Thread starter Thread starter Z.K.
  • Start date Start date
Z

Z.K.

I have a PC without a parallel printer and I am using a usb to parallel
adapter cable. It works great, but I am using a program that sends files
via the command prompt (system command in VC++) and I need a way to some
how to send it to the usb printer cable. I have seen several
suggestions about using net use and I did get it to work on a windows
2000 box, but I am unable to get it to work on XP. I am unsure as
whether the fact that there is no parallel port my be the cause, but I
don't think so. I did a net use lpt1 \\method5\3400e /y and it seemed
to work, but when I did a copy 0735702.fmt lpt1 nothing printed even
though the it said the file was sent. Is there something else I need to
do to get it to print to the usb printer.

Z.K.
 
Z.K. said:
I have a PC without a parallel printer and I am using a usb to parallel
adapter cable. It works great, but I am using a program that sends files
via the command prompt (system command in VC++) and I need a way to some
how to send it to the usb printer cable. I have seen several
suggestions about using net use and I did get it to work on a windows
2000 box, but I am unable to get it to work on XP. I am unsure as
whether the fact that there is no parallel port my be the cause, but I
don't think so. I did a net use lpt1 \\method5\3400e /y and it seemed
to work, but when I did a copy 0735702.fmt lpt1 nothing printed even
though the it said the file was sent. Is there something else I need to
do to get it to print to the usb printer.

Z.K.

You must share your printer before running the "net use" command.
You may also have to eject the page after the copy command:

net use lpt1 \\method5\PrinterShareName
copy 0735702.fmt LPT1:
echo ^L > LPT1:
(^L is Ctrl+L, or $0C)
 
Back
Top