Colour pinstripe/Printer: Difference between revisions

From Rosetta Code
Content added Content deleted
(a single page and continuous roll stationery)
Line 1: Line 1:
{{draft task}}
{{draft task}}


The task is to create 1 pixel wide colour pinstripes across the width of the colour graphics printer. The pinstripes should alternate between each individual cartridge ink and ink pair and black and white pinstripes should be included. A typical pinstripe sequence woud be black, red, green, blue, magenta,cyan, yellow, white.
The task is to create 1 pixel wide colour vertical pinstripes with a sufficient number of pinstripes to span the entire width of the colour graphics printer. The pinstripes should alternate between each individual cartridge ink and ink pair and black and white pinstripes should be included. A typical pinstripe sequence woud be black, red, green, blue, magenta,cyan, yellow, white.


After the first inch of printing, we switch to a wider 2 pixel wide pinstripe pattern. and to 3 pixel wide for the next inch, and then 4 pixels wide.
After the first inch of printing, we switch to a wider 2 pixel wide vertical pinstripe pattern. and to 3 pixel wide vertical for the next inch, and then 4 pixel wide, etc. This trend continues for the entire length of the page (or for 12 inches of run length in the case of a printer using continuous roll stationery). After printing the test pattern the page is ejected (or the test pattern is rolled clear of the printer enclosure, in the case of continuous roll printers).

We continue to increate the pinstripe width down the page before finally, the page is ejected.


[[Category:Test card]]
[[Category:Test card]]

Revision as of 11:36, 8 June 2011

Colour pinstripe/Printer is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to create 1 pixel wide colour vertical pinstripes with a sufficient number of pinstripes to span the entire width of the colour graphics printer. The pinstripes should alternate between each individual cartridge ink and ink pair and black and white pinstripes should be included. A typical pinstripe sequence woud be black, red, green, blue, magenta,cyan, yellow, white.

After the first inch of printing, we switch to a wider 2 pixel wide vertical pinstripe pattern. and to 3 pixel wide vertical for the next inch, and then 4 pixel wide, etc. This trend continues for the entire length of the page (or for 12 inches of run length in the case of a printer using continuous roll stationery). After printing the test pattern the page is ejected (or the test pattern is rolled clear of the printer enclosure, in the case of continuous roll printers).