Printer DLL
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Kanati.
Wrote a printer DLL for blitz... I know Fred said we would get a printer lib in 3.0, but was wondering if anyone wanted a version of the dll for PB (or other dll enabled languages for that matter)... Right now it enumerates printers, opens a printer, closes a printer, you can send plain-jane text, manipulate fonts and font sizes, precision place text on the page, and start and end new pages. It acts a bit like the VB printer object in that it spools everything out before printing.
I ask if this is wanted because it will take a bit of a rewrite to work with "normal" dll enabled languages since blitz uses a poop interface into a dll so dll's have to be written specifically to work with blitz.
If it's wanted (more than just a couple of people I will do a rewrite this
week and release it.)
Kanati
Wrote a printer DLL for blitz... I know Fred said we would get a printer lib in 3.0, but was wondering if anyone wanted a version of the dll for PB (or other dll enabled languages for that matter)... Right now it enumerates printers, opens a printer, closes a printer, you can send plain-jane text, manipulate fonts and font sizes, precision place text on the page, and start and end new pages. It acts a bit like the VB printer object in that it spools everything out before printing.
I ask if this is wanted because it will take a bit of a rewrite to work with "normal" dll enabled languages since blitz uses a poop interface into a dll so dll's have to be written specifically to work with blitz.
If it's wanted (more than just a couple of people I will do a rewrite this
week and release it.)
Kanati
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Ralf.
I have the same opinion like trondoc.
I prefer to have all functions in PUREBASIC itself than to include
a lot of external libs, dlls, etc.
That's why i went away from PROFAN.
So i will wait for PUREBASIC 3.0 .
Edited by - ralf on 19 February 2002 08:23:01
I have the same opinion like trondoc.
I prefer to have all functions in PUREBASIC itself than to include
a lot of external libs, dlls, etc.
That's why i went away from PROFAN.
So i will wait for PUREBASIC 3.0 .
Edited by - ralf on 19 February 2002 08:23:01
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by redacid.
Why would you *need* to change your code when Fred has his own printer lib ready? If you like the "old" one, why not use it further?
Of course it would be much better if all functions are part of the official PB-distribution - for Win, Amiga AND Linux.
regards,
Redacid
---
Only Amiga makes it possible!
Why would you *need* to change your code when Fred has his own printer lib ready? If you like the "old" one, why not use it further?
Of course it would be much better if all functions are part of the official PB-distribution - for Win, Amiga AND Linux.
regards,
Redacid
---
Only Amiga makes it possible!
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by TronDoc.
that's just it.
I would need to
change my code because I
would not like it once Fred
has it implemented because I do
not wish to have to include a bunch
of external files with my programs.
I thought I said this already?
also as others noted; a .dll
is WinDoze specific.
I want my apps
portable.
-jb
Edited by - TronDoc on 19 February 2002 21:51:16
that's just it.
I would need to
change my code because I
would not like it once Fred
has it implemented because I do
not wish to have to include a bunch
of external files with my programs.
I thought I said this already?
also as others noted; a .dll
is WinDoze specific.
I want my apps
portable.
-jb
Edited by - TronDoc on 19 February 2002 21:51:16
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by blue-speed.
http://www.purehilfe.de.vu
is that a new style or why do u format ur post like this ?that's just it.
I would need to
change my code because I
would not like it once Fred
has it implemented because I do
not wish to have to include a bunch
of external files with my programs.
I thought I said this already?
also as others noted; a .dll
is WinDoze specific.
I want my apps
portable.
-jb
Edited by - TronDoc on 19 February 2002 21:51:16
http://www.purehilfe.de.vu
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Kanati.
I think once I have added graphics support for blitz and the printer dll I will go ahead and rewrite it anyway. That way PowerBasic people will be able to use it as well as PureBasic. For that matter, VB and C++ people can use it though I don't know why they would want to.
Kanati
I think once I have added graphics support for blitz and the printer dll I will go ahead and rewrite it anyway. That way PowerBasic people will be able to use it as well as PureBasic. For that matter, VB and C++ people can use it though I don't know why they would want to.

Kanati
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Kanati.
Feel free to do so... yeesh. Ain't like I'm trying to convert anyone. It's a tool like any other. Those that wanna use it will and those that don't can bite me.
Just kidding. If you don't wanna use it, don't. It's going to be a regular old DLL and I'm going to be doing it for the powerbasic peoples, but it will work with purebasic as well... So as a side-benefit, purebasic users can... IF they so choose... use it too.
Kanati
Feel free to do so... yeesh. Ain't like I'm trying to convert anyone. It's a tool like any other. Those that wanna use it will and those that don't can bite me.

Kanati
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm