HTTP POST a print job to a print server
I'm im web development, not network systems, so excuse any misused terminology I'm using.
tldr: how do I connect a usb printer with no integrated print server to a network with a usb print server and then send a print job to it via HTTP?
I need to send an HTTP POST request from an ios app to a discoverable device (i.e., it has a static IP address) on my local network.
Things I'm not concerned with:
- apple air print
- devices connected via usb...sort of
- devices connected via bluetooth
The flow I need to achieve is
ios app >> HTTP POST to 192.168.0.xx:xxxx >> print server >> printer
The problem is that I don't have any printers with an integrated print server, but I have two workarounds:
Plug my usb printer into my computer, spin up a server that listens to local http requests and then prints directly to the usb printer
ios app >> HTTP POST to 192.168.0.xx:xxxx >> localhost server >> usb printer
Plug my usb printer into a print server, plug in the usb print server into my router.
ios app >> HTTP POST to 192.168.0.xx:xxxx >> usb print server >> usb printer
The first is easy, but I do not know if sending an HTTP POST request to a local web server is, as far as the ios app is concerned, the same as sending to a "regular" print server. I understand that IPP is implementing using HTTP, so I'm guessing that web apps can send a print job to a printer's ip address, but I really am not sure.
If that above assumption is true, then I can posting to my local server via HTTP is a viable workaround?
printing http network-printer tcpip
add a comment |
I'm im web development, not network systems, so excuse any misused terminology I'm using.
tldr: how do I connect a usb printer with no integrated print server to a network with a usb print server and then send a print job to it via HTTP?
I need to send an HTTP POST request from an ios app to a discoverable device (i.e., it has a static IP address) on my local network.
Things I'm not concerned with:
- apple air print
- devices connected via usb...sort of
- devices connected via bluetooth
The flow I need to achieve is
ios app >> HTTP POST to 192.168.0.xx:xxxx >> print server >> printer
The problem is that I don't have any printers with an integrated print server, but I have two workarounds:
Plug my usb printer into my computer, spin up a server that listens to local http requests and then prints directly to the usb printer
ios app >> HTTP POST to 192.168.0.xx:xxxx >> localhost server >> usb printer
Plug my usb printer into a print server, plug in the usb print server into my router.
ios app >> HTTP POST to 192.168.0.xx:xxxx >> usb print server >> usb printer
The first is easy, but I do not know if sending an HTTP POST request to a local web server is, as far as the ios app is concerned, the same as sending to a "regular" print server. I understand that IPP is implementing using HTTP, so I'm guessing that web apps can send a print job to a printer's ip address, but I really am not sure.
If that above assumption is true, then I can posting to my local server via HTTP is a viable workaround?
printing http network-printer tcpip
add a comment |
I'm im web development, not network systems, so excuse any misused terminology I'm using.
tldr: how do I connect a usb printer with no integrated print server to a network with a usb print server and then send a print job to it via HTTP?
I need to send an HTTP POST request from an ios app to a discoverable device (i.e., it has a static IP address) on my local network.
Things I'm not concerned with:
- apple air print
- devices connected via usb...sort of
- devices connected via bluetooth
The flow I need to achieve is
ios app >> HTTP POST to 192.168.0.xx:xxxx >> print server >> printer
The problem is that I don't have any printers with an integrated print server, but I have two workarounds:
Plug my usb printer into my computer, spin up a server that listens to local http requests and then prints directly to the usb printer
ios app >> HTTP POST to 192.168.0.xx:xxxx >> localhost server >> usb printer
Plug my usb printer into a print server, plug in the usb print server into my router.
ios app >> HTTP POST to 192.168.0.xx:xxxx >> usb print server >> usb printer
The first is easy, but I do not know if sending an HTTP POST request to a local web server is, as far as the ios app is concerned, the same as sending to a "regular" print server. I understand that IPP is implementing using HTTP, so I'm guessing that web apps can send a print job to a printer's ip address, but I really am not sure.
If that above assumption is true, then I can posting to my local server via HTTP is a viable workaround?
printing http network-printer tcpip
I'm im web development, not network systems, so excuse any misused terminology I'm using.
tldr: how do I connect a usb printer with no integrated print server to a network with a usb print server and then send a print job to it via HTTP?
I need to send an HTTP POST request from an ios app to a discoverable device (i.e., it has a static IP address) on my local network.
Things I'm not concerned with:
- apple air print
- devices connected via usb...sort of
- devices connected via bluetooth
The flow I need to achieve is
ios app >> HTTP POST to 192.168.0.xx:xxxx >> print server >> printer
The problem is that I don't have any printers with an integrated print server, but I have two workarounds:
Plug my usb printer into my computer, spin up a server that listens to local http requests and then prints directly to the usb printer
ios app >> HTTP POST to 192.168.0.xx:xxxx >> localhost server >> usb printer
Plug my usb printer into a print server, plug in the usb print server into my router.
ios app >> HTTP POST to 192.168.0.xx:xxxx >> usb print server >> usb printer
The first is easy, but I do not know if sending an HTTP POST request to a local web server is, as far as the ios app is concerned, the same as sending to a "regular" print server. I understand that IPP is implementing using HTTP, so I'm guessing that web apps can send a print job to a printer's ip address, but I really am not sure.
If that above assumption is true, then I can posting to my local server via HTTP is a viable workaround?
printing http network-printer tcpip
printing http network-printer tcpip
asked Dec 5 at 5:24
Daniel_L
1113
1113
add a comment |
add a comment |
active
oldest
votes
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%2f1380897%2fhttp-post-a-print-job-to-a-print-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1380897%2fhttp-post-a-print-job-to-a-print-server%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