Posts: 24
Threads: 6
Joined: May 2023
Reputation:
1
05-30-2023, 09:07 AM
(This post was last modified: 05-30-2023, 09:10 AM by desA.
Edit Reason: clean up text.
)
Progress update
Thus far (working well):
1. Capture text in lumps - per major print subroutine (8 off them) - write to txt. Some display/print depending on menu choices in the design.
2. SHELL - rm old files. SHELL cat file1.txt file2.txt >> file_summary.txt etc
3. SHELL linux convert txt->ps
4. SHELL linux convert ps->pdf
5. Launch pdf readers
*************
Limit/memory bleed in excessive use of SHELL command - scrambles output.
Suspect SHELL buffer limit was exceeded.
Wrote external BASH routine and called that from SHELL instead.
Posts: 68
Threads: 1
Joined: Apr 2023
Reputation:
2
06-06-2023, 06:13 AM
(This post was last modified: 06-06-2023, 06:33 AM by Ultraman.)
Wow. Makes me wish that
Kevin's my solution hadn't been expunged from the Wiki. The one that works in Linux. The one that allows for printing to a printer. With opening a TCP/IP connection to the printer on port 9100 and sending raw data. The one that goes something like this:
Code: (Select All)
| c = _OPENCLIENT("TCP/IP:9100:XXX.XXX.XXX") |
| DIM AS STRING formFeed: formFeed = CHR$(12) |
| IF c THEN |
| PUT c, , yourData$ |
| PUT c, , formFeed |
| CLOSE c |
| END IF |
| |
Schuwatch!
Yes, it's me. Now shut up.