On Sat, 26 Jan 2013, Keith Lofstrom wrote: > CUPS handles the translation from internal Postscript to the native > PJL language as well.
True. But when I bought the LJ5 in 1997 we did not yet have CUPS; I forget the tool we were using then. > The question is what level of Postscript? Shrug. Certainly not the latest. > The reason for the "for" loops is that I can use one copy of the content > (typically inside a "def") and then loop it in X and Y, making tweaks on > the spacing in the loop, not moving stuff around on a screen. If I use > different labels with a different size or pitch, I can adjust scale, > spacing, and offsets with a few parameters. I can use the same geometry > for different contents. For example, here is a script that prints > alternating columns of two different labels on sheets of 5x22 (I have a > lifetime supply): Or, you find the Avery equivalent and use that to define the page layout in LO. After filling in one label, click the box that synchronizes all labele to the first one and you're good to go. > - - - - - - - - - - - - - - - Cut Here - - - - - - - - - - - - - - >oo > Stack languages like Postcript make my head hurt, but this script > just-sorta-evolved from simpler forms. I calibrated the "121.6" and > "36.4" starting with the alleged 72 dpi of the printer and the alleged > 1.685 x 0.5 inch spacing of the labels, then tweaked the numbers until > things were exactly lined up. Now I can use the same spacing for different > label content. Tweaking at the sub-millimeter level is why I like LaTeX. I created a form to use with my optical card reader (OCR) that requires very precise locating and spacing of rows, columns, and rectangles. Then I had the forms printed in two colors (black and red) and they work just fine. > Ah well. Though I live in vi, there is probably an emacs macro for this. It has been written that emacs is the only editor that comes with a built-in operating system. :-) I wrote my dissertation using a line-oriented text editor, TDP (Text and Document Processor) running on an HP-3000. (Printed on an electronic typewriter feeding each page in by hand.) Having lines truncated if I did not press [Return] at the right point, getting out of 'add' mode to 'edit' or 'del' mode permanenly turned me off to line-oriented editors. Gimme' the good ol' page editors emacs and joe and I'm set to work. Rich _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
