Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Comment on

( #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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (7)
    As of 2014-07-31 04:49 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (244 votes), past polls