You want to get direct control of printer thru VB
?. I do not know of a way to control lpt1: directly in VB
. You may try the following code which is from the good ol' DOS/QBasic days.
Open "LPT1:" for output as #1
Print #1, chr(65)
Print #1, chr(12)
which would just print "A" followed by a form feed on your printer.
You did mention it's urgent. If the above doesn't work, see if you can get a serial printer or a serial to parallel interface. Then all you need to do is open a com port which VB
does allow you to have direct control. Yes you can print graphic file in your own formating this way.
3rd way is for you to write your own device driver. But since you need to drive the "lpt" port not the printer itself I do not know if this is even possible.
Lastly if all you needed to do was print an invoice or fill in the blanks on any pre-printed form, don't see why crystal reports can't help you.