Windows: printing using the command line
Hi,
I tried everything to print a svg using the command line in windows. I am getting nowhere.
I use inkscapec.exe to get the output/error message, but it doesn't help. "lpr" not recognized, no way to get it done.
All I tried failed.
Is it possible? And if yes, how? What is the correct syntax?
According to http://inkscape.modevia.com/inkscape-man.html#examples
The Syntax is:
inkscape filename.svg -p '| lpr'
I am getting:
C:\Programme\Inkscape>inkscapec d:\example.svg -p '| lpr' Der Befehl "lpr'" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
Meaning that lpr is not recognized. So I tried the printer name (with and without quotes):
C:\Programme\Inkscape>inkscapec d:\example.svg -p '| "Brother MFC-9420CN BR-Script3"'
Der Befehl ""Brother MFC-9420CN BR-Script3"'" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
Meaning it believes that the printer name was a command. I tied it without the '' and without the pipe, I specified printer, rpr, I tried everything I can think of. Is it possible to do it? After 12 hrs of searching and trying using both inkscape and inkscapec, I need your help.
As the files are to be created under windows, the batch that prints should work under windows also, so setting up a linux vm is not an option.
Thank you for your help.
Hauke
Just for the records: It can't be done at the moment. The command line switch "-p" is not supported in the windows version.
It exists, but it dowsn't work because it uses Linux-commands to print '| lpr'
Hauke Kruppa wrote on 13.04.2008 04:37:
Hi,
I tried everything to print a svg using the command line in windows. I am getting nowhere.
I use inkscapec.exe to get the output/error message, but it doesn't help. "lpr" not recognized, no way to get it done.
All I tried failed.
Is it possible? And if yes, how? What is the correct syntax?
According to http://inkscape.modevia.com/inkscape-man.html#examples
The Syntax is:
inkscape filename.svg -p '| lpr'
I am getting:
C:\Programme\Inkscape>inkscapec d:\example.svg -p '| lpr' Der Befehl "lpr'" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
Meaning that lpr is not recognized. So I tried the printer name (with and without quotes):
C:\Programme\Inkscape>inkscapec d:\example.svg -p '| "Brother MFC-9420CN BR-Script3"'
Der Befehl ""Brother MFC-9420CN BR-Script3"'" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
Meaning it believes that the printer name was a command. I tied it without the '' and without the pipe, I specified printer, rpr, I tried everything I can think of. Is it possible to do it? After 12 hrs of searching and trying using both inkscape and inkscapec, I need your help.
As the files are to be created under windows, the batch that prints should work under windows also, so setting up a linux vm is not an option.
Thank you for your help.
Hauke
participants (1)
-
Hauke Kruppa