Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
laying an insurance form onto a laser printed report
Message
From
30/06/1998 07:39:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00112699
Message ID:
00112850
Views:
31
>Tony,
>I recall posting a message some time back asking about overlaying an image such as an insurance form onto a laser printed report. I'm pretty sure it was you that responded with a couple of programs to look at that converted images to PCL or something along those lines. I think it was from another VFP forum, because I couldn't find my original question when I searched for it in the UT. Is this at all familiar to you, and could you help me out again with that info.?
>

The easiest way to do this is to create a laser macro that is pre-loaded to the lser printer; I used an older package called FormWorx to create the layout; WordPerfect's (now Corel's) InForms does much the same thing, and has the benefit of being a still sold and supported product. You create the form in the package, and then output it to a file with PCL macro formatting, assigning it a macro ID. Every time the laser is powered on or off (assuming that you make it a permanent macro, temporary macros only stay around until the printer receives a reset code) you need to reload the form macros. Whenever you want to use a particular overlay, you send the escape code for the desired macro direct to the printer (use the ??? command to avoid bad things happening with reinterpretation of printer codes.)

I've used this mechanism for a number of years with some FPD and FPW based purchase order and invoicing apps, and it works well, with the additional benefit that things print VERY quickly, since you just send the macro code rather than the entire graphical stream each time you want to overlay the current page with a form.

>Thanks,
>Marcus.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform