GhostScript print to network printer in silent mode
up vote
2
down vote
favorite
I'm trying to print PDF from command line to network printer in silenta mode.
Unfortunately, Ghost Script opens Windows printer dialog.
I use Windows 2008 R2 Server
.
My command is:
gswin64c.exe -dBATCH -dNOPAUSE -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="%printer%MEasyCoder PC4 (203 dpi) on aino1" "pdf.pdf"
Printer name is: MEasyCoder PC4 (203 dpi) on aino1
and it is network printer attached to AINO1
computer.
Printer dialog looks like:
In printer panel it looks like:
What is the right command line to avoid this dialog and print silently?
pdf printer ghostscript
add a comment |
up vote
2
down vote
favorite
I'm trying to print PDF from command line to network printer in silenta mode.
Unfortunately, Ghost Script opens Windows printer dialog.
I use Windows 2008 R2 Server
.
My command is:
gswin64c.exe -dBATCH -dNOPAUSE -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="%printer%MEasyCoder PC4 (203 dpi) on aino1" "pdf.pdf"
Printer name is: MEasyCoder PC4 (203 dpi) on aino1
and it is network printer attached to AINO1
computer.
Printer dialog looks like:
In printer panel it looks like:
What is the right command line to avoid this dialog and print silently?
pdf printer ghostscript
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I'm trying to print PDF from command line to network printer in silenta mode.
Unfortunately, Ghost Script opens Windows printer dialog.
I use Windows 2008 R2 Server
.
My command is:
gswin64c.exe -dBATCH -dNOPAUSE -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="%printer%MEasyCoder PC4 (203 dpi) on aino1" "pdf.pdf"
Printer name is: MEasyCoder PC4 (203 dpi) on aino1
and it is network printer attached to AINO1
computer.
Printer dialog looks like:
In printer panel it looks like:
What is the right command line to avoid this dialog and print silently?
pdf printer ghostscript
I'm trying to print PDF from command line to network printer in silenta mode.
Unfortunately, Ghost Script opens Windows printer dialog.
I use Windows 2008 R2 Server
.
My command is:
gswin64c.exe -dBATCH -dNOPAUSE -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="%printer%MEasyCoder PC4 (203 dpi) on aino1" "pdf.pdf"
Printer name is: MEasyCoder PC4 (203 dpi) on aino1
and it is network printer attached to AINO1
computer.
Printer dialog looks like:
In printer panel it looks like:
What is the right command line to avoid this dialog and print silently?
pdf printer ghostscript
pdf printer ghostscript
asked Apr 27 '15 at 7:49
Lari13
11113
11113
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
0
down vote
The correct way to print to a network printer in silent mode using GhostScript (gswin32c.exe) is to use \spool and then the full UNC path on sOutput. All parameters are case senitive. Also, be sure to include double quotes.
gswin32c.exe -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="\spool\SRV-SBS01iR-ADVC5030_PS_BW" "C:WindowsTemp~Packlist.pdf"
add a comment |
up vote
0
down vote
I use gsprint, which uses GhostScript. For your example:
gsprint -printer "\ain01MEasyCoder PC4 (203 dpi)" -dPDFFitPage "pdf.pdf"
add a comment |
up vote
-2
down vote
You have to use
%printer%ainoMEasyCoder...
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The correct way to print to a network printer in silent mode using GhostScript (gswin32c.exe) is to use \spool and then the full UNC path on sOutput. All parameters are case senitive. Also, be sure to include double quotes.
gswin32c.exe -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="\spool\SRV-SBS01iR-ADVC5030_PS_BW" "C:WindowsTemp~Packlist.pdf"
add a comment |
up vote
0
down vote
The correct way to print to a network printer in silent mode using GhostScript (gswin32c.exe) is to use \spool and then the full UNC path on sOutput. All parameters are case senitive. Also, be sure to include double quotes.
gswin32c.exe -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="\spool\SRV-SBS01iR-ADVC5030_PS_BW" "C:WindowsTemp~Packlist.pdf"
add a comment |
up vote
0
down vote
up vote
0
down vote
The correct way to print to a network printer in silent mode using GhostScript (gswin32c.exe) is to use \spool and then the full UNC path on sOutput. All parameters are case senitive. Also, be sure to include double quotes.
gswin32c.exe -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="\spool\SRV-SBS01iR-ADVC5030_PS_BW" "C:WindowsTemp~Packlist.pdf"
The correct way to print to a network printer in silent mode using GhostScript (gswin32c.exe) is to use \spool and then the full UNC path on sOutput. All parameters are case senitive. Also, be sure to include double quotes.
gswin32c.exe -dPrinted -dBATCH -dNOPAUSE -dNOSAFER -q -dNumCopies=1 -sDEVICE=mswinpr2 -sOutputFile="\spool\SRV-SBS01iR-ADVC5030_PS_BW" "C:WindowsTemp~Packlist.pdf"
answered May 13 '16 at 8:19
Jan H
1
1
add a comment |
add a comment |
up vote
0
down vote
I use gsprint, which uses GhostScript. For your example:
gsprint -printer "\ain01MEasyCoder PC4 (203 dpi)" -dPDFFitPage "pdf.pdf"
add a comment |
up vote
0
down vote
I use gsprint, which uses GhostScript. For your example:
gsprint -printer "\ain01MEasyCoder PC4 (203 dpi)" -dPDFFitPage "pdf.pdf"
add a comment |
up vote
0
down vote
up vote
0
down vote
I use gsprint, which uses GhostScript. For your example:
gsprint -printer "\ain01MEasyCoder PC4 (203 dpi)" -dPDFFitPage "pdf.pdf"
I use gsprint, which uses GhostScript. For your example:
gsprint -printer "\ain01MEasyCoder PC4 (203 dpi)" -dPDFFitPage "pdf.pdf"
answered Jan 27 '17 at 16:19
Bobort
120215
120215
add a comment |
add a comment |
up vote
-2
down vote
You have to use
%printer%ainoMEasyCoder...
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
add a comment |
up vote
-2
down vote
You have to use
%printer%ainoMEasyCoder...
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
add a comment |
up vote
-2
down vote
up vote
-2
down vote
You have to use
%printer%ainoMEasyCoder...
You have to use
%printer%ainoMEasyCoder...
answered Oct 30 '15 at 8:47
Markus Mohr
1
1
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
add a comment |
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
Can you expand on this? Use it where? And how?
– Moses
Oct 30 '15 at 21:26
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f906575%2fghostscript-print-to-network-printer-in-silent-mode%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown