ich bin ziemlicher Neuling mit PureBasic und versuche, direkt Rohdaten in den Drucker, besser gesagt in den Druckerspooler zu schreiben, also nicht ins Grafikobjekt Drucker reinzumalen sondern exakt das in den Spooler zu schreiben, was auch am Drucker ankommen soll. Dazu brauche ich glaub' ich LPRINT ? Aber ich raff irgendwie überhaupt nicht das System, wie ich diese Lib in meinen Quellcode einbinde bzw. die Funktionen der Lib nutze. Er sagt immer
LPRINT_GetDefaultPrinter () is not a function, an array or a linked list...
Ich hab das Prinzip noch nicht begriffen. Bei PowerBasic gab es $Include-Befehle zum Einbinden.
Also bei mir funktioniert diese Lib auch nicht und diese wurde wohl nicht unter XP getestet. Kann sein, das die LIB mit den API-Funktionen für die
win.ini arbeitet. Am besten mal den Proger gnozal@freenet.de
direkt anfragen.
If this works with XP, then the same function from the LIB [LPRINT_GetDefaultPrinter()] should work too ! What's the problem with the lib ? I use it with 98 and NT and it works well.
The error 'LPRINT_GetDefaultPrinter () is not a function, an array or a linked list..' means the lib is not correctly installed.
Sorry, this my error. I would printing to a 'Data Becker' PDF-Printer.
The Lib make an error.
Just i've installed my Epson Stylus Colour over usb, your lib is ok.
I see the spool in the task for each time, but your testcode dosen't
printing it.
Just i've installed my Epson Stylus Colour over usb, your lib is ok.
--> It works ?
I see the spool in the task for each time, but your testcode dosen't
printing it.
--> It don't work ?
Please keep in mind that the lib don't work with GDI only and/or Postscript printers. It should work with PCL or EPSON compatible printers (eg. DOS compatible). I have only tested it with HP and OKI printers and with Win98 / NT4.
PS : in the test code, there is a LPRINT instruction wich works only with PCL compatible printers ("LPRINT_Print(Chr(27) + "E")