PC Review


Reply
Thread Tools Rate Thread

COPY /B a.dat LPT1: to USB - How?

 
 
Aloke Prasad
Guest
Posts: n/a
 
      9th Apr 2004
I have a LaserJet 1300 USB printer on USB001 port.

I would like to dump a file (printed
to FILE on a different computer) to this printer.

How do I redirect LPT1: so that the COPY /B command can pipe the file to the
USB port?

What other way is there to send a file to the printer?

--
Aloke
----
to reply by e-mail remove 123 and change invalid to com


 
Reply With Quote
 
 
 
 
Bob Headrick
Guest
Posts: n/a
 
      9th Apr 2004

"Aloke Prasad" <(E-Mail Removed)> wrote in message
news:6Zldc.1253$(E-Mail Removed)...
> I have a LaserJet 1300 USB printer on USB001 port.
>
> I would like to dump a file (printed
> to FILE on a different computer) to this printer.
>
> How do I redirect LPT1: so that the COPY /B command can pipe the file to the
> USB port?
>
> What other way is there to send a file to the printer?


If you are running Windows then the Printfile may work for you. See:
http://www.lerup.com/printfile/

Regards,
Bob Headrick, not speaking for my employer HP
Microsoft MVP


 
Reply With Quote
 
Alan
Guest
Posts: n/a
 
      9th Apr 2004
"Aloke Prasad" <(E-Mail Removed)> wrote in message news:<6Zldc.1253$(E-Mail Removed)>...
> I have a LaserJet 1300 USB printer on USB001 port.
>
> I would like to dump a file (printed
> to FILE on a different computer) to this printer.
>
> How do I redirect LPT1: so that the COPY /B command can pipe the file to the
> USB port?
>
> What other way is there to send a file to the printer?


One way is PrintFile, <http://www.lerup.com/printfile/>, a useful free
utility.

Ther may be other ways, see
<http://www.jmu.edu/computing/helpdesk/selfhelp/captureprinterport.shtml>,
though I'm not sure if this works for USB; I think you have to have
the printer set up as a network printer.
 
Reply With Quote
 
Quaoar
Guest
Posts: n/a
 
      9th Apr 2004
Alan wrote:
> "Aloke Prasad" <(E-Mail Removed)> wrote in message
> news:<6Zldc.1253$(E-Mail Removed)>...
>> I have a LaserJet 1300 USB printer on USB001 port.
>>
>> I would like to dump a file (printed
>> to FILE on a different computer) to this printer.
>>
>> How do I redirect LPT1: so that the COPY /B command can pipe the
>> file to the USB port?
>>
>> What other way is there to send a file to the printer?

>
> One way is PrintFile, <http://www.lerup.com/printfile/>, a useful free
> utility.
>
> Ther may be other ways, see
>

<http://www.jmu.edu/computing/helpdes...nterport.shtml
>,
> though I'm not sure if this works for USB; I think you have to have
> the printer set up as a network printer.


Check the printer properties, ports tab. The USB port designation is
listed there, which might help.

Q


 
Reply With Quote
 
Me
Guest
Posts: n/a
 
      9th Apr 2004
Aloke Prasad said the following on 9/04/2004 8:18 AM:

> I have a LaserJet 1300 USB printer on USB001 port.
>
> I would like to dump a file (printed
> to FILE on a different computer) to this printer.
>
> How do I redirect LPT1: so that the COPY /B command can pipe the file to the
> USB port?
>
> What other way is there to send a file to the printer?
>


I don't have a USB printer so I can't say if you can assign the
port. If it turns out that you can't perhaps try the following as an
alternative:

Create a for the printer (ie. LJ1300)

net use lpt1: \\localhost\lj1300


 
Reply With Quote
 
Aloke Prasad
Guest
Posts: n/a
 
      9th Apr 2004

"Quaoar" <(E-Mail Removed)> wrote in message
news:B-ydnQJQds46KevdRVn-(E-Mail Removed)...
> Check the printer properties, ports tab. The USB port designation is
> listed there, which might help.


That shows the port as USB001

COPY command to that completes in the DOS box but does not send any data to
the printer (no output or blinking lights on it).

COPY command to USB001: produces an error (no such device).

Printfile looks promising. Thanks to those who suggested it.

--
Aloke
----
to reply by e-mail remove 123 and change invalid to com


 
Reply With Quote
 
Dave
Guest
Posts: n/a
 
      9th Apr 2004
