Plotting / Printing..

I am acquiring an analog signal via SPI.
I want to keep plotting it and also keep printing it like a graph on a
roll of paper.

Any idea how I should proceed?

Current plots are for viewing and 10 second buffers.
I use gnuplot and a script to generate the image. And display the
image in a QT GUI.

The continuous plot is not that critical. But i really need to print
it smoothly as the data is acquired...
I can go down to like one or two seconds print at a time if not
continuous.
But I cant wait a minute for all the data acquisition first. And then
the printing.

Can CUPS do this?

What is the hardware you will be controlling?

ZubairLK wrote:

I am acquiring an analog signal via SPI.
I want to keep plotting it and also keep printing it like a graph on a
roll of paper.

Any idea how I should proceed?

Current plots are for viewing and 10 second buffers.
I use gnuplot and a script to generate the image. And display the
image in a QT GUI.

The continuous plot is not that critical. But i really need to print
it smoothly as the data is acquired...
I can go down to like one or two seconds print at a time if not
continuous.
But I cant wait a minute for all the data acquisition first. And then
the printing.

Can CUPS do this?

maybe ask on a CUPS related mailing list?

A thermal printer.
pentax pocketjet3.

Hmmm. It has qt/gnuplot/cups and runs on a beagle..

which mailing list does this go to?
:stuck_out_tongue:

I'll try the cups list too.

Hello Zubair,
Sorry for opening this old thread. But I have also encountered with the similar problem and really need a guidance. I am plotting two graphs using pyqtgraph, and then want to export the image and do print (using thermal printer to do it). It does not matter for me whether it will do printings directly when data arrives or after all data will be arrived. I am just keen on whether you had got a clear graph prints.
Was you able to print smooth data (clear graph)?
How had you acquired this?