dcolter
August 26th, 2008, 12:59 PM
Hi,
I'm attempting to print data to a thermal printer as it is received from a measuring device. Each sample is to be printed as a single scan line. As time goes on, the thinking goes, the individual lines will create a meaningful picture. The page length will depend on how many measurements are recorded.
Here's the issue. I'm using the universal print driver. In the .gpd file I've set the paper size feature up like this:
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1728, 1)
*PrintableOrigin: PAIR(0, 0)
}
}
Although I'm sending valid data to the driver, it's sending 1728 <FF>s to
the printer. The printer doesn't see the valid data unless the
*PrintableArea is at least (1728, 5). Then I get the correct output followed
by 4 blank lines.
Any thoughts on the cause?
Thanks in advance.
Dave.
I'm attempting to print data to a thermal printer as it is received from a measuring device. Each sample is to be printed as a single scan line. As time goes on, the thinking goes, the individual lines will create a meaningful picture. The page length will depend on how many measurements are recorded.
Here's the issue. I'm using the universal print driver. In the .gpd file I've set the paper size feature up like this:
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: LETTER
*Option: LETTER
{
*rcNameID: =RCID_DMPAPER_SYSTEM_NAME
*PrintableArea: PAIR(1728, 1)
*PrintableOrigin: PAIR(0, 0)
}
}
Although I'm sending valid data to the driver, it's sending 1728 <FF>s to
the printer. The printer doesn't see the valid data unless the
*PrintableArea is at least (1728, 5). Then I get the correct output followed
by 4 blank lines.
Any thoughts on the cause?
Thanks in advance.
Dave.