Talk:Pinstripe/Printer

From Rosetta Code
Revision as of 00:04, 9 July 2011 by rosettacode>Markhobley (Can't printer drivers return the smallest dot size?)

Clarify?

What's a "point"? Smallest possible ink smudge? 1/72 inch? Also there are only two implementations, no consensus request, no notification, how did this task get out of draft? --Ledrug 23:59, 7 July 2011 (UTC)

Yes, the smallest possible ink mark. The printers equivalent of a pixel. Markhobley 08:20, 8 July 2011 (UTC)

I'm not sure why the examples are marked as incorrect. They look ok to me, but I am not an expert on those languages, (and I have not tested them for operation). Markhobley 09:57, 8 July 2011 (UTC)

Because both are using the "point" as in 1/72 of an inch, which decidedly is not the same as a smallest possible ink smudge. It is much more reasonable to do on a modern printer, because determining the smallest dot size of a printer reliably and portably is nontrivial, and printer languages such as PS and PCL exist precisely so people don't need to worry about this kind of things -- but, that's not what your task asks for. --Ledrug 23:24, 8 July 2011 (UTC)
In the tcl comments it reads "Send postscript to default printer, scaled 1 pixel -> 1 point". Isn't that achieving the goal? Or does the code not actually do what the comment says?
I am not familiar with PS or PCL. Do these go down to fractions of a point? Markhobley 23:50, 8 July 2011 (UTC)
Don't printer drivers have the facility to return the smallest dot size or resolution information that we could use to calculate the smallest dot size? Markhobley 00:04, 9 July 2011 (UTC)