Sign in with
Sign up | Sign in
Your question

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

Last response: in Computer Peripherals
Share
Anonymous
April 9, 2004 4:18:10 AM

Archived from groups: comp.periphs.printers (More info?)

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

More about : copy dat lpt1 usb

Anonymous
April 9, 2004 4:18:11 AM

Archived from groups: comp.periphs.printers (More info?)

"Aloke Prasad" <aprasad123@columbus.rr.invalid> wrote in message
news:6Zldc.1253$ng1.457@fe2.columbus.rr.com...
> 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
April 9, 2004 4:49:48 AM

Archived from groups: comp.periphs.printers (More info?)

"Aloke Prasad" <aprasad123@columbus.rr.invalid> wrote in message news:<6Zldc.1253$ng1.457@fe2.columbus.rr.com>...
> 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/&gt;, a useful free
utility.

Ther may be other ways, see
<http://www.jmu.edu/computing/helpdesk/selfhelp/capturep...;,
though I'm not sure if this works for USB; I think you have to have
the printer set up as a network printer.
Related resources
Anonymous
April 9, 2004 12:35:18 PM

Archived from groups: comp.periphs.printers (More info?)

Alan wrote:
> "Aloke Prasad" <aprasad123@columbus.rr.invalid> wrote in message
> news:<6Zldc.1253$ng1.457@fe2.columbus.rr.com>...
>> 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/&gt;, a useful free
> utility.
>
> Ther may be other ways, see
>
<http://www.jmu.edu/computing/helpdesk/selfhelp/capturep...
>,
> 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
Anonymous
April 9, 2004 8:26:11 PM

Archived from groups: comp.periphs.printers (More info?)

[This followup was posted to comp.periphs.printers and a copy was sent to
the cited author.]

In article <6Zldc.1253$ng1.457@fe2.columbus.rr.com>, 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
Anonymous
April 10, 2004 12:00:07 AM

Archived from groups: comp.periphs.printers (More info?)

"Quaoar" <quaoar@tenthplanet.net> wrote in message
news:B-ydnQJQds46KevdRVn-jg@comcast.com...
> 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
April 10, 2004 12:23:46 AM

Archived from groups: comp.periphs.printers (More info?)

On Fri, 09 Apr 2004 20:00:07 GMT, in comp.periphs.printers, "Aloke Prasad"
<aprasad123@columbus.rr.invalid> 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

--
xtalsinger@yahoo.com is a valid reply-to address but I don't check it every day.
Anonymous
April 10, 2004 2:56:08 AM

Archived from groups: comp.periphs.printers (More info?)

"Andrew Rossmann" <andysnewsreply@no_junk.comcast.net> wrote in message
news:MPG.1ae0d0f15c14487798997e@news.comcast.giganews.com...

> 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
April 10, 2004 4:36:29 AM

Archived from groups: comp.periphs.printers (More info?)

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
Anonymous
April 10, 2004 11:47:15 AM

Archived from groups: comp.periphs.printers (More info?)

In article <cSFdc.2362$T86.211@fe2.columbus.rr.com>, aprasad123
@columbus.rr.invalid says...
>
> "Andrew Rossmann" <andysnewsreply@no_junk.comcast.net> wrote in message
> news:MPG.1ae0d0f15c14487798997e@news.comcast.giganews.com...
>
> > 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
!