forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vdsimage.dll incompatible with Windows 98?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Product Support
View previous topic :: View next topic  
Author Message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Jun 25, 2004 9:35 am    Post subject: vdsimage.dll incompatible with Windows 98? Reply with quote

Hi,
as you might have read in the Miscellaneous section of the forum, I was having some trouble with printing a vdsimage.dll generated bitmap at a Windows 98 pc (I constantly received a blank paper).

At first I thought this had something to do with the combination of the dll I was using to send the print job and the target printer. But trying to print the same bitmap when using Windows 98 at my home computer, at which the printing did worked when using Windows XP Pro, resulted in a blank paper too.

The weird thing is that when I open the bitmap which has been generated with Paint, and safe it again, the printing does work! So it has got nothing to do with the print dll (sorry that I kept bothering you about those problems Tommy), but with the vdsimage.dll running under Windows 98.

Now I noticed another thing: the size of the bitmap generated by the vdsimage.dll is 2.269 Kb, and the size of the same bitmap, but then re-saved with Paint is 1.702 Kb. The dots per inch of the bitmaps are different too: the one generated with vdsimage.dll is 102x108, and the re-saved one is 96x96.

The two bitmaps and a test program can be downloaded here: http://vic.vdsworld.com/dump/print.zip. The program called 'printtest.exe' can be used to print the bitmap the same way as my program would - to the default printer without any interference of Windows.

HEeEeEElllP! Wink

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Jun 25, 2004 12:23 pm    Post subject: Reply with quote

Fixed it! Very Happy

This is how I managed to get it working:
1 - Create the image with vdsimage.dll
2 - Use vdsconv.dll to convert the bitmap into a jpg file
3 - Use vdsconv.dll to convert the jpg file back into a bitmap

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sat Jun 26, 2004 4:39 am    Post subject: Re: vdsimage.dll incompatible with Windows 98? Reply with quote

Vic wrote:
Hi,
as you might have read in the Miscellaneous section of the forum, I was having some trouble with printing a vdsimage.dll generated bitmap at a Windows 98 pc (I constantly received a blank paper).

At first I thought this had something to do with the combination of the dll I was using to send the print job and the target printer. But trying to print the same bitmap when using Windows 98 at my home computer, at which the printing did worked when using Windows XP Pro, resulted in a blank paper too.

The weird thing is that when I open the bitmap which has been generated with Paint, and safe it again, the printing does work! So it has got nothing to do with the print dll (sorry that I kept bothering you about those problems Tommy), but with the vdsimage.dll running under Windows 98.

Now I noticed another thing: the size of the bitmap generated by the vdsimage.dll is 2.269 Kb, and the size of the same bitmap, but then re-saved with Paint is 1.702 Kb. The dots per inch of the bitmaps are different too: the one generated with vdsimage.dll is 102x108, and the re-saved one is 96x96.

The two bitmaps and a test program can be downloaded here: http://vic.vdsworld.com/dump/print.zip. The program called 'printtest.exe' can be used to print the bitmap the same way as my program would - to the default printer without any interference of Windows.

HEeEeEElllP! Wink

Vic


Ok let me see if I can help here a little about Windows and it's GDI functions. First of all the vdsimage.dll is prob. trying to save the file at a higher resolution than the Windows paint program will.. Windows Paint can only save a 24bit bitmap while other programs can save 32bit. Also Paint defaults to your video settings for it's DPI which is usaully 96dpi. This sheds a little light on what is actually going on with your printing issues Vic. I am glad that you found another way to do what you wanted to do. There may be other options that I am looking into so others will not have this same issue. So thanks for the info.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 739
Location: The Netherlands

PostPosted: Mon Jul 05, 2004 3:57 am    Post subject: Reply with quote

Hello Vic,

Here finally is the actual printing DLL:

http://www.vdsworld.com/files/vdsprint.zip

It will require the VDSDLL 3 registration code, hopefully it will be useful for other registered
users as well.

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Mon Jul 05, 2004 6:50 am    Post subject: Reply with quote

Hi Tommy, awesome dll Thumbs Up

I'll give it a try at that school as soon as possible, although it probably will work because it looks like the printing problem was caused by the vdsimage.dll.

I'll let you know if the test succeeded Smile

Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Product Support All times are GMT
Page 1 of 1

 
Jump to:  
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 can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group