Linux Today: Linux News On Internet Time.

More on LinuxToday

Rildo Pragana: Running a GDI printer under Linux -- part 3 - Tools and Techniques

Aug 19, 2000, 21:08 (1 Talkback[s])
(Other stories by Rildo Pragana)


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

[ Thanks to Rildo Pragana for this link. ]

"About two weeks ago I went to a store to buy our monthly food and supplies and I found there a real bargain: a laser printer for under R$ 600, (brazilian "reais". One real is changed for about 0.52 US dollars.) from Samsung, the ML-85G. Usually I walk around from GDI printers, because of the trouble to get them working. But I thought the time arrived when Linux is proliferating around us and I have several customers that want to enter the new wave. I decided then to enter the game, and as a good gambler I was not sure I was going to win, but I bet to try."

"Two alternative schemas caught my attention: (1) simulate a complete hardware environment, so I can trace all accesses to those parallel port pins and get a sequence of events; (2) capture data in real time, using another gadget, or even another faster PC to accumulate the results, while the printing occurs at the normal speed."

"I have tried both approaches with the most appropriate tools I could find and this article shows some of the reasoning and critical issues involved in the acquisition process. The guiding point of my process is capturing a large data collection and then analysing it with the best intelligent tool invented so far: the human brain! Nobody could possibly create something that complex that couldn't be simulated if we know everty detail of the interface and protocols. So don't expect me to explain everything, just patterns of data that will be simulated by another software, the Linux device driver. I actually found that some data with similar properties could be grouped in some meaningful subroutines (that's exactly why subroutines exists: to group similar procedures) and then some revealing detail appear with the time from our bindly gathered data."

Complete Story

Related Stories: