I'd like some advice on the feasibility of a project.
I'd like to build a live code based print server. The server would accept RAW print files on port 9100 and write them to disk. The user would be shown a list of print files that are stored, and then have the ability to select one, and print it, at which point the stored Raw file would be sent to the actual printer by the stack and the stored file would be deleted. The stack won't be doing any kind of modification or processing of the data, just holding it until a user wants to send it.
This seems like it should be possible using the socket functions, but I don't know anything about the RAW printing protocol. I know I need to use the read from socket command, but how will I know how long to read for? Different incoming jobs will be different sizes.
I was hoping for an opinion on whether such a program is feasible, and any other general advice that anyone might have.
Print Server
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Print Server
Probably feasible, but probably a lot of work relative to what I'd imagine is a plethora of free software for that. What OS is the server running?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Print Server
Windows or Linux, I'm not entirely sure yet. I imagine a lot of Livecode projects that people do are also available elsewhere, some free.
I plan to put my own twist on it.
I also found some Python code for this kind of thing and if worst comes to worst I could just configure Livecode as a front end for the Python script.
I just wondered if doing in all in Livecode would be relatively simple, or way over my head.
I plan to put my own twist on it.
I also found some Python code for this kind of thing and if worst comes to worst I could just configure Livecode as a front end for the Python script.
I just wondered if doing in all in Livecode would be relatively simple, or way over my head.
