From 62937222af8e90717314f92465952df931ae3e51 Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Thu, 3 Jun 2010 20:05:17 +0200 Subject: [PATCH] Updated print command --- zathura.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zathura.c b/zathura.c index 57b4eaf..1e78443 100644 --- a/zathura.c +++ b/zathura.c @@ -2620,7 +2620,7 @@ cmd_print(int argc, char** argv) } char* printer = argv[0]; - char* sites = (argc == 2) ? g_strdup(argv[1]) : g_strdup_printf("%i", Zathura.PDF.number_of_pages); + char* sites = (argc == 2) ? g_strdup(argv[1]) : g_strdup_printf("1-%i", Zathura.PDF.number_of_pages); char* print_command = g_strdup_printf(PRINT_COMMAND, printer, sites, Zathura.PDF.file); system(print_command);