Where to start if I want to print to

P

Phillip Gawlowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damjan Rems wrote:
| 1. Linux (CUPS) printers
| 2. Windows printers

1.) The CUPS API documentation
2.) The Windows API documentation

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ "If we wanted more leisure, we'd invent machines that do things less
efficiently." -Calvin's dad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkghZUYACgkQbtAgaoJTgL8JNQCdFW/k+TCH/KmG59oSPkl/ogHd
I4oAn0RG8pd6qaNFseh1MLB66b+6rgZQ
=g6Ak
-----END PGP SIGNATURE-----
 
D

Damjan Rems

Phillip said:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damjan Rems wrote:
| 1. Linux (CUPS) printers
| 2. Windows printers

1.) The CUPS API documentation
2.) The Windows API documentation

Seriously. I thought this would be simplier.

Is there no library which would simplify drawing pixels and fonts and
pictures etc. and send result to printer queue?


by
TheR
 
P

Phillip Gawlowski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damjan Rems wrote:
| Seriously. I thought this would be simplier.
|
| Is there no library which would simplify drawing pixels and fonts and
| pictures etc. and send result to printer queue?

Beats me. My mind-reading powers are in the shop for maintenance at the
moment, so I have no clue what your problem is.

Also, it might be a good idea to use search.yahoo.com to answer your
question? Or this new kid on the block, google.com?

A general question gets a general answer, since more isn't possible
(since, as aforementioned psychic power is not available currently).

- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ "I don't understand this! Not a single part of my horoscope came
true! ... The paper should print Mom's daily predictions. Those sure
come true."
- -Calvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkghgZsACgkQbtAgaoJTgL8LPQCbBlQsInxzIxmbnl4aEVm55GoR
KzsAnRPQANAQE24o5QJMMGT0ySgd2Dls
=qQza
-----END PGP SIGNATURE-----
 
D

Damjan Rems

Phillip said:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Damjan Rems wrote:
| Seriously. I thought this would be simplier.
|
| Is there no library which would simplify drawing pixels and fonts and
| pictures etc. and send result to printer queue?

Beats me. My mind-reading powers are in the shop for maintenance at the
moment, so I have no clue what your problem is.

Also, it might be a good idea to use search.yahoo.com to answer your
question? Or this new kid on the block, google.com?

A general question gets a general answer, since more isn't possible
(since, as aforementioned psychic power is not available currently).

So why do you answer if you are on maintenence.

And no searching friends don't have any goooood answers. At least not on
first few pages.

by
TheR
 
A

Alex Fenton

Damjan said:
1. Linux (CUPS) printers
2. Windows printers

You could look into the cross-platform GUI toolkits, for example wxRuby,
FxRuby, QT or GTK. Some of these should should provide abstractions for
writing to a printer. wxRuby for example provides a variety of classes
which abstract the native printing frameworks on Mac, Linux and Windows:

http://wxruby.rubyforge.org/doc/htmleasyprinting.html (very simple to use)
http://wxruby.rubyforge.org/doc/#printing (full control)

a
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top