Does BlitzPlus allow you to print to a printer?

BlitzPlus Forums/BlitzPlus Programming/Does BlitzPlus allow you to print to a printer?

Chroma(Posted 2004) [#1]
I sorely need to be able to print out documents. Is there a command to print?


Eikon(Posted 2004) [#2]
You could try one of Kanati's solutions:
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=kanati02152002021704&comments=no
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=kanati886902282004191030&comments=no
http://www.blitzcoder.com/cgi-bin/showcase/showcase_showentry.pl?id=kanati02182003222427&comments=no

or ExecFile applications that have print switches:
ExecFile SystemProperty("windowsdir") + " mspaint.exe /P filename.bmp"
ExecFile SystemProperty("windowsdir") + " notepad.exe /P document.txt"



Cold Harbour(Posted 2004) [#3]
There’s also the possibility of doing a Purebasic printer dll. I’m learning Purebasic at the moment and I’ll have a go at doing this. Good learning experience.


Kanati(Posted 2004) [#4]
Watch it though... Fred doesn't like it when you simply wrap purebasic functionality into a dll for use with another language. But if you use the windows print spooler api then you can use pure pretty easily.

Kanati


Cold Harbour(Posted 2004) [#5]
Yes I can see why he wouldn’t like that. Fair enough, won’t do that then.

I'll have a look at your dll's that you were kind enough to release.