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 -~----------~----~----~----~------~----~------~--~---
