--- inkscape-0.45.1/inkscape-0.45.1/src/main.cpp 2007-02-20 05:06:36.000000000 +0100 +++ main.cpp 2007-12-15 01:35:42.765625000 +0100 @@ -706,8 +706,15 @@ // save under the name given in the command line sp_repr_save_file(doc->rdoc, (gchar *)fl->data, SP_SVG_NS_URI); } if (sp_global_printer) { - sp_print_document_to_file(doc, sp_global_printer); + if(sp_global_printer[0]) + { + sp_print_document_to_file(doc, sp_global_printer); + } + else + { + sp_print_document(doc, TRUE); + } } if (sp_export_png || sp_export_id || sp_export_area_drawing) { sp_do_export_png(doc);