Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

No problem is insoluble. -- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4


computers / comp.periphs.printers / Re: Serial Interface of Laser Printer

SubjectAuthor
* Serial Interface of Laser PrinterCaleb Hensley
+- Re: Serial Interface of Laser PrinterAndreas Kohlbach
+* Re: Serial Interface of Laser PrinterEli the Bearded
|`* Re: Serial Interface of Laser PrinterStuart
| `* Re: Serial Interface of Laser PrinterAndreas Kohlbach
|  `* Re: Serial Interface of Laser PrinterComputer Nerd Kev
|   `- Re: Serial Interface of Laser PrinterStuart
+- Re: Serial Interface of Laser PrinterBennett
`- Re: Serial Interface of Laser PrinterHugh Hood

1
Serial Interface of Laser Printer

<28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=131&group=comp.periphs.printers#131

  copy link   Newsgroups: comp.periphs.printers
X-Received: by 2002:ac8:5805:: with SMTP id g5mr6747362qtg.360.1630039592505;
Thu, 26 Aug 2021 21:46:32 -0700 (PDT)
X-Received: by 2002:a25:ac0d:: with SMTP id w13mr2620199ybi.367.1630039592177;
Thu, 26 Aug 2021 21:46:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.periphs.printers
Date: Thu, 26 Aug 2021 21:46:31 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=207.135.137.206; posting-account=zY8BpwoAAACPesQiS122A31myDnMXufZ
NNTP-Posting-Host: 207.135.137.206
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
Subject: Serial Interface of Laser Printer
From: calhen100@gmail.com (Caleb Hensley)
Injection-Date: Fri, 27 Aug 2021 04:46:32 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Caleb Hensley - Fri, 27 Aug 2021 04:46 UTC

When a device is plugged into the RS-232 port of a laser printer, what utf-8 encoded bytes are sent to the device to request output?

I'm trying to imitate a printer's request for data through a script. I want to programmatically request data from a medical device at home so I can track the data from it from anywhere.

Does anyone have any ideas?

Re: Serial Interface of Laser Printer

<87o89iyebc.fsf@usenet.ankman.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=132&group=comp.periphs.printers#132

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ank@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.periphs.printers
Subject: Re: Serial Interface of Laser Printer
Date: Fri, 27 Aug 2021 13:42:31 -0400
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <87o89iyebc.fsf@usenet.ankman.de>
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="234829dca9d6199aa18b6c75c31f0c93";
logging-data="12628"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eSBYlT33GQyJutZXbS7m4"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:hRjUPXq1Seb89oK0oO3EbnongEQ=
sha1:HJb2AlJJgp5gM8qwDgw8nRrRWKI=
X-No-Archive: Yes
X-Face: '#R~-oJz-_!iXhczPJ;=w1(`5-uQ2$0qHB7KKDV,]VoAC!P?swaa#m|eB<DkOt*XH=~9C[g S^w)b,)1q,{P\7Z3H,N(^m.YKuYM//B{X:PvbDk.|:g:$wVr*3*)[K6F+k\z-s32+oB]YJPy11wuGGz'bQAk~1.b1[;M{^A2@bboIENBB:Wd:<Fm~r7OuiJA1g}7KC-T'>Du+
X-Face-What-Is-It: Capture Bee from Galaga
 by: Andreas Kohlbach - Fri, 27 Aug 2021 17:42 UTC

On Thu, 26 Aug 2021 21:46:31 -0700 (PDT), Caleb Hensley wrote:
>
> When a device is plugged into the RS-232 port of a laser printer, what
> utf-8 encoded bytes are sent to the device to request output?

Depends. I usually send PDF or Postscript files to it. Other formats are
dealt with the software (driver? I use CUPS here). Other than sending
plain text, UTF-8 or other encodings are encapsulated in the PDF. So it
doesn't matter.

> I'm trying to imitate a printer's request for data through a script. I
> want to programmatically request data from a medical device at home so
> I can track the data from it from anywhere.

No idea, what this means. You should be able to extract some (meta?) data
from a file without involving a printer.
--
Andreas

Re: Serial Interface of Laser Printer

<eli$2108271338@qaz.wtf>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=133&group=comp.periphs.printers#133

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.periphs.printers
Subject: Re: Serial Interface of Laser Printer
Date: Fri, 27 Aug 2021 17:50:27 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2108271338@qaz.wtf>
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
Injection-Date: Fri, 27 Aug 2021 17:50:27 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="18951"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
 by: Eli the Bearded - Fri, 27 Aug 2021 17:50 UTC

In comp.periphs.printers, Caleb Hensley <calhen100@gmail.com> wrote:
> When a device is plugged into the RS-232 port of a laser printer, what
> utf-8 encoded bytes are sent to the device to request output?

1. There's not a universal protocol for connection between a computer
and a printer even over a standard port. There may be a standard
way the data is sent, but the contents can vary. As the a trivial
example, the printer could speak Postscript or could speak PCL.
2. RS-232 ? Are you sure? Parallel ports are much more common for
old printers.
3. Printers that use old tech like parallel or RS-232 serial (instead
of USB serial or ethernet/wi-fi connections) are unlikely to
understand UTF-8 at all.

> I'm trying to imitate a printer's request for data through a script.

Use a standard printer interface like lp on Unix or prn on DOS.

> I want to programmatically request data from a medical device at
> home so I can track the data from it from anywhere.

Now I'm thoroughly confused about what you are trying to do.

Elijah
------
thinking maybe this isn't a standalone printer but part of some device

Re: Serial Interface of Laser Printer

<5962b51890Spambin@argonet.co.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=134&group=comp.periphs.printers#134

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.orpheusnet.co.uk!news.orpheusnet.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 27 Aug 2021 14:27:51 -0500
From: Spambin@argonet.co.uk (Stuart)
Subject: Re: Serial Interface of Laser Printer
Newsgroups: comp.periphs.printers
Date: Fri, 27 Aug 2021 20:27:28 +0100
Message-ID: <5962b51890Spambin@argonet.co.uk>
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com> <eli$2108271338@qaz.wtf>
User-Agent: Pluto/3.18 (RISC OS/5.28) NewsHound/v1.50-32
Organization: None
Cache-Post-Path: slave.orpheusnet.co.uk!unknown@81.5.185.111
X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/)
Lines: 15
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-r67KMBfWLm7zc/R9kYXTx1aHEBsII+lNs1Z82F1QNxSVntgZWYk8WJMbgzrtCg10bvsJrebVHNHbZGE!ELAyLoA+06L19nutCoAZeSssd2i8796HUwihf9AHeakZeqY/iPaxEmpl3+zcGqwzTSWl7e+sGes=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1530
 by: Stuart - Fri, 27 Aug 2021 19:27 UTC

In article <eli$2108271338@qaz.wtf>,
Eli the Bearded <*@eli.users.panix.com> wrote:
> 2. RS-232 ? Are you sure? Parallel ports are much more common for
> old printers.

I only recall ever seeing one printer with an RS-232 interface. It was at
work and it was an Epson RX-80. The RS-232 interface was an add on option
available at extra cost from Epson.

--
Stuart Winsor

Tools With A Mission
sending tools across the world
http://www.twam.co.uk/

Re: Serial Interface of Laser Printer

<htWdnbvVtqiA_7T8nZ2dnUU7-KfNnZ2d@giganews.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=135&group=comp.periphs.printers#135

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 27 Aug 2021 17:07:25 -0500
Reply-To: bjNOSPAMprice@cal.berkeley.edu
Subject: Re: Serial Interface of Laser Printer
Newsgroups: comp.periphs.printers
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
From: bjprice@cal.berkeley.edu (Bennett)
Date: Fri, 27 Aug 2021 15:07:23 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Antivirus: Avast (VPS 210827-8, 8/27/2021), Outbound message
X-Antivirus-Status: Clean
Message-ID: <htWdnbvVtqiA_7T8nZ2dnUU7-KfNnZ2d@giganews.com>
Lines: 12
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-eAWYvo4oYgGH0CfoqIl6EYJNd6qTts1YTTRKcgao9rSigBv08E+ALJioC9M2BYcR8zmkz7bOXBS1l/+!b/GfapmYMCl6doZ9/6uW6unEZMRLAK8igCDqMfUSTUaqFcCZ+5KSPw6BbdRWZYAF7dh9WHGO1A==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1989
 by: Bennett - Fri, 27 Aug 2021 22:07 UTC

On 8/26/2021 9:46 PM, Caleb Hensley wrote:
> When a device is plugged into the RS-232 port of a laser printer, what utf-8 encoded bytes are sent to the device to request output?
>
> I'm trying to imitate a printer's request for data through a script. I want to programmatically request data from a medical device at home so I can track the data from it from anywhere.
>
> Does anyone have any ideas?
>
Perhaps if a printer is not actually involved you could redirect the
output to a file.

Assuming a Windows ' cmd DOS box' type myfile.txt > newfile.txt
or something like Print /d:myprinter > newfile.txt

Re: Serial Interface of Laser Printer

<87fsuuxwvs.fsf@usenet.ankman.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=136&group=comp.periphs.printers#136

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ank@spamfence.net (Andreas Kohlbach)
Newsgroups: comp.periphs.printers
Subject: Re: Serial Interface of Laser Printer
Date: Fri, 27 Aug 2021 19:59:03 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <87fsuuxwvs.fsf@usenet.ankman.de>
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
<eli$2108271338@qaz.wtf> <5962b51890Spambin@argonet.co.uk>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: reader02.eternal-september.org; posting-host="88c72c2fc41093f886e80800f323ea95";
logging-data="31768"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KnWC7oo4SVYCtDYRH4ktf"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:qep0SSUTAcPpvJby4k/u2gecE0k=
sha1:6g79lkfywr/acEMuiKl2wacrjgk=
X-No-Archive: Yes
X-Face: '#R~-oJz-_!iXhczPJ;=w1(`5-uQ2$0qHB7KKDV,]VoAC!P?swaa#m|eB<DkOt*XH=~9C[g S^w)b,)1q,{P\7Z3H,N(^m.YKuYM//B{X:PvbDk.|:g:$wVr*3*)[K6F+k\z-s32+oB]YJPy11wuGGz'bQAk~1.b1[;M{^A2@bboIENBB:Wd:<Fm~r7OuiJA1g}7KC-T'>Du+
X-Face-What-Is-It: Capture Bee from Galaga
 by: Andreas Kohlbach - Fri, 27 Aug 2021 23:59 UTC

On Fri, 27 Aug 2021 20:27:28 +0100, Stuart wrote:
>
> In article <eli$2108271338@qaz.wtf>,
> Eli the Bearded <*@eli.users.panix.com> wrote:
>> 2. RS-232 ? Are you sure? Parallel ports are much more common for
>> old printers.
>
> I only recall ever seeing one printer with an RS-232 interface. It was at
> work and it was an Epson RX-80. The RS-232 interface was an add on option
> available at extra cost from Epson.

Yeah. Back in the day Centronics ruled the market.
--
Andreas

Re: Serial Interface of Laser Printer

<sgc6lr$16j2$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=137&group=comp.periphs.printers#137

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!aioe.org!IpaLYmqBCwpSdRoyObBYLg.user.46.165.242.75.POSTED!not-for-mail
From: not@telling.you.invalid (Computer Nerd Kev)
Newsgroups: comp.periphs.printers
Subject: Re: Serial Interface of Laser Printer
Date: Sat, 28 Aug 2021 02:22:52 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <sgc6lr$16j2$1@gioia.aioe.org>
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com> <eli$2108271338@qaz.wtf> <5962b51890Spambin@argonet.co.uk> <87fsuuxwvs.fsf@usenet.ankman.de>
Injection-Info: gioia.aioe.org; logging-data="39522"; posting-host="IpaLYmqBCwpSdRoyObBYLg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Computer Nerd Kev - Sat, 28 Aug 2021 02:22 UTC

Andreas Kohlbach <ank@spamfence.net> wrote:
> On Fri, 27 Aug 2021 20:27:28 +0100, Stuart wrote:
>> In article <eli$2108271338@qaz.wtf>,
>> Eli the Bearded <*@eli.users.panix.com> wrote:
>>> 2. RS-232 ? Are you sure? Parallel ports are much more common for
>>> old printers.
>>
>> I only recall ever seeing one printer with an RS-232 interface. It was at
>> work and it was an Epson RX-80. The RS-232 interface was an add on option
>> available at extra cost from Epson.
>
> Yeah. Back in the day Centronics ruled the market.

Tandy used RS-232 for connecting printers to their Color Computer
line. As such I've got a dot-matrix printer with an RS-232 serial
port next to me now, though like a normal person I hooked it up via
the alternative (not quite IBM PC compatible, I had to build my own
cable) Centronics parallel port instead.

I was going to use it for printing onto carbon paper customs forms
for international postage. But just after I worked out how to
re-ink the ribbon, the Australian post office suddenly announced a
new online submission system. I won't complain too much - that was
the fun part, and the next step of working out the printer commands
to get all the text positioning just right promised a lot of
frustration (the manual's pretty good though).

--
__ __
#_ < |\| |< _#

Re: Serial Interface of Laser Printer

<5962fa6108Spambin@argonet.co.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=138&group=comp.periphs.printers#138

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!news.swapon.de!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.orpheusnet.co.uk!news.orpheusnet.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 28 Aug 2021 03:04:19 -0500
From: Spambin@argonet.co.uk (Stuart)
Subject: Re: Serial Interface of Laser Printer
Newsgroups: comp.periphs.printers
Date: Sat, 28 Aug 2021 09:04:13 +0100
Message-ID: <5962fa6108Spambin@argonet.co.uk>
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com> <eli$2108271338@qaz.wtf> <5962b51890Spambin@argonet.co.uk> <87fsuuxwvs.fsf@usenet.ankman.de> <sgc6lr$16j2$1@gioia.aioe.org>
User-Agent: Pluto/3.18 (RISC OS/5.28) NewsHound/v1.50-32
Organization: None
Cache-Post-Path: slave.orpheusnet.co.uk!unknown@81.5.185.111
X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/)
Lines: 18
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-PjNwFCp6QjAzuNEvwiSNrldE5Wy3vnB/jfX8GLGMPlmn4/UodEBCG46j1Xb6VMKoAqiixa6MFvcjhI1!FU1B/1XA88inuRKTXksO0V/Av+F3asrx8hDjDPgd/r3T4tldzIevWBGJZ1CVDvRYNslwWKWHMCY=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1873
 by: Stuart - Sat, 28 Aug 2021 08:04 UTC

In article <sgc6lr$16j2$1@gioia.aioe.org>,
Computer Nerd Kev <not@telling.you.invalid> wrote:
> I was going to use it for printing onto carbon paper customs forms
> for international postage. But just after I worked out how to
> re-ink the ribbon,

Re-inking ribbons, now that takes me back. We used to buy bottles of
endorsing ink, the stuff used for rubber stamp pads, it was a messy
business but, like ink cartridges today, new ribbons cost more than they
should have done. The first printer I had was a Brother M1009, or a number
very like that, but re-badged by the outfit I bought it from.

--
Stuart Winsor

Tools With A Mission
sending tools across the world
http://www.twam.co.uk/

Re: Serial Interface of Laser Printer

<U6-dnUVmOYOB0Lf8nZ2dnUU7-bfNnZ2d@earthlink.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=139&group=comp.periphs.printers#139

  copy link   Newsgroups: comp.periphs.printers
Path: i2pn2.org!i2pn.org!paganini.bofh.team!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 28 Aug 2021 09:50:04 -0500
Subject: Re: Serial Interface of Laser Printer
Newsgroups: comp.periphs.printers
References: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
From: hughhood@earthlink.net (Hugh Hood)
Date: Sat, 28 Aug 2021 09:50:04 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <28c7b25a-cee1-4c9c-8683-7499961a3cc9n@googlegroups.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <U6-dnUVmOYOB0Lf8nZ2dnUU7-bfNnZ2d@earthlink.com>
Lines: 50
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 208.189.119.71
X-Trace: sv3-ZcicPREeLZgIoa5Zb8F2FTDzkxrtL/eciL+4rZ2gH5zgc2s7wW+4s3d7qFl6MtFJ0tZFtQJO0/lrqiZ!zbaDcGT5/QDDsGQ6b4AkhslgyGMBMsEgZcbeRE0wqp7C3DAFkD/Mdku6IyD4nO3R2UExnpuMVNnB!2QQ+6PEvFgo+FyZgW4XbLZAMg+Ega1cY+5o=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 3071
 by: Hugh Hood - Sat, 28 Aug 2021 14:50 UTC

Caleb,

It is possible to what you are requesting.

I've seen some medical devices (e.g. blood glucose monitors) with a
rudimentary serial port (RX,TX) that allow one to send a query command
at which point they will transmit data that can be received, buffered
and processed.

Unfortunately, most of those use proprietary commands and you must
request that information from the company. Some ingenious 3rd party guys
have used a serial port 'spy' to decipher those commands and have
released their own programs (usually low in cost) to use that
information as well.

As far as printers, I regularly use my HP LaserJet 4050TN with its
built-in RS-232 serial port with a legacy Apple IIgs computer, so it's
not unheard of. In that case, HP understands PJL commands and I can send
those and receive data back from the printer through the serial port.
Likewise, if it put the LaserJet in PostScript mode, I can use
PostScript commands to query the printer and receive data back.

It is doubtful that any medical device, however, will use either PJL or
PostScript.

So, to summarize, I would suggest you first contact the manufacturer's
support people to see if they would provide the information for you. If
not, check for 3rd party solutions and don't forget to check for
open-source software where the proper protocol will be disclosed.

Good luck.

Hugh Hood

On 8/26/2021 11:46 PM, Caleb Hensley wrote:
> When a device is plugged into the RS-232 port of a laser printer,
> what utf-8 encoded bytes are sent to the device to request output?
>
> I'm trying to imitate a printer's request for data through a script.
> I want to programmatically request data from a medical device at home
> so I can track the data from it from anywhere.
>
> Does anyone have any ideas?
>

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor