On 9/20/07, Brad Beyenhof <[EMAIL PROTECTED]> wrote: > Carl Lowenstein wrote: > > On 9/20/07, Brad Beyenhof <[EMAIL PROTECTED]> wrote: > >> Carl Lowenstein wrote: > >>> On 9/20/07, Brad Beyenhof <[EMAIL PROTECTED]> wrote: > >>>> I can't figure out how to get a 3x5 inch option in CentOS's > >>>> "Printer Properties" dialog. > >>> > >>> Print to a 3x5 part of an 8.5x11 sheet. > >> > >> That would be good, but the document I want to print isn't > >> something I can change margins on. I'm trying to print to-do lists > >> from http://simplegtd.com straight from Firefox onto cards. > > > > Can you print to a file? This should give you a PostScript file that > > can be edited by the text editor of your choice to translate and > > rotate as needed to fit on the 8.5x11 sheet in the place that the 3x5 > > card would be when it is run through the printer. > > Aha, looks like that could be the ticket. I just printed to a .ps file, > then fed the .ps to lp and got the doc printed (with large portions > chopped off, of course) on a card.
When you say "large portions chopped off" do you mean that the information that should be on the 3x5 was scaled up to fit the larger page? Maybe "print to file" has an option to scale small images to fit, or not to scale. Print from Adobe Reader has this option. > Now I just need to learn more about PostScript, and which portions of > the file to change so that I can reformat the document properly. Another thought. Do you have the psutils suite? < http://www.tardis.ed.ac.uk/~ajcd/psutils/ > The program pstops will, among other things, put translate, rotate, and scale commands into a PostScript from a command line. Thus eliminating the need for manual editing of the PS. The tradeoff is that the command-line syntax for pstops is not very user-friendly. > Is there any way to trigger a script just by placing a document into a > folder? i.e. Can I print to a file and, by virtue of saving it into a > certain "watched" directory, have the new file's path passed as an > argument to a script? Probably so. This question comes up occasionally in the news group comp.lang.postscript. You might try searching the archives on google/groups. Not sure offhand what the proper search terms would be. carl -- carl lowenstein marine physical lab u.c. san diego [EMAIL PROTECTED] -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
