![]() |
Last Visit : never :: 2013-6-20 @ 07:41 am : Now | |||
FAQ |
Search |
Memberlist |
Usergroups |
|
Register |
Profile |
Messages |
Log in |
|
| Forum Index :: DOSBox Games/Apps :: | |
print spool file disappears
|
|
|---|---|
print spool file disappears :: 2011-6-13 @ 08:18 pm
|
|
|
walter_j Newbie Joined: 2011-06-13 Posts: 4 |
I have a dos app written in clipper 5.2 that uses a windows print spooler (pagescript for clipper 4.2) that prints to a spool file that is then captured by the windows print spool program for print to a windows printer. Everything runs great, a temp spool file is created, but within a few seconds the file disappears. I'm using dosbox .73 under ubuntu 10.04.
Why would the spool file disappear? |
|
|
Re: print spool file disappears :: 2011-6-13 @ 08:38 pm
|
|
|
Jorpho l33t Joined: 2003-02-14 Posts: 2854 Location: Canada |
Because it was programmed to, evidently. You said yourself it was a temp file; why wouldn't it disappear? The original programmer could probably tell you the details.
This isn't really a DOSBox problem unless you can say for certain that it doesn't work this way in authentic DOS. P.S. The current version of DOSBox is 0.74. |
|
|
Re: print spool file disappears :: 2011-6-14 @ 02:17 am
|
|
|
walter_j Newbie Joined: 2011-06-13 Posts: 4 |
In dos (win xp) it stays open until the app closes, so it's a dos box problem. I checked this! |
|
|
Re: print spool file disappears :: 2011-6-14 @ 03:24 am
|
|
|
Jorpho l33t Joined: 2003-02-14 Posts: 2854 Location: Canada |
Whoa there. The XP command prompt is very different from DOS. The program could very well be using some clever technique to delete the file that works in DOS (and DOSBox) but doesn't work under the XP command prompt. |
|
|
Re: print spool file disappears :: 2011-6-14 @ 04:08 am
|
|
|
walter_j Newbie Joined: 2011-06-13 Posts: 4 |
Thats the way pagescript works. It reads the temp file until the clipper app quits. The clipper app actually creates the file. Clipper is an _old_ dos compiler, and therefore it works the way it's supposed to. Only, under linux, the spool file disappears immediately after it's created. Why would dosbox do that? it makes no sense.
The app worked great for many years, until I tried to get it to work under linux/dosbox. Are you a dosbox programmer/dev? If you are, I'd be willing to work with you to sort this out. |
|
|
Re: print spool file disappears :: 2011-6-14 @ 04:14 am
|
|
|
Jorpho l33t Joined: 2003-02-14 Posts: 2854 Location: Canada |
walter_j wrote: Are you a dosbox programmer/dev? If you are, I'd be willing to work with you to sort this out. No, I am not a DOSBox porgrammer/dev, because if I was, I would probably have immediately directed you to the prominent notice regarding the fact that DOSBox is not intended for non-gaming applications. I am surprised this thread hasn't been locked already, actually.
I would think that being "captured by the windows print spool program" would have much to do with the file not getting deleted. Why are you running this under Linux when you say this spooler is supposed to be for Windows? That doesn't make much sense either. Also, as I said, DOSBox 0.74 is the most recent version. Does the problem occur under DOSBox 0.74? Let's start with that. |
|
|
Re: print spool file disappears :: 2011-6-14 @ 07:44 pm
|
|
|
walter_j Newbie Joined: 2011-06-13 Posts: 4 |
Upgraded to .74 but no change. File which should stay open until dos program quits still disapears within seconds. Any devs have an idea whats going on? |
|
|
Re: print spool file disappears :: 2011-6-14 @ 08:35 pm
|
|
|
wd DOSBox Author Joined: 2003-12-03 Posts: 10818 |
Since this is about "should interact with windows spooler" i seriously doubt it works under real dos. |
|
|
|
page 1 of 1
|
|
| All times are GMT |
| Moderate |
|---|
| Quick Reply & Options | |
|---|---|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum |
|
2002-2003 zetafleet.dom.