Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unimplemented: opx.printer #340

Open
tomsci opened this issue Sep 1, 2024 · 9 comments
Open

Unimplemented: opx.printer #340

tomsci opened this issue Sep 1, 2024 · 9 comments
Labels
enhancement New feature or request facerake Unimplemented OPL opcode

Comments

@tomsci
Copy link
Collaborator

tomsci commented Sep 1, 2024

Eg https://archive.org/download/3-libjune-05/3LIBJUNE05.iso/library%2Fepocmisc%2Fatmos5%2Fatmos522.SIS

Print operations are unlikely to ever be supported, unless someone wants to send me a working psion5 compatible printer to test with...

@tomsci tomsci added enhancement New feature or request facerake Unimplemented OPL opcode labels Sep 1, 2024
@jbmorley
Copy link
Collaborator

jbmorley commented Sep 1, 2024

I wonder if it would help to stub this out?

@kapfab
Copy link

kapfab commented Sep 1, 2024

Were there many third-party OPL apps that supported printing? A few banking apps maybe?

@jbmorley
Copy link
Collaborator

jbmorley commented Sep 1, 2024

Good question. I've no clue at this point. I'm currently stuck in the middle of a refactor of the software index importer, but as soon as I've done that I'm going to start pulling out information about which OPXs are used, etc.

@tomsci
Copy link
Collaborator Author

tomsci commented Sep 2, 2024

Were there many third-party OPL apps that supported printing? A few banking apps maybe?

I think this is the first one I've come across, and printers weren't that common hooked up to Psions in the first place I don't think.

I wonder if it would help to stub this out?

I stubbed out ResetPrinting() which was enough to get atmos to at least not crash when showing the menu.

@jbmorley
Copy link
Collaborator

jbmorley commented Sep 2, 2024

You know, if we've got no printing to reset, it sounds a lot like you've fully implemented ResetPrinting().

@kapfab
Copy link

kapfab commented Sep 2, 2024

I think this is the first one I've come across, and printers weren't that common hooked up to Psions in the first place I don't think.

Well, Psions came with Canon Bubblejet, HP Deskjet and LaserJet drivers and there were third-party PCL and Postscript drivers so that made quite a lot of printers compatible. And later came PDFPrinter to print as PDF. And printing was also possible via PC (PsiWin / plptools).
However, I can't remember me printing with third-party apps, only Psion's stock apps.

@jbmorley
Copy link
Collaborator

jbmorley commented Sep 2, 2024

PDFPrinter would be interesting as on iOS we could actually use that to bring up a print screen.

@kapfab Do you remember how the PDF stuff actually worked under the hood and how the platform provided support for it (assuming it did)?

@kapfab
Copy link

kapfab commented Sep 2, 2024

It was a specific printer driver developed by the same author as PDF+, he reimplemented the whole PDF generation stack, translating the printing instructions into a PDF, directly on the Psion.
The printing stack in Opolua (if you ever decide to implement it) should also be independent from any driver and translate the printer.opx configuration and drawing calls into a PDF (or something else, but PDF seems the most practical and cross-platform option IMHO).

@jbmorley
Copy link
Collaborator

jbmorley commented Sep 3, 2024

Yeah. That makes sense. I imagine we'd have to do something from scratch if we went that way. Oh well, not for today, that's for sure. 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request facerake Unimplemented OPL opcode
Projects
None yet
Development

No branches or pull requests

3 participants