Printing multiple copies
Oct. 7th, 2008 05:28 pmHow to get gvim to print multiple copies of something?
In Windows there was a dialog box. In Linux, it just runs printexpr and ends up printing a single copy. I read through the Vim printing documentation, and there wasn't any option for number of copies. What the hell is the point of having a collation option when you don't have a number of copies option?!
Finally went and learned how "printexpr" works. I see, it invokes lpr on the thing. And lpr has number of copies option. So I just need to modify this string so it passes "-# 12" (or however many copies I want) to lpr.
...and it didn't work. It still only printed one.
But it gets crazier than that. I actually tried setting the system printing options to default to printing 12 (actually 8 by that point) copies of something, and it still only printed one.
The only other suggestion I've been able to find on the web was the suggestion that if you're using KDE, you could modify printexpr to use kprinter instead.
Any help, guys?
-Harry
In Windows there was a dialog box. In Linux, it just runs printexpr and ends up printing a single copy. I read through the Vim printing documentation, and there wasn't any option for number of copies. What the hell is the point of having a collation option when you don't have a number of copies option?!
Finally went and learned how "printexpr" works. I see, it invokes lpr on the thing. And lpr has number of copies option. So I just need to modify this string so it passes "-# 12" (or however many copies I want) to lpr.
...and it didn't work. It still only printed one.
But it gets crazier than that. I actually tried setting the system printing options to default to printing 12 (actually 8 by that point) copies of something, and it still only printed one.
The only other suggestion I've been able to find on the web was the suggestion that if you're using KDE, you could modify printexpr to use kprinter instead.
Any help, guys?
-Harry
no subject
Date: 2008-10-08 12:14 am (UTC)When you figure it out, though, let me know--doesn't GNOME have some kind of printing framework?
no subject
Date: 2008-10-08 12:28 am (UTC)