Dave,

I found a few things for you on the net to get you pointed in the right direction. You can reference the following to get your feet wet:

Printer API

Progress reference to Windows API

perl under win32: output ascii data to printer

LXX. Printer functions

I was not able to find anything to specifically reference what you need. However, my approach would be to reference the API documentation for the printer driver, etc. that you are using and attempt to access it by possibly constructing another layer of abstraction which is Perl based. That layer could reference a printer API in W2K.

Here are some W2k specific references:

Print Services

HOWTO: Send Raw Data to a Printer by Using the Win32 API (Q138594)

You're going to have to reference Microsoft's MSDN, and other related resources to get a direct answer. Just keep in mind the direct approach is to find the API(s) which are referencing not only interfacing with the printer but also the graphics as well. You may need to tweak multiple values through some type of set() methods, which the API(s) offer.

I hope that is enough to get you started...

Enjoy! :)

-P0w3rK!d


In reply to Re: Sending a bitmap to a printer with a specific dpi by P0w3rK!d
in thread Sending a bitmap to a printer with a specific dpi by daveh71

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.