I will try it. What I found is if I log onto the windows account jbase runs on it works. If I go on a different account it does not. But I did not try the specif printer approach.
I am assuming in order to use this I need to put the entire invoice in a text file, write it out somewhere in windows and then print and delete it. That is how print wizard works. It would be nice if jbase itself had a utility to print graphics files within normal print statements. This way I would not have to re-write entire programs to do this kind of printing. Daniel Klein wrote: > I think you need to specify the destination printer. Here is an > example of what works for me: > > cmd = "C:\Software\DOSPrinter\DOSPrinter.exe /SEL'Canon_i850' > c:\temp\file.txt" > EXECUTE CHAR(255):'k':cmd > > Where 'Canon_i850' is the name of the printer; on my system it is the > network shared name. > > Dan > > > On Thu, Jul 2, 2009 at 5:38 PM, Richard Kann<[email protected]> wrote: > >> Thanks. One question though. It works in command prompt in windows, but when >> I put it in a program it locks up and will not print. This is the code line. >> Any ideas: >> >> EXECUTE CHAR(255):'k':'C:\TEMP\DOSPRINTER C:\TEMP\SAMPLE2.PRN' >> >> >> Daniel Klein wrote: >> >> I use DOSPrinter for all of my printing needs. >> http://www.geocities.com/DOSPrint/ >> >> It is especially handy when you have a GDI printer. >> >> And it is easy enough to integrate with the jBASE spooler. >> >> Dan >> >> >> On Wed, Jul 1, 2009 at 6:40 PM, Richard Kann<[email protected]> wrote: >> >> >> Hi All: >> >> I am trying to print a .bmp file (a signature capture) to a PCL inkjet >> printer (Jbase version 3.4.x windows) at the bottom of an invoice. Has >> anyone accomplished this before or knows how to do it? >> >> Richard Kann >> Comp-Ware Systems, Inc. >> >> >> >> >> >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
