Hi Ben, thanks for the try. "f", "ctrl-G" etc. determines how many lines the file has, not the actual line.
As for the 2nd question, I'm stuck. The help for "pexpr-option" refers to "cmdarg" as part of the first step, that is, directing "lpr" to a sort of save-as-file. Now, the help for "cmdarg" reads: "When printing a ps file with 'hardcopy' this is the argument for the 'hardcopy' command. This can be used in 'printexpr'." How? Regards, Walter Quoting Ben Schmidt <[EMAIL PROTECTED]>: > >> How to determine, at which line in, say, a program I'am? > > :f > > or > > CTRL-G > > or > > g CTRL-G > > are the ones I use. > >> How to direct the "hardcopy" command so that a file, say a ps file, is >> created (rather than executing the default lpr command, when on a unix >> plattform)? > > :help pexpr-option > > and change the lpr into something that will move the temp file to a permanent > location, perhaps including promping for it (or call a shell script > that will do > the same or something like that). > > Ben. > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
