VOGONS

Common searches


First post, by sergeyn

User metadata
Rank Newbie
Rank
Newbie

Hello,
on a fresh dosbox install when I do "echo hi > PRN" I get a warning that I can't create file named "PRN", the same thing happens to any other files.
I'm running Vista x64 ultimate, and I mounted a directory fully accessible as drive c:.
Please help!

Thanks,
Sergey.

Reply 1 of 17, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

You can't print to a printer using the official version of DOSBox.

Try CON. Mabye that works.

How To Ask Questions The Smart Way
Make your games work offline

Reply 6 of 17, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well dosbox does really a simple fopen(filename, "wb+");
so if it doesn't work then dosbox doesn't have enough access to that folder.

Water flows down the stream
How to ask questions the smart way!

Reply 7 of 17, by sergeyn

User metadata
Rank Newbie
Rank
Newbie

Log:

DOSBox version 0.72
Copyright 2002-2007 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file C:\Program Files\DOSBox-0.72\do
sbox.conf
MIDI:Opened device:win32
SHELL:Redirect output to PRN
Warning: file creation failed: C:\DOS_C\PRN

Config (standart one, didn't change anything):

[sdl]

fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=original
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

[dosbox]

language=
machine=vga
captures=capture
memsize=16

[render]

frameskip=0
aspect=false
scaler=normal2x

[cpu]

core=auto
cycles=auto
cycleup=500
cycledown=20

[mixer]

nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]

mpu401=intelligent
device=default
config=

[sblaster]

sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]

gus=true
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]

joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true

[serial]

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[dos]

xms=true
ems=true
umb=true
keyboardlayout=none

[ipx]

ipx=false

[autoexec]

Reply 8 of 17, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

don't try to create PRN.
That will never work under windows as that is device.
try
echo hi > test

Water flows down the stream
How to ask questions the smart way!

Reply 11 of 17, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

ah yes. well I can add support for that device to dosbox(1 codeline). That isn't very hard.
However the printing itself won't be possible.

Last edited by Qbix on 2008-08-06, 19:59. Edited 1 time in total.

Water flows down the stream
How to ask questions the smart way!

Reply 13 of 17, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

well I could provide you with a build that allows PRN to be created. As long as you are happy with the fact that you can not print then.

if you need to print then google for h-a-l-9000 dosbox and get his mega build.

Last edited by Qbix on 2008-08-06, 20:03. Edited 1 time in total.

Water flows down the stream
How to ask questions the smart way!

Reply 15 of 17, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

send and email to address on the crew page of dosbox.com. I'll send you a build from there then

Water flows down the stream
How to ask questions the smart way!

Reply 17 of 17, by sergeyn

User metadata
Rank Newbie
Rank
Newbie

Thanks for the awesome build!

It works now!

And I have to say that your response time blew me off my chair!

Though I've found an issue. All combinations of keys including shift, ctrl, and alt seem to be captured by dos-box, and target application doesn't receive them. Anyone knows how to fix this ?

Thanks,
Sergey.