![]() |
2009-01-12
, 03:10
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#32
|
![]() |
2009-01-12
, 03:56
|
|
Posts: 16 |
Thanked: 2 times |
Joined on Jan 2008
@ California, USA
|
#33
|
![]() |
2009-01-12
, 04:34
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#34
|
Cool. These days, printers can probably print a few graphics formats because they can print directly off various memory cards. But don't expect to hand it something like a pdf, doc, html, etc.
![]() |
2009-01-12
, 08:22
|
|
Posts: 291 |
Thanked: 124 times |
Joined on Feb 2006
@ Trier, Germany
|
#35
|
That would be cool. Here's a small modification of your program that adds a few options that work well with my specific printer. If it were just for me, I'd probably remove the host, user, save, and exit (just exit after I click print).
![]() |
2009-01-13
, 17:24
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#36
|
However, this sets a really example, in that it uses a clear-text password. This is a terrible security practice, even on something like the tablet.
![]() |
2012-03-30
, 13:08
|
|
Posts: 361 |
Thanked: 219 times |
Joined on Sep 2010
|
#37
|
Cool. These days, printers can probably print a few graphics formats because they can print directly off various memory cards. But don't expect to hand it something like a pdf, doc, html, etc.
One little annoyance is that two orthogonal options (fast draft, and grayscale) are not presented as orthogonal by the printer driver (.ppd file). This kind of gets in the way of my idea to let the user just specify some number of generic option slots with the associated commands (because I had to insert code logic to combine the two options). I guess it would work if we just exposed all 4 combinations of the two options to the user, even though it's uglier. Even then, without some kind of radio box logic, the user might specify conflicting options. Maybe this is price for being both simple and general (simple, general, and pretty -- choose two).