How to print image file in windows7 using command line LPR
I have image file "test_image.png" and I ran this command on windows7 (64bit)
lpr -S <ipv4 address> -P "GodexG500" "test_image.png"
This command prints the image raw content which is not in base64 format. Let me know how would I do this so that actual image will print using above mentioned "LPR" command.
windows command-line powershell printing lpr
add a comment |
I have image file "test_image.png" and I ran this command on windows7 (64bit)
lpr -S <ipv4 address> -P "GodexG500" "test_image.png"
This command prints the image raw content which is not in base64 format. Let me know how would I do this so that actual image will print using above mentioned "LPR" command.
windows command-line powershell printing lpr
1
i thot you needed to use-ol
[lowercase letter O, lowercase letter L] to print binary files with LPR.
– Lee_Dailey
Jan 30 at 8:57
@Lee_Dailey: This doesn't work. I have tried this. Job is even not visible into print queue in windows. Let me know if there is any other option to print binary files using command prompt in windows
– Sunny Chaudhari
Feb 1 at 6:53
to the best of my knowledge, there is not any such thing built into windows. you will need to install an application to do that.
– Lee_Dailey
Feb 1 at 7:25
which application ?
– Sunny Chaudhari
Feb 2 at 4:32
a quick net search forcommand line image print
brought up several mentions ofirfanview
. it seems to have a/print
cli option =/print="Name" - print input image to specific printer and close IrfanView
. plus, this shows up = windows - command line tool for print picture? - Stack Overflow — stackoverflow.com/questions/2301101/…
– Lee_Dailey
Feb 2 at 4:46
add a comment |
I have image file "test_image.png" and I ran this command on windows7 (64bit)
lpr -S <ipv4 address> -P "GodexG500" "test_image.png"
This command prints the image raw content which is not in base64 format. Let me know how would I do this so that actual image will print using above mentioned "LPR" command.
windows command-line powershell printing lpr
I have image file "test_image.png" and I ran this command on windows7 (64bit)
lpr -S <ipv4 address> -P "GodexG500" "test_image.png"
This command prints the image raw content which is not in base64 format. Let me know how would I do this so that actual image will print using above mentioned "LPR" command.
windows command-line powershell printing lpr
windows command-line powershell printing lpr
asked Jan 30 at 4:31
Sunny ChaudhariSunny Chaudhari
1
1
1
i thot you needed to use-ol
[lowercase letter O, lowercase letter L] to print binary files with LPR.
– Lee_Dailey
Jan 30 at 8:57
@Lee_Dailey: This doesn't work. I have tried this. Job is even not visible into print queue in windows. Let me know if there is any other option to print binary files using command prompt in windows
– Sunny Chaudhari
Feb 1 at 6:53
to the best of my knowledge, there is not any such thing built into windows. you will need to install an application to do that.
– Lee_Dailey
Feb 1 at 7:25
which application ?
– Sunny Chaudhari
Feb 2 at 4:32
a quick net search forcommand line image print
brought up several mentions ofirfanview
. it seems to have a/print
cli option =/print="Name" - print input image to specific printer and close IrfanView
. plus, this shows up = windows - command line tool for print picture? - Stack Overflow — stackoverflow.com/questions/2301101/…
– Lee_Dailey
Feb 2 at 4:46
add a comment |
1
i thot you needed to use-ol
[lowercase letter O, lowercase letter L] to print binary files with LPR.
– Lee_Dailey
Jan 30 at 8:57
@Lee_Dailey: This doesn't work. I have tried this. Job is even not visible into print queue in windows. Let me know if there is any other option to print binary files using command prompt in windows
– Sunny Chaudhari
Feb 1 at 6:53
to the best of my knowledge, there is not any such thing built into windows. you will need to install an application to do that.
– Lee_Dailey
Feb 1 at 7:25
which application ?
– Sunny Chaudhari
Feb 2 at 4:32
a quick net search forcommand line image print
brought up several mentions ofirfanview
. it seems to have a/print
cli option =/print="Name" - print input image to specific printer and close IrfanView
. plus, this shows up = windows - command line tool for print picture? - Stack Overflow — stackoverflow.com/questions/2301101/…
– Lee_Dailey
Feb 2 at 4:46
1
1
i thot you needed to use
-ol
[lowercase letter O, lowercase letter L] to print binary files with LPR.– Lee_Dailey
Jan 30 at 8:57
i thot you needed to use
-ol
[lowercase letter O, lowercase letter L] to print binary files with LPR.– Lee_Dailey
Jan 30 at 8:57
@Lee_Dailey: This doesn't work. I have tried this. Job is even not visible into print queue in windows. Let me know if there is any other option to print binary files using command prompt in windows
– Sunny Chaudhari
Feb 1 at 6:53
@Lee_Dailey: This doesn't work. I have tried this. Job is even not visible into print queue in windows. Let me know if there is any other option to print binary files using command prompt in windows
– Sunny Chaudhari
Feb 1 at 6:53
to the best of my knowledge, there is not any such thing built into windows. you will need to install an application to do that.
– Lee_Dailey
Feb 1 at 7:25
to the best of my knowledge, there is not any such thing built into windows. you will need to install an application to do that.
– Lee_Dailey
Feb 1 at 7:25
which application ?
– Sunny Chaudhari
Feb 2 at 4:32
which application ?
– Sunny Chaudhari
Feb 2 at 4:32
a quick net search for
command line image print
brought up several mentions of irfanview
. it seems to have a /print
cli option = /print="Name" - print input image to specific printer and close IrfanView
. plus, this shows up = windows - command line tool for print picture? - Stack Overflow — stackoverflow.com/questions/2301101/…– Lee_Dailey
Feb 2 at 4:46
a quick net search for
command line image print
brought up several mentions of irfanview
. it seems to have a /print
cli option = /print="Name" - print input image to specific printer and close IrfanView
. plus, this shows up = windows - command line tool for print picture? - Stack Overflow — stackoverflow.com/questions/2301101/…– Lee_Dailey
Feb 2 at 4:46
add a comment |
1 Answer
1
active
oldest
votes
Finally I found the way, and it works perfectly fine with windows machine
First we need to install inrfan_view application from here irfanview.com and then run this command in windows
& 'C:Program FilesIrfanViewi_view64.exe' .test_image.png /print
(Note: Make sure when you print make print page setup in IrfanView application and choose "Stretch to page" or "Best fit to page" radio button as per your requirement)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f1399939%2fhow-to-print-image-file-in-windows7-using-command-line-lpr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Finally I found the way, and it works perfectly fine with windows machine
First we need to install inrfan_view application from here irfanview.com and then run this command in windows
& 'C:Program FilesIrfanViewi_view64.exe' .test_image.png /print
(Note: Make sure when you print make print page setup in IrfanView application and choose "Stretch to page" or "Best fit to page" radio button as per your requirement)
add a comment |
Finally I found the way, and it works perfectly fine with windows machine
First we need to install inrfan_view application from here irfanview.com and then run this command in windows
& 'C:Program FilesIrfanViewi_view64.exe' .test_image.png /print
(Note: Make sure when you print make print page setup in IrfanView application and choose "Stretch to page" or "Best fit to page" radio button as per your requirement)
add a comment |
Finally I found the way, and it works perfectly fine with windows machine
First we need to install inrfan_view application from here irfanview.com and then run this command in windows
& 'C:Program FilesIrfanViewi_view64.exe' .test_image.png /print
(Note: Make sure when you print make print page setup in IrfanView application and choose "Stretch to page" or "Best fit to page" radio button as per your requirement)
Finally I found the way, and it works perfectly fine with windows machine
First we need to install inrfan_view application from here irfanview.com and then run this command in windows
& 'C:Program FilesIrfanViewi_view64.exe' .test_image.png /print
(Note: Make sure when you print make print page setup in IrfanView application and choose "Stretch to page" or "Best fit to page" radio button as per your requirement)
answered Feb 4 at 3:55
Sunny ChaudhariSunny Chaudhari
1
1
add a comment |
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.
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%2f1399939%2fhow-to-print-image-file-in-windows7-using-command-line-lpr%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
1
i thot you needed to use
-ol
[lowercase letter O, lowercase letter L] to print binary files with LPR.– Lee_Dailey
Jan 30 at 8:57
@Lee_Dailey: This doesn't work. I have tried this. Job is even not visible into print queue in windows. Let me know if there is any other option to print binary files using command prompt in windows
– Sunny Chaudhari
Feb 1 at 6:53
to the best of my knowledge, there is not any such thing built into windows. you will need to install an application to do that.
– Lee_Dailey
Feb 1 at 7:25
which application ?
– Sunny Chaudhari
Feb 2 at 4:32
a quick net search for
command line image print
brought up several mentions ofirfanview
. it seems to have a/print
cli option =/print="Name" - print input image to specific printer and close IrfanView
. plus, this shows up = windows - command line tool for print picture? - Stack Overflow — stackoverflow.com/questions/2301101/…– Lee_Dailey
Feb 2 at 4:46