VOGONS


Virtual printer

Topic actions

Reply 80 of 150, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Fizzban hasn't posted here for 2 years. What's wrong with ykhwong's CVS?

1+1=10

Reply 81 of 150, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

asitnik, my latest build (Feb.14.2006) is unstable and has some bugs.
If you don't like it, please use the older stable one (Jan.01.30) then copy the necessary fonts from the latest build (or from the internet) into dosbox folder to use printer support.

Reply 82 of 150, by asitnik

User metadata
Rank Newbie
Rank
Newbie

Fair enough, I will try using that build. My one question that remains is where do I find the fonts???
By the way, ykhwong, as far as communicating goes, your English is fine.

Reply 83 of 150, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

on page 2 in this thread there is a fonts.zip.

1+1=10

Reply 84 of 150, by asitnik

User metadata
Rank Newbie
Rank
Newbie

Ok, I found the fonts and it worked on a XP system. I will test next on a 98SE machine. Now, how do I change the default fonts used by the printer?

Reply 85 of 150, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Esc-P command or rename a font file to courier.ttf

1+1=10

Reply 86 of 150, by asitnik

User metadata
Rank Newbie
Rank
Newbie

H-a-l, thanks for your patient support. Please help me with 2 issues:
1- I do not understand these "esc-p" commands: within the dosbox all I get is, after pressing esc, a "\" bar and if afterward I add p (which will only show a "p" on a new line without a prompt) and press enter, i get a message "illegal command: p.". What is the correct usage of these commands?

2- I did rename first the sansserif.ttf and later the roman.ttf font to courier.ttf (which became courier.old, oldcouriet.old, or just old) and restarted dosbox every time, but I still get the same printer output which does not even remotely look like courier (but if I print straight from DOS it's OK with Courier). Did I do anything wrong?

Reply 87 of 150, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

1: ESC-P is what the printing application might send to the printer, not Dosbox command line.

2: Probably another font is the default then, try renaming to the other font names.

1+1=10

Reply 88 of 150, by WBS

User metadata
Rank Newbie
Rank
Newbie

Am I right that your printer patch has not been built into the latest (6.3) DOSBox?
Is there a thread that shows what someone needs to know to build your patch into DOSBox?
I develop 16 bit Foxpro apps, but don't have experience with C or C++. I should be able to follow directions, tho 😉

Reply 89 of 150, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

CVS builds are 'newer' than 0.63.

1+1=10

Reply 90 of 150, by asitnik

User metadata
Rank Newbie
Rank
Newbie

I tried renaming and even deleting the fonts leaving only the "renamed" courier.ttf, or another one. it seems to me that it works only when all fonts are both in the dosbox directory and in the dll directory (if any of them were missing, it would not print or it printed a blank page).

attached is a printout of a pdf output (yes, i used pdfcreator from sourceforge) to show the fonts that print - the only kind of fonts! it is irrelevant which printer i used - whether my brother laser, the hp deskjet, or pdfcreator.

note how the "temp" directory became " emp", and the grey band on the left is the edge of the page. any ideas what can i do?

Reply 91 of 150, by WBS

User metadata
Rank Newbie
Rank
Newbie

Fizzban,
do you have a CVS rollup of your printing patch? A url to your printing CVS? is it available?

Reply 92 of 150, by WBS

User metadata
Rank Newbie
Rank
Newbie

Oops! Fizzban hasn't been around in 2 years?
Ok, I tried Ykhwong's CVS (the one before last, listed as stable) and can't get past the error reported as ".\dll\d3dx9.dll". I'm thinking it's my fault - I'm on a seat managed PC so for those of us in that predicament, I can't install or update anything on this PC.
Ykhwong, is there a CVS version that has your virtual print capability without needing a d3dx9.dll or update? My PC's system32 has a d3d9.dll (I know nothing about directx) - was there a build you made that called it? or is there a conf setting that would not require directX?

Reply 93 of 150, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

The ZIP archive already has d3dx9.dll (in dll directory). Would you extract ALL of the contents from the file?
All of my recent builds require d3dx9.dll because of the existence of direc3d feature from gulikoza.
As I tested, virtual printer feature works fine in both of my two builds (latest one and stable one).

Reply 94 of 150, by WBS

User metadata
Rank Newbie
Rank
Newbie

I did see your d3dx9.dll file but have no way to install it in windows/system32. When you say it is in dll directory, do you mean it is locatable as .\dll\d3dx9.dll? I couldn't figure out the .\dll path which the error message reports.
Our PC's are locked down here, so I must run DOSBox and all of its .dll's out of its own directory.

Now I understand the dependency on direc3d. Admittedly I'm one of those hapless people looking at DOSBox to solve 16-bit application print issues on Windows X64 platform. I admit my focus is not on games but really appreciate your website and all your effort. I was looking at your latest "stable" build.

Could you point your build to d3dx9.dll in the DOSBox directory? Don't know if that would work, but all the other component .dll's work from the DOSBox directory.

Reply 95 of 150, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie

I am also using Windows XP 64bit edition. So I understand that DOSBox could be a nice solution to run dos app/games because there's no NTVDM (16bit emulation).
You don't need to copy d3dx9.dll into windows/system32.
As you see in the archive, you can see the following directories.
'CAPTURE', 'DLL', and 'DOCS'
In DLL directory - one of the directories, there're external library files (eg., d3dx9.dll, sdl.dll), printer fonts, and direct3d pixelshaders.
If DOSBox exists in C:\DOSBOX, for example, DOSBox looks for a file d3dx9.dll in C:\DOSBOX\DLL, not windows/system32 directory.

Reply 96 of 150, by asitnik

User metadata
Rank Newbie
Rank
Newbie

Ykhwong, I am having a problem printing: the fonts, all of which are both in the dll and root folders of dosbox, do not work at all. What I get is some other font, which is way too ugly and is uneven.

I also noticed that if I remove any of the fonts it will not print at all.

Any suggestions?

Attached is a copy of the printout I get.

Reply 97 of 150, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

> I also noticed that if I remove any of the fonts it will not print at all.

Interesting. How can you be sure that it doesn't print white on white?

Reply 98 of 150, by asitnik

User metadata
Rank Newbie
Rank
Newbie

indeed, a very smart answer! just what i needed to hear!
can YOU tell me how to change the colour settings? if not, please stop the wisecracks.

Reply 99 of 150, by dvwjr

User metadata
Rank Member
Rank
Member
asitnik wrote:

indeed, a very smart answer! just what i needed to hear!
can YOU tell me how to change the colour settings? if not, please stop the wisecracks.

I think it's time for you to leave, unhelped...

Change the attitude fast - why should one of the DOSBOX programming team continue to waste his time attempting to help you with something which is NOT part of the core DOSBOX product?

Ingrate.

dvwjr