Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Raw Data to Printer on Win XP

by dvergin (Monsignor)
on Sep 30, 2004 at 00:21 UTC ( #395190=note: print w/ replies, xml ) Need Help??


in reply to Re: Raw Data to Printer on Win XP
in thread Raw Data to Printer on Win XP

Rapturous, demented gibbering and giggling fills the air...

Success! Okay, let's doc this puppy.

First, I took the trouble to go to

Start / Settings / Printers_and_Faxes / Deskjet500 on US 
    / Printer / Properties / Sharing
And clicked on "Share this Printer" and gave my printer a share name.

Then, at a command prompt (mmm... command prompt, good!), the following did ensue:

>net view \\GatewayM275
Shared resources at \\GatewayM275

Dv's Gateway M275

Share name  Type   Used as  Comment
-------------------------------------------------------------------------------
DJUSB002    Print           DeskJet 500 on USB
Printer     Print           Journal Note Writer
SharedDocs  Disk
The command completed successfully.

>net use LPT1: \\GatewayM275\DJUSB002
The command completed successfully.

>net view \\GatewayM275
Shared resources at \\GatewayM275

Dv's Gateway M275

Share name  Type   Used as  Comment
-------------------------------------------------------------------------------
DJUSB002    Print  LPT1     DeskJet 500 on USB
Printer     Print           Journal Note Writer
SharedDocs  Disk
The command completed successfully.

>echo Hello > LPT1:
And the most beautiful sound did issue forth from my printer. Likewise for:
>print test.txt

Thanks to all who have contributed to this thread. My wife just called me to come home for dinner. I've blown much of the afternoon on this, but I'm outta here!

------------------------------------------------------------
"Perl is a mess and that's good because the
problem space is also a mess.
" - Larry Wall


Comment on Re^2: Raw Data to Printer on Win XP
Re^3: Raw Data to Printer on Win XP
by leriksen (Curate) on Sep 30, 2004 at 02:59 UTC
    OMG - all that to just "DWIM"...

    I'll make sure I give my Linux boxes an extra big hug before I go to bed tonight !!!

    use brain;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://395190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-12-21 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (101 votes), past polls