Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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


In reply to Re^2: Raw Data to Printer on Win XP by dvergin
in thread Raw Data to Printer on Win XP by dvergin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-03-19 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found