CUPS - Add a parallel printer connected to serial port?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm trying to add an HP LaserJet 6L printer to CUPS, that is connected to linux printing server via a homemade serial - parallel adapter based on this diagram:
Adding a printer as a serial printer doesn't work and probably will never work.
Is there some way to tell CUPS or Linux that there is a parallel printer connected to this serial port?
linux hardware cups
add a comment |
up vote
0
down vote
favorite
I'm trying to add an HP LaserJet 6L printer to CUPS, that is connected to linux printing server via a homemade serial - parallel adapter based on this diagram:
Adding a printer as a serial printer doesn't work and probably will never work.
Is there some way to tell CUPS or Linux that there is a parallel printer connected to this serial port?
linux hardware cups
1
The HP uses the parallel port as parallel port, i.e. it will require parallel data on D0-D7 (pins 2-9) at the same time. Your homemade cable cannot transfer this data. in fact, I don't see how your cable does anything useful at all. So even if you tell CUPS that the transport is serial, and not parallel (and IIRC transport in CUPS is independent of printer model, anyway), it won't work. Unless you somehow can put the HP LJ 6L in a mode where it behaves like a printer with a serial port (which I've never heard about, but who knows...)
– dirkt
Dec 6 at 15:24
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm trying to add an HP LaserJet 6L printer to CUPS, that is connected to linux printing server via a homemade serial - parallel adapter based on this diagram:
Adding a printer as a serial printer doesn't work and probably will never work.
Is there some way to tell CUPS or Linux that there is a parallel printer connected to this serial port?
linux hardware cups
I'm trying to add an HP LaserJet 6L printer to CUPS, that is connected to linux printing server via a homemade serial - parallel adapter based on this diagram:
Adding a printer as a serial printer doesn't work and probably will never work.
Is there some way to tell CUPS or Linux that there is a parallel printer connected to this serial port?
linux hardware cups
linux hardware cups
asked Dec 6 at 14:17
AnB
31
31
1
The HP uses the parallel port as parallel port, i.e. it will require parallel data on D0-D7 (pins 2-9) at the same time. Your homemade cable cannot transfer this data. in fact, I don't see how your cable does anything useful at all. So even if you tell CUPS that the transport is serial, and not parallel (and IIRC transport in CUPS is independent of printer model, anyway), it won't work. Unless you somehow can put the HP LJ 6L in a mode where it behaves like a printer with a serial port (which I've never heard about, but who knows...)
– dirkt
Dec 6 at 15:24
add a comment |
1
The HP uses the parallel port as parallel port, i.e. it will require parallel data on D0-D7 (pins 2-9) at the same time. Your homemade cable cannot transfer this data. in fact, I don't see how your cable does anything useful at all. So even if you tell CUPS that the transport is serial, and not parallel (and IIRC transport in CUPS is independent of printer model, anyway), it won't work. Unless you somehow can put the HP LJ 6L in a mode where it behaves like a printer with a serial port (which I've never heard about, but who knows...)
– dirkt
Dec 6 at 15:24
1
1
The HP uses the parallel port as parallel port, i.e. it will require parallel data on D0-D7 (pins 2-9) at the same time. Your homemade cable cannot transfer this data. in fact, I don't see how your cable does anything useful at all. So even if you tell CUPS that the transport is serial, and not parallel (and IIRC transport in CUPS is independent of printer model, anyway), it won't work. Unless you somehow can put the HP LJ 6L in a mode where it behaves like a printer with a serial port (which I've never heard about, but who knows...)
– dirkt
Dec 6 at 15:24
The HP uses the parallel port as parallel port, i.e. it will require parallel data on D0-D7 (pins 2-9) at the same time. Your homemade cable cannot transfer this data. in fact, I don't see how your cable does anything useful at all. So even if you tell CUPS that the transport is serial, and not parallel (and IIRC transport in CUPS is independent of printer model, anyway), it won't work. Unless you somehow can put the HP LJ 6L in a mode where it behaves like a printer with a serial port (which I've never heard about, but who knows...)
– dirkt
Dec 6 at 15:24
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
You cannot make a serial <-> parallel adapter by just wires, and that diagram is not of a serial <-> parallel adapter. I think I recognize the diagram: it looks like a DTE-DTE serial cable with one-way hardware flow control, between a 9-pin DTE serial port and a 25-pin DTE serial port.
In other words, the cable is just the kind of oddball one you might expect to use with a serial-connected printer that supports "DTR flow control". The gender of the printer-side connector is not a reliable indication on whether the port is parallel or serial: historically, some serial-connected printers had non-standard pin-outs and required custom cables, sometimes including non-standard connector gender.
(Back in year 1998 or so, I used to have a HP DeskJet 500 printer, which had both serial and parallel ports available. In order to use its serial port, I had to make a cable that I think might have been exactly like your adapter. I soon found out that a parallel port connection was significantly faster than the serial one.)
As @dirkt said, a parallel port requires data transferred 8 bits at a time in a parallel fashion on pins 2-9. A pulse on the STROBE pin (pin 1) is essential for data transfer. Since your cable has pins 1, 4-6, 8 and 9 unconnected in the 25-pin connector, that adapter cannot possibly work as a parallel adapter.
A true serial -> parallel adapter would require a dedicated chip (or a small pile of individual logic gates) that would detect the serial start bit, receive and store in a buffer the 8 data bits until a valid serial stop bit was received, then place all 8 bits on the parallel output lines and pulse the STROBE line to output one character in parallel mode. A truly bi-directional adapter would be even more complicated.
According to its user manual, HP LaserJet 6L has only a parallel port and cannot support serial-port connections at all.
In short, the set-up you're asking about has no chance of working. Since a serial port may have voltages up to +/- 12V and a parallel port only 0 .. +5V, the worst case is that the adapter may burn out some parallel port data lines in the printer side. (However, modern serial ports are unlikely to use the maximum voltages, so the worst-case scenario is not too likely.)
I'd suggest using a USB->parallel adapter on the Linux side instead, but apparently finding a Linux-compatible USB parallel port adapter can be tricky. If the printing server can take add-on cards, you could probably find a parallel-port add-on card for a reasonable price.
add a comment |
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',
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%2f486380%2fcups-add-a-parallel-printer-connected-to-serial-port%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
up vote
0
down vote
accepted
You cannot make a serial <-> parallel adapter by just wires, and that diagram is not of a serial <-> parallel adapter. I think I recognize the diagram: it looks like a DTE-DTE serial cable with one-way hardware flow control, between a 9-pin DTE serial port and a 25-pin DTE serial port.
In other words, the cable is just the kind of oddball one you might expect to use with a serial-connected printer that supports "DTR flow control". The gender of the printer-side connector is not a reliable indication on whether the port is parallel or serial: historically, some serial-connected printers had non-standard pin-outs and required custom cables, sometimes including non-standard connector gender.
(Back in year 1998 or so, I used to have a HP DeskJet 500 printer, which had both serial and parallel ports available. In order to use its serial port, I had to make a cable that I think might have been exactly like your adapter. I soon found out that a parallel port connection was significantly faster than the serial one.)
As @dirkt said, a parallel port requires data transferred 8 bits at a time in a parallel fashion on pins 2-9. A pulse on the STROBE pin (pin 1) is essential for data transfer. Since your cable has pins 1, 4-6, 8 and 9 unconnected in the 25-pin connector, that adapter cannot possibly work as a parallel adapter.
A true serial -> parallel adapter would require a dedicated chip (or a small pile of individual logic gates) that would detect the serial start bit, receive and store in a buffer the 8 data bits until a valid serial stop bit was received, then place all 8 bits on the parallel output lines and pulse the STROBE line to output one character in parallel mode. A truly bi-directional adapter would be even more complicated.
According to its user manual, HP LaserJet 6L has only a parallel port and cannot support serial-port connections at all.
In short, the set-up you're asking about has no chance of working. Since a serial port may have voltages up to +/- 12V and a parallel port only 0 .. +5V, the worst case is that the adapter may burn out some parallel port data lines in the printer side. (However, modern serial ports are unlikely to use the maximum voltages, so the worst-case scenario is not too likely.)
I'd suggest using a USB->parallel adapter on the Linux side instead, but apparently finding a Linux-compatible USB parallel port adapter can be tricky. If the printing server can take add-on cards, you could probably find a parallel-port add-on card for a reasonable price.
add a comment |
up vote
0
down vote
accepted
You cannot make a serial <-> parallel adapter by just wires, and that diagram is not of a serial <-> parallel adapter. I think I recognize the diagram: it looks like a DTE-DTE serial cable with one-way hardware flow control, between a 9-pin DTE serial port and a 25-pin DTE serial port.
In other words, the cable is just the kind of oddball one you might expect to use with a serial-connected printer that supports "DTR flow control". The gender of the printer-side connector is not a reliable indication on whether the port is parallel or serial: historically, some serial-connected printers had non-standard pin-outs and required custom cables, sometimes including non-standard connector gender.
(Back in year 1998 or so, I used to have a HP DeskJet 500 printer, which had both serial and parallel ports available. In order to use its serial port, I had to make a cable that I think might have been exactly like your adapter. I soon found out that a parallel port connection was significantly faster than the serial one.)
As @dirkt said, a parallel port requires data transferred 8 bits at a time in a parallel fashion on pins 2-9. A pulse on the STROBE pin (pin 1) is essential for data transfer. Since your cable has pins 1, 4-6, 8 and 9 unconnected in the 25-pin connector, that adapter cannot possibly work as a parallel adapter.
A true serial -> parallel adapter would require a dedicated chip (or a small pile of individual logic gates) that would detect the serial start bit, receive and store in a buffer the 8 data bits until a valid serial stop bit was received, then place all 8 bits on the parallel output lines and pulse the STROBE line to output one character in parallel mode. A truly bi-directional adapter would be even more complicated.
According to its user manual, HP LaserJet 6L has only a parallel port and cannot support serial-port connections at all.
In short, the set-up you're asking about has no chance of working. Since a serial port may have voltages up to +/- 12V and a parallel port only 0 .. +5V, the worst case is that the adapter may burn out some parallel port data lines in the printer side. (However, modern serial ports are unlikely to use the maximum voltages, so the worst-case scenario is not too likely.)
I'd suggest using a USB->parallel adapter on the Linux side instead, but apparently finding a Linux-compatible USB parallel port adapter can be tricky. If the printing server can take add-on cards, you could probably find a parallel-port add-on card for a reasonable price.
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
You cannot make a serial <-> parallel adapter by just wires, and that diagram is not of a serial <-> parallel adapter. I think I recognize the diagram: it looks like a DTE-DTE serial cable with one-way hardware flow control, between a 9-pin DTE serial port and a 25-pin DTE serial port.
In other words, the cable is just the kind of oddball one you might expect to use with a serial-connected printer that supports "DTR flow control". The gender of the printer-side connector is not a reliable indication on whether the port is parallel or serial: historically, some serial-connected printers had non-standard pin-outs and required custom cables, sometimes including non-standard connector gender.
(Back in year 1998 or so, I used to have a HP DeskJet 500 printer, which had both serial and parallel ports available. In order to use its serial port, I had to make a cable that I think might have been exactly like your adapter. I soon found out that a parallel port connection was significantly faster than the serial one.)
As @dirkt said, a parallel port requires data transferred 8 bits at a time in a parallel fashion on pins 2-9. A pulse on the STROBE pin (pin 1) is essential for data transfer. Since your cable has pins 1, 4-6, 8 and 9 unconnected in the 25-pin connector, that adapter cannot possibly work as a parallel adapter.
A true serial -> parallel adapter would require a dedicated chip (or a small pile of individual logic gates) that would detect the serial start bit, receive and store in a buffer the 8 data bits until a valid serial stop bit was received, then place all 8 bits on the parallel output lines and pulse the STROBE line to output one character in parallel mode. A truly bi-directional adapter would be even more complicated.
According to its user manual, HP LaserJet 6L has only a parallel port and cannot support serial-port connections at all.
In short, the set-up you're asking about has no chance of working. Since a serial port may have voltages up to +/- 12V and a parallel port only 0 .. +5V, the worst case is that the adapter may burn out some parallel port data lines in the printer side. (However, modern serial ports are unlikely to use the maximum voltages, so the worst-case scenario is not too likely.)
I'd suggest using a USB->parallel adapter on the Linux side instead, but apparently finding a Linux-compatible USB parallel port adapter can be tricky. If the printing server can take add-on cards, you could probably find a parallel-port add-on card for a reasonable price.
You cannot make a serial <-> parallel adapter by just wires, and that diagram is not of a serial <-> parallel adapter. I think I recognize the diagram: it looks like a DTE-DTE serial cable with one-way hardware flow control, between a 9-pin DTE serial port and a 25-pin DTE serial port.
In other words, the cable is just the kind of oddball one you might expect to use with a serial-connected printer that supports "DTR flow control". The gender of the printer-side connector is not a reliable indication on whether the port is parallel or serial: historically, some serial-connected printers had non-standard pin-outs and required custom cables, sometimes including non-standard connector gender.
(Back in year 1998 or so, I used to have a HP DeskJet 500 printer, which had both serial and parallel ports available. In order to use its serial port, I had to make a cable that I think might have been exactly like your adapter. I soon found out that a parallel port connection was significantly faster than the serial one.)
As @dirkt said, a parallel port requires data transferred 8 bits at a time in a parallel fashion on pins 2-9. A pulse on the STROBE pin (pin 1) is essential for data transfer. Since your cable has pins 1, 4-6, 8 and 9 unconnected in the 25-pin connector, that adapter cannot possibly work as a parallel adapter.
A true serial -> parallel adapter would require a dedicated chip (or a small pile of individual logic gates) that would detect the serial start bit, receive and store in a buffer the 8 data bits until a valid serial stop bit was received, then place all 8 bits on the parallel output lines and pulse the STROBE line to output one character in parallel mode. A truly bi-directional adapter would be even more complicated.
According to its user manual, HP LaserJet 6L has only a parallel port and cannot support serial-port connections at all.
In short, the set-up you're asking about has no chance of working. Since a serial port may have voltages up to +/- 12V and a parallel port only 0 .. +5V, the worst case is that the adapter may burn out some parallel port data lines in the printer side. (However, modern serial ports are unlikely to use the maximum voltages, so the worst-case scenario is not too likely.)
I'd suggest using a USB->parallel adapter on the Linux side instead, but apparently finding a Linux-compatible USB parallel port adapter can be tricky. If the printing server can take add-on cards, you could probably find a parallel-port add-on card for a reasonable price.
edited Dec 6 at 17:09
answered Dec 6 at 16:59
telcoM
15.5k12143
15.5k12143
add a comment |
add a comment |
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.
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%2funix.stackexchange.com%2fquestions%2f486380%2fcups-add-a-parallel-printer-connected-to-serial-port%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
The HP uses the parallel port as parallel port, i.e. it will require parallel data on D0-D7 (pins 2-9) at the same time. Your homemade cable cannot transfer this data. in fact, I don't see how your cable does anything useful at all. So even if you tell CUPS that the transport is serial, and not parallel (and IIRC transport in CUPS is independent of printer model, anyway), it won't work. Unless you somehow can put the HP LJ 6L in a mode where it behaves like a printer with a serial port (which I've never heard about, but who knows...)
– dirkt
Dec 6 at 15:24