PureLPRINT library : LPRINT functions (direct LPT access)

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Hi hjf, I just uploaded a PB4.20 specific library version : http://freenet-homepage.de/gnozal/PureLPRINT___.zip
It should fix your issue.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
hjf
User
User
Posts: 21
Joined: Sun Nov 23, 2008 3:30 pm
Location: Germany

Post by hjf »

Hello gnozal,
thanks for the new version. It works correctly except the LPRINT_Requester() ends with an 'invalid memory acces'. This is for me not important, the Requester is anyway a little to small.

Cia
hjf
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Thanks.
I wanted to withdraw the requester anyway.
EDIT : function withdrawn from library.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
oftit
User
User
Posts: 52
Joined: Sun Apr 25, 2010 5:08 am

GNOZAL's LPRINT lib

Post by oftit »

Hello all

I've been searching around, and found gnozal's LPRINT lib for receipt printers. I just always dont know how to work these things. I tried his example code and installed the "program installment" that followed with it. I compiled it and PB says linker error. I just dont know how to use these libs?

Thank you
User avatar
TomS
Enthusiast
Enthusiast
Posts: 342
Joined: Sun Mar 18, 2007 2:26 pm
Location: Munich, Germany

Re: GNOZAL's LPRINT lib

Post by TomS »

If you get a linker error, the lib is outdated. (UserLibs only work with a specific PB-Version, because they rely on PB functions which may change over the versions)
In the thread of the lib must stand which version of PB is the last one that it works with.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by gnozal »

Update (PB4.5x and PB4.6x versions)

Changes :

- added unicode support.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Paradox
User
User
Posts: 23
Joined: Tue Dec 09, 2014 7:16 pm
Location: Brasil

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by Paradox »

New upload for purebasic 5.X?
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by RSBasic »

http://www.rsbasic.de/backups/ :arrow: "PureLPRINT_500.zip"
I don't know if it works with PB 5.50.
Image
Image
Paradox
User
User
Posts: 23
Joined: Tue Dec 09, 2014 7:16 pm
Location: Brasil

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by Paradox »

RSBasic wrote:http://www.rsbasic.de/backups/ :arrow: "PureLPRINT_500.zip"
I don't know if it works with PB 5.50.

Not work in PB (5.43)
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by IdeasVacuum »

Hi Paradox, PureLPRINT is compatible with PB4.60. So, you could write the part of your app that needs direct LPT access in PB4.60 as a seperate exe, then run that from your main app via RunProgram(). Or depending on your requirements, you could write the whole app in PB4.60.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Paradox
User
User
Posts: 23
Joined: Tue Dec 09, 2014 7:16 pm
Location: Brasil

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by Paradox »

IdeasVacuum wrote:Hi Paradox, PureLPRINT is compatible with PB4.60. So, you could write the part of your app that needs direct LPT access in PB4.60 as a seperate exe, then run that from your main app via RunProgram(). Or depending on your requirements, you could write the whole app in PB4.60.
Hi IdeasVacuum, my program is already complete in pb5.24 (203.000 lines) with the entry of new libs http decided to migrate to pb5.43 however had problems with LPRINT, took another LIB also that solving my problem but wanted to know the default font of LPRINT... Can you tell me the default font LPRINT?
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by IdeasVacuum »

I had no idea that there was a default font - probably the default system font?

Have you seen this: LPRINT_plus http://forum.purebasic.com/english/view ... 12&t=61920
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Paradox
User
User
Posts: 23
Joined: Tue Dec 09, 2014 7:16 pm
Location: Brasil

Re: PureLPRINT library : LPRINT functions (direct LPT access

Post by Paradox »

IdeasVacuum wrote:I had no idea that there was a default font - probably the default system font?

Have you seen this: LPRINT_plus http://forum.purebasic.com/english/view ... 12&t=61920

It is not the default font, tested, plus I'm using this API to change font.
Sorry my bad English translator.
Post Reply