vogons - very old games on new systems Last Visit : never :: 2013-5-22 @ 12:08 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox General ::
up Printing in DosBox using USB printer (in command line it works)
Reply with quote Printing in DosBox using USB printer (in command line it works) :: 2008-8-26 @ 11:40 am
poao
Newbie
no avatar
Joined: 2008-08-26
Posts: 3
Hi,

I have an old DOS program that I need to run under Windows XP. I tried first to run the program using windows XP own command line (Run -> cmd) but the program did not run very well (worked partially). In Dosbox the program runs perfectly fine. The only problem left for me is to be able to print from DOSBOX.

I have read a fantastic tutorial about printing from DOS programs under windows xp (http://members.shaw.ca/bsanders/printfromdos.htm). After following the tutorial I am now able to print when I start the program from windows xp command line (but some parts of the program don't work while in dosbox the work fine). The problem is that this tutorial did not help me to print from Dosbox (it's just works when I print form windows command line - when the program is running from dosbox nothing is printed).

Is there any way to fix that ?
By the way, I also tried running dos2usb and it didn't help to get the program print when running from dosbox.

Thanks
Poao
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2008-8-26 @ 12:28 pm
MiniMax
Flatulent member, Janitor
[avatar]
Joined: 2004-01-18
Posts: 5109
Location: Stockholm, Sweden, Europe, Earth Interests: Old games & young women
Check out h-a-l-9000's unofficial DOSBox build:
http://vogons.zetafleet.com/viewtopic.php?t=9306

_________________
DOSBox 0.73 ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Inspiron 9400 | Core Duo T2400 @ 1.83 GHz | GeForce Go 7800 | SONY DVD+-RW DW-Q58A | Win XP Pro/SP2
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Thanks but it's nopt working :: 2008-8-26 @ 08:08 pm
poao
Newbie
no avatar
Joined: 2008-08-26
Posts: 3
Thanks for the quick reply...

I tried the link and it seems to be a little bit better (because now the printer is at least detected) but just before the printer starts to print dosbox crashed (many times I tried).

All combinations did not work. The most successful was the dll's combined with "Parallel Port Passthrough" (the printer was detected) but the program crashed just before printing...

Any thing I can do to fix this ?

Thanks
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Thanks but it's nopt working :: 2008-8-26 @ 08:14 pm
h-a-l-9000
DOSBox Author
no avatar
Joined: 2005-02-23
Posts: 4088
The parallel port passthrough patch does not work with USB printers. You could try the virtual printer part instead.

_________________
1+1=10
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2008-8-26 @ 08:54 pm
poao
Newbie
no avatar
Joined: 2008-08-26
Posts: 3
Thanks for your reply.

I tried the DLL's with "Mega build #3" (contain the virtual printer). Now when I try to print I don't get a message that no printer was detected (this message appeared when I used the official DosBox).
However, the printer does not print and nothing happens. After a few seconds I get a message that everything was fine (which isn't because the printer did not print anything).

Any more suggestions ?

Thanks
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2008-8-26 @ 09:44 pm
h-a-l-9000
DOSBox Author
no avatar
Joined: 2005-02-23
Posts: 4088
Did you add the fonts in the directory and set parallel1=printer? By default it will create a png file in the dosbox directory instead of printing. And maybe you ahve to press ctrl+F2 to "eject" the virtual page.

_________________
1+1=10
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2009-9-01 @ 04:09 pm
blulb
Newbie
no avatar
Joined: 2009-09-01
Posts: 3
Hi,
I got a very old program that can only print on LPT1 and can only be run in DOSBox, running in cmd.exe doesnt't work. Now I downloaded your build (4.1) and set it up, corrected all settings and so on. Now when I try to print from the program (no matter whether virtual or real printer) the DOSBox says Unkown command, skipping and a smiley followed by a number. Am I doing anything wrong? The output pages only consist of a black circle in the upper left corner. The printer is connected via USB, I got no LPT-Port available. Thanks for your help.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2009-9-01 @ 05:02 pm
h-a-l-9000
DOSBox Author
no avatar
Joined: 2005-02-23
Posts: 4088
What if you press Ctrl+F2?

That's not a smiley but a printer control code - how does it look exactly?

_________________
1+1=10
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2009-9-01 @ 07:36 pm
blulb
Newbie
no avatar
Joined: 2009-09-01
Posts: 3
Ctrl + F2 seems to do nothing.
The DOSBox looks like: http://www.bilder-upload.eu/show.php?fi...jB3EZN.jpg
and the output .png looks like http://www.bilder-upload.eu/show.php?fi...Ko6T7d.png
Thanks.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2009-9-01 @ 07:46 pm
h-a-l-9000
DOSBox Author
no avatar
Joined: 2005-02-23
Posts: 4088
What kind of printer does that program expect? I.e. laser printers are not supported. If you have a choice use one that sounds like ESC/P.

_________________
1+1=10
Post new topicThis topic is locked: you cannot edit posts or make replies.
Hidden
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2009-9-01 @ 08:03 pm
blulb
Newbie
no avatar
Joined: 2009-09-01
Posts: 3
Wow thanks! I chose a matrix printer (Very Happy) and now at least the output to a file works! I'm testing output to printer now but that should be no problem Happy
Thanks a lot for your help!
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2010-6-28 @ 09:44 pm
Katherine
Newbie
no avatar
Joined: 2010-06-28
Posts: 2
I have no matrix printer. Is there any way for printing from the DOS BOX into USB Inkjet printer?
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
Reply with quote Re: Printing in DosBox using USB printer (in command line it works) :: 2010-7-18 @ 10:00 pm
Katherine
Newbie
no avatar
Joined: 2010-06-28
Posts: 2
I found a lot of special utilities for support printing text on the modern inkjet and laserjet printers: dos2usb, printfil (already tested), dosprn, dosprint etc.

I downloaded these utilities and evaluated them. At last I choose a dosprn ( http://www.dosprn.com ) utility for me. It printed my documents more or less correctly and it is the most inexpensive between competitors.

I'd installed "DOSBox Mega Build 5" release, adjusted DOSBOX settings for saving LPT traffic into file directly and switched DOSPRN to printing this file automatically.

It is not a magnificent but it works at me at least.
Post new topicThis topic is locked: you cannot edit posts or make replies.
Offline
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
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.