1. Printing in Win9x

Does Win9x have its own print engine we can access, or do we have to write
our own?

For instance, I'd like to print formatted letters, etc., from a EUWin
proggie. Easy? Difficult? Impossible?

Thanks!
ck

new topic     » topic index » view message » categorize

2. Re: Printing in Win9x

C. K. Lester wondered:

> Does Win9x have its own print engine we can
> access, or do we have to write our own?

Yes. When you use the print dialog, you get access to the printer's device
context, so you can write to it with the same sort of commands you would use
in an ordinary window. The unreleased version of Llama has rudimentary
printer support, and also creates PostScript files for Linux.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

3. Re: Printing in Win9x

Is this how other Windows apps (such as Microsoft Word) print... writing to
the device? Or do you think it uses its own printing code?

>C. K. Lester axed:
>
>> Does Win9x have its own print engine we can
>> access, or do we have to write our own?
>
>Yes. When you use the print dialog, you get access to the printer's device
>context, so you can write to it with the same sort of commands you would use
>in an ordinary window.
>
>-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

4. Re: Printing in Win9x

C. K. Lester wondered:

> Is this how other Windows apps (such as Microsoft Word)
> print... writing to the device? Or do you think it uses
> its own printing code?

If you are asking whether Word has specialized code that knows how to write
to each printer, the answer is no. They use the same device drivers that the
rest of us have to. There are a couple of other calls, such as
StartDoc/StartPage and EndPage/EndDoc. Other than that, the calls are the
same that you would be making to write to a window.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu