Can I use a parallel port as a CUPS input device?How to enable cups-lpd / port 515?Mount printers at /dev/usb...
Is it ethical to cite a reviewer's papers even if they are rather irrelevant?
Opposite of "Concerto Grosso"?
ISP is not hashing the password I log in with online. Should I take any action?
What does the "titan" monster tag mean?
Should I move out from my current apartment before the contract ends to save more money?
Arrows inside a commutative diagram using tikzcd
Parsing text written the millitext font
Why is gun control associated with the socially liberal Democratic party?
usage of mir gefallen
Would a bit of grease on overhead door cables or bearings cause the springs to break?
What is the theme of analysis?
Do Veracrypt encrypted volumes have any kind of brute force protection?
My parents claim they cannot pay for my college education; what are my options?
Are athletes' college degrees discounted by employers and graduate school admissions?
Can I get a photo of an Ancient Arrow?
Fastest way from 10 to 1 with everyone in between
Why can't we feel the Earth's revolution?
typeid("") != typeid(const char*)
Interview was just a one hour panel. Got an offer the next day; do I accept or is this a red flag?
How effective would a full set of plate armor be against wild animals found in temperate regions (bears, snakes, wolves)?
What publication claimed that Michael Jackson died in a nuclear holocaust?
Loop counter not interpreted as number
Why is it bad to use your whole foot in rock climbing
Has JSON.serialize suppressApexObjectNulls ever worked?
Can I use a parallel port as a CUPS input device?
How to enable cups-lpd / port 515?Mount printers at /dev/usb and still use CUPSHow do I set up a PostScript print queue to share a PCL laser printer and add PS fonts?When would CUPS use TLS?Can I use lirc using the i/r on my rtl2832U dongle as regular or separate i/r port?Sunix Low Level Parallel port driver not workingHow to make the parallel port to work?CUPS - Add a parallel printer connected to serial port?How to tell what CUPS type a printer supportsPlugging USB causes parallel port to hang
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect them to the default printer?
Essentially I want CUPS to listen to /dev/lp0
for incoming jobs.
Reading about this problem a bit, would it be possible for me to capture the PCL data via the parallel port (cat /dev/lp0 > out.pcl
) and then convert it to Postscript using pspc16 or somehow send the PCL to Ghostscript to interpret the PCL and dispatch to CUPS?
linux hardware devices cups parallel-port
bumped to the homepage by Community♦ 58 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect them to the default printer?
Essentially I want CUPS to listen to /dev/lp0
for incoming jobs.
Reading about this problem a bit, would it be possible for me to capture the PCL data via the parallel port (cat /dev/lp0 > out.pcl
) and then convert it to Postscript using pspc16 or somehow send the PCL to Ghostscript to interpret the PCL and dispatch to CUPS?
linux hardware devices cups parallel-port
bumped to the homepage by Community♦ 58 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Not clear on the question, are you saying the hardware has a parallel port, normally you would connect directly to a printer, but you would like to connect to a different machines parallel port and use the CUPS service on that machine?
– Tim
May 24 '12 at 18:10
yes, exactly. I want toservice station -> lp -> linux box w/ CUPS -> spool to non-lp printer
– Evan Carroll
May 24 '12 at 18:13
I don't think this is possible with cups. You would have to write a software listening on the parallel port and sending jobs to cups
– Ulrich Dangel
May 24 '12 at 18:22
3
I think you need a special cable, parallel ports aren't wired symmetrically (I'm not sure a crossover cable would be enough: some pins aren't wired inside the computer). There are two parts to your problem: getting the data from the diagnostics equipment to your computer's parallel port, for which you'll find more expertise on Super User, and routing the data from the parallel port to CUPS, which this site should address best.
– Gilles
May 24 '12 at 23:47
add a comment |
I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect them to the default printer?
Essentially I want CUPS to listen to /dev/lp0
for incoming jobs.
Reading about this problem a bit, would it be possible for me to capture the PCL data via the parallel port (cat /dev/lp0 > out.pcl
) and then convert it to Postscript using pspc16 or somehow send the PCL to Ghostscript to interpret the PCL and dispatch to CUPS?
linux hardware devices cups parallel-port
I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect them to the default printer?
Essentially I want CUPS to listen to /dev/lp0
for incoming jobs.
Reading about this problem a bit, would it be possible for me to capture the PCL data via the parallel port (cat /dev/lp0 > out.pcl
) and then convert it to Postscript using pspc16 or somehow send the PCL to Ghostscript to interpret the PCL and dispatch to CUPS?
linux hardware devices cups parallel-port
linux hardware devices cups parallel-port
edited May 23 '17 at 12:39
Community♦
1
1
asked May 24 '12 at 18:03
Evan CarrollEvan Carroll
6,696124796
6,696124796
bumped to the homepage by Community♦ 58 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 58 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Not clear on the question, are you saying the hardware has a parallel port, normally you would connect directly to a printer, but you would like to connect to a different machines parallel port and use the CUPS service on that machine?
– Tim
May 24 '12 at 18:10
yes, exactly. I want toservice station -> lp -> linux box w/ CUPS -> spool to non-lp printer
– Evan Carroll
May 24 '12 at 18:13
I don't think this is possible with cups. You would have to write a software listening on the parallel port and sending jobs to cups
– Ulrich Dangel
May 24 '12 at 18:22
3
I think you need a special cable, parallel ports aren't wired symmetrically (I'm not sure a crossover cable would be enough: some pins aren't wired inside the computer). There are two parts to your problem: getting the data from the diagnostics equipment to your computer's parallel port, for which you'll find more expertise on Super User, and routing the data from the parallel port to CUPS, which this site should address best.
– Gilles
May 24 '12 at 23:47
add a comment |
Not clear on the question, are you saying the hardware has a parallel port, normally you would connect directly to a printer, but you would like to connect to a different machines parallel port and use the CUPS service on that machine?
– Tim
May 24 '12 at 18:10
yes, exactly. I want toservice station -> lp -> linux box w/ CUPS -> spool to non-lp printer
– Evan Carroll
May 24 '12 at 18:13
I don't think this is possible with cups. You would have to write a software listening on the parallel port and sending jobs to cups
– Ulrich Dangel
May 24 '12 at 18:22
3
I think you need a special cable, parallel ports aren't wired symmetrically (I'm not sure a crossover cable would be enough: some pins aren't wired inside the computer). There are two parts to your problem: getting the data from the diagnostics equipment to your computer's parallel port, for which you'll find more expertise on Super User, and routing the data from the parallel port to CUPS, which this site should address best.
– Gilles
May 24 '12 at 23:47
Not clear on the question, are you saying the hardware has a parallel port, normally you would connect directly to a printer, but you would like to connect to a different machines parallel port and use the CUPS service on that machine?
– Tim
May 24 '12 at 18:10
Not clear on the question, are you saying the hardware has a parallel port, normally you would connect directly to a printer, but you would like to connect to a different machines parallel port and use the CUPS service on that machine?
– Tim
May 24 '12 at 18:10
yes, exactly. I want to
service station -> lp -> linux box w/ CUPS -> spool to non-lp printer
– Evan Carroll
May 24 '12 at 18:13
yes, exactly. I want to
service station -> lp -> linux box w/ CUPS -> spool to non-lp printer
– Evan Carroll
May 24 '12 at 18:13
I don't think this is possible with cups. You would have to write a software listening on the parallel port and sending jobs to cups
– Ulrich Dangel
May 24 '12 at 18:22
I don't think this is possible with cups. You would have to write a software listening on the parallel port and sending jobs to cups
– Ulrich Dangel
May 24 '12 at 18:22
3
3
I think you need a special cable, parallel ports aren't wired symmetrically (I'm not sure a crossover cable would be enough: some pins aren't wired inside the computer). There are two parts to your problem: getting the data from the diagnostics equipment to your computer's parallel port, for which you'll find more expertise on Super User, and routing the data from the parallel port to CUPS, which this site should address best.
– Gilles
May 24 '12 at 23:47
I think you need a special cable, parallel ports aren't wired symmetrically (I'm not sure a crossover cable would be enough: some pins aren't wired inside the computer). There are two parts to your problem: getting the data from the diagnostics equipment to your computer's parallel port, for which you'll find more expertise on Super User, and routing the data from the parallel port to CUPS, which this site should address best.
– Gilles
May 24 '12 at 23:47
add a comment |
1 Answer
1
active
oldest
votes
This is not possible with a PC alone the parallel port is not designed to act as a printer.
You will need some sort of hardware that emulates a printer and then relays the data to the computer.
This page describes the sort of product you need. I don't know anything about that specific company.
Another option option might be a parallel to serial converter and then connect that to your PC.
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
2
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
2
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on/dev/parport*
(the raw parallel port device) instead of/dev/lp*
(specifically made for talking to a printer, not pretending to be one)
– Alan Curry
Aug 23 '12 at 4:37
|
show 3 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f39280%2fcan-i-use-a-parallel-port-as-a-cups-input-device%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
This is not possible with a PC alone the parallel port is not designed to act as a printer.
You will need some sort of hardware that emulates a printer and then relays the data to the computer.
This page describes the sort of product you need. I don't know anything about that specific company.
Another option option might be a parallel to serial converter and then connect that to your PC.
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
2
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
2
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on/dev/parport*
(the raw parallel port device) instead of/dev/lp*
(specifically made for talking to a printer, not pretending to be one)
– Alan Curry
Aug 23 '12 at 4:37
|
show 3 more comments
This is not possible with a PC alone the parallel port is not designed to act as a printer.
You will need some sort of hardware that emulates a printer and then relays the data to the computer.
This page describes the sort of product you need. I don't know anything about that specific company.
Another option option might be a parallel to serial converter and then connect that to your PC.
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
2
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
2
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on/dev/parport*
(the raw parallel port device) instead of/dev/lp*
(specifically made for talking to a printer, not pretending to be one)
– Alan Curry
Aug 23 '12 at 4:37
|
show 3 more comments
This is not possible with a PC alone the parallel port is not designed to act as a printer.
You will need some sort of hardware that emulates a printer and then relays the data to the computer.
This page describes the sort of product you need. I don't know anything about that specific company.
Another option option might be a parallel to serial converter and then connect that to your PC.
This is not possible with a PC alone the parallel port is not designed to act as a printer.
You will need some sort of hardware that emulates a printer and then relays the data to the computer.
This page describes the sort of product you need. I don't know anything about that specific company.
Another option option might be a parallel to serial converter and then connect that to your PC.
edited May 24 '12 at 20:28
answered May 24 '12 at 19:42
CraigCraig
58436
58436
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
2
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
2
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on/dev/parport*
(the raw parallel port device) instead of/dev/lp*
(specifically made for talking to a printer, not pretending to be one)
– Alan Curry
Aug 23 '12 at 4:37
|
show 3 more comments
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
2
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
2
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on/dev/parport*
(the raw parallel port device) instead of/dev/lp*
(specifically made for talking to a printer, not pretending to be one)
– Alan Curry
Aug 23 '12 at 4:37
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Why can't the PC do this in software? There has to be some kind of project that tackled this, the technology is like 40 years old. I mean, you're telling me if I want to turn a Linux box into an LPT printer, I'm SOL? This sounds like a popular request.
– Evan Carroll
May 24 '12 at 19:47
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
Very specific need. Legacy hardware support.
– Tim
May 24 '12 at 19:50
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
I am pretty sure you could do it manually yourself. Just write a software reading the data from the parallel port and process it.
– Ulrich Dangel
May 24 '12 at 19:55
2
2
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
An adequate cable and some userspace software to read the data from the parallel port should be all you need. You might need to hack your own software, though.
– Renan
Jun 24 '12 at 3:09
2
2
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on
/dev/parport*
(the raw parallel port device) instead of /dev/lp*
(specifically made for talking to a printer, not pretending to be one)– Alan Curry
Aug 23 '12 at 4:37
For the cable, see Laplink (null-printer) cable. For the software... I don't know but you will probably be operating on
/dev/parport*
(the raw parallel port device) instead of /dev/lp*
(specifically made for talking to a printer, not pretending to be one)– Alan Curry
Aug 23 '12 at 4:37
|
show 3 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f39280%2fcan-i-use-a-parallel-port-as-a-cups-input-device%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
Not clear on the question, are you saying the hardware has a parallel port, normally you would connect directly to a printer, but you would like to connect to a different machines parallel port and use the CUPS service on that machine?
– Tim
May 24 '12 at 18:10
yes, exactly. I want to
service station -> lp -> linux box w/ CUPS -> spool to non-lp printer
– Evan Carroll
May 24 '12 at 18:13
I don't think this is possible with cups. You would have to write a software listening on the parallel port and sending jobs to cups
– Ulrich Dangel
May 24 '12 at 18:22
3
I think you need a special cable, parallel ports aren't wired symmetrically (I'm not sure a crossover cable would be enough: some pins aren't wired inside the computer). There are two parts to your problem: getting the data from the diagnostics equipment to your computer's parallel port, for which you'll find more expertise on Super User, and routing the data from the parallel port to CUPS, which this site should address best.
– Gilles
May 24 '12 at 23:47