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

G

Guest

Guest
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
 
G

Guest

Guest
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
 

Alan

Distinguished
Mar 31, 2004
839
0
18,980
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/>, 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.
 
G

Guest

Guest
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/>, 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.

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

Q
 
G

Guest

Guest
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
 
G

Guest

Guest
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
 

Dave

Distinguished
Jun 25, 2003
2,727
0
20,780
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.
 
G

Guest

Guest
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
 

ME

Distinguished
Apr 1, 2004
1,746
0
19,780
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
 
G

Guest

Guest
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