On Fri, 09 Apr 2004 20:00:07 GMT, in comp.periphs.printers, "Aloke Prasad"
<(E-Mail Removed)> wrote:

>That shows the port as USB001
>
> COPY command to that completes in the DOS box but does not send any data to
>the printer (no output or blinking lights on it).


without the ":" at the end, you just copied to a file called "USB001". It
will be on your hard drive in which ever directory was the current one
when you did the copy command.

>COPY command to USB001: produces an error (no such device).


Yeah, DOS is funny like that. You can't just copy a file to any arbitrary
device. Some you can, some you can't. <shrug>

>Printfile looks promising. Thanks to those who suggested it.


I've seen that work and other times, on other systems, it's failed. At
least it's another option to try. You might want to check all the driver
options to see if there's any kind of option/setting relating to "MS-DOS
compatability" or "Do you want to print from MS-DOS programs?"

Dave

--
(E-Mail Removed) is a valid reply-to address but I don't check it every day.
 
Reply With Quote
 
Andrew Rossmann
Guest
Posts: n/a
 
      9th Apr 2004
[This followup was posted to comp.periphs.printers and a copy was sent to
the cited author.]

In article <6Zldc.1253$(E-Mail Removed)>, aprasad123
@columbus.rr.invalid says...
> I have a LaserJet 1300 USB printer on USB001 port.
>
> I would like to dump a file (printed
> to FILE on a different computer) to this printer.
>
> How do I redirect LPT1: so that the COPY /B command can pipe the file to the
> USB port?
>
> What other way is there to send a file to the printer?


In addition to the PrintFile program others posted, you can share the
printer and then connect to your own share. This is useful if you prefer
working at a command line or through batch files.

Basically, share the printer from Start/Settings/Printers, then create a
virtual port with:
NET USE LPTx \\yourcomputer\printershare (where x is the port number you
want to use.)

--
If there is a no_junk in my address, please REMOVE it before replying!
All junk mail senders will be prosecuted to the fullest extent of the
law!!
http://home.att.net/~andyross
 
Reply With Quote
 
Aloke Prasad
Guest
Posts: n/a
 
      9th Apr 2004

"Andrew Rossmann" <andysnewsreply@no_junk.comcast.net> wrote in message
news:(E-Mail Removed)...

> In addition to the PrintFile program others posted, you can share the
> printer and then connect to your own share. This is useful if you prefer
> working at a command line or through batch files.
>
> Basically, share the printer from Start/Settings/Printers, then create a
> virtual port with:
> NET USE LPTx \\yourcomputer\printershare (where x is the port number you
> want to use.)


Neat idea!
--
Aloke
----
to reply by e-mail remove 123 and change invalid to com


 
Reply With Quote
 
Andrew Rossmann
Guest
Posts: n/a
 
      10th Apr 2004
In article <cSFdc.2362$(E-Mail Removed)>, aprasad123
@columbus.rr.invalid says...
>
> "Andrew Rossmann" <andysnewsreply@no_junk.comcast.net> wrote in message
> news:(E-Mail Removed)...
>
> > In addition to the PrintFile program others posted, you can share the
> > printer and then connect to your own share. This is useful if you prefer
> > working at a command line or through batch files.
> >
> > Basically, share the printer from Start/Settings/Printers, then create a
> > virtual port with:
> > NET USE LPTx \\yourcomputer\printershare (where x is the port number you
> > want to use.)

>
> Neat idea!


Just a note that for Win 9x/ME, you need to enable File and Printer
sharing in Network settings. For NT/2K/XP, you need to make certain the
Server service is running (NET START SERVER.)

--
If there is a no_junk in my address, please REMOVE it before replying!
All junk mail senders will be prosecuted to the fullest extent of the
law!!
http://home.att.net/~andyross
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COPY /B a.dat LPT1: or USB - How? Aloke Prasad Windows XP Print / Fax 2 13th Apr 2004 10:00 AM
COPY /B a.dat LPT1: or USB - How? Aloke Prasad Windows XP General 3 8th Apr 2004 12:41 PM
COPY [sample.txt] LPT1 stopped working St eve_H Microsoft Windows 2000 CMD Promt 7 26th Feb 2004 06:37 PM
COPY [sample.txt] LPT1 stopped working =?Utf-8?B?U3RldmVfSA==?= Microsoft Windows 2000 2 25th Feb 2004 01:06 PM
XP direct to LPT1 port and a Windows defined printer for LPT1 Windows XP Print / Fax 0 24th Nov 2003 10:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:13 AM.