LittleJohn
28th February 2003, 22:02
Hi All,

I'm trying to print a bmp/jpg/jpeg file from Baan.
No.. not a logo, but a full size image.
( I cannot create TTFs for each image :) )

As soon as the production Planning is printed, we want to print the production sketches on a seperate page.

Is it possible to print JPG files from Baan ?
One way to look at it, is to do a application start from Baan.. bring up, say MS Paint or Word... But how do we get to print the file automatically ? Has anyone written a Macro to do that ?

Any new ideas ?

All help is appreciated. Thanks

Regards
Minhaaj

NPRao
28th February 2003, 23:45
Minhaaj,

I found this in the BWprint help manual. I never used it, but you can try to play with it.

Direct mode

In direct mode, a report is printed without preview and without the need for user interaction. In this mode, only errors are reported to the user.

BWPRINT is started in direct mode if it is activated with the option /p. This happens also if BWPRINT is started via the File Print-menu of the File manager.

RobertB
1st March 2003, 11:29
Getting Word to print the file automatically is fairly straightforward using something like:Private Sub Document_Open()

ActiveDocument.PrintOut
ActiveDocument.Close

End Sub - but then you'll probably get that little window pop up which asks you whether you want to activate Macros or not...

Personally, I'd write a small VB/VC++/Delphi program to print the desired document/graphic in the background with no user involvement. Then you get exactly what you want...

HTH

evesely
3rd March 2003, 15:50
We've done somthing similar for our clients in both production and service. When printing documents, we also print associated drawings/documents (AutoCAD, Word, Excel, JPG, etc.). In doing so, we keep the sorting intact so that all of one order's documents are kept together.

As you suggest, getting the drawings/documents to print automatically without user intervention was the trickiest part... :)