Re: Controling printers at a detailed level



Thanks to Alexander and Chris. The information you provided was exactly
what I needed.

Cheers!

Dennis

"Dennis" <junk@xxxxxxxxxx> wrote in message
news:#kU6m6YkFHA.1048@xxxxxxxxxxxxxxxxxxxxxxx
> This may be the wrong forum for this question. If there is a better,
please
> advise me.
>
> Years ago, in the pre-Windows days, I wrote code to directly control
> printers using ESC sequences (I believe that's what they were called). I
> could get them to TAB, LF and CR and I could adjust various things like
> fonts and font size. All these printer control codes were generally
vendor
> specific.
>
> Now, I'd like to do something similar within a Win32 Windows program.
I'd
> like to grab control of a laser printer and control page size and line
> height and tab spacing and a raft of things. I want to print labels and
> signs of various sizes and I want a lot of control of the text and imagery
> on them. And I'm a bit puzzled how to start.
>
> Let me say that I've been a Windows C++ Win32 programmer for many years
but
> I've never had to wander into the world of printers before.
>
> I suspect that the modern interface to printers has been abstracted so
that
> all the vendor specific stuff has gone away. If that's true, then
somewhere
> out there are a group of APIs that will allow me to do what I want. I've
> scanned the MSDN library to see what I could find but thus far I've come
up
> with a blank. Can someone give me a gentle push in the right direction?
>
> Many thanks,
>
> Dennis
>
>


.



Relevant Pages

  • Controling printers at a detailed level
    ... Years ago, in the pre-Windows days, I wrote code to directly control ... All these printer control codes were generally vendor ... I'd like to do something similar within a Win32 Windows program. ... I've never had to wander into the world of printers before. ...
    (microsoft.public.win32.programmer.mmedia)
  • Re: Outputting Formatted data to file
    ... The code is using carriage control. ... There was and is no standard way to define or inquire about what files are ... printers and printer drivers, independent of programming languages. ... Perhaps asa, or something begining with f ...
    (comp.lang.fortran)
  • Re: Binary or Ascii Text?
    ... drum printers, ... control chars like ... On mainframes the TTY used was mainly configured to make a cr even ... a lot of punch card readers as program input ...
    (comp.lang.c)
  • Re: Color Value
    ... >> inks do not directly map to the CMYK values in Photoshop. ... > I suspect that the same must be true for all printers. ... > control which inks are used. ... cartridge, then with the good photo cartridge and the deprimed color cartridge. ...
    (comp.periphs.printers)
  • Re: Delegation of OU not working...
    ... as the user will only be a member of the group the next time they ... "Will Dennis" wrote in message ... > I created a global security group, and using the Delegation of Control ...
    (microsoft.public.windows.server.active_directory)

Loading