Discussion:
Printing a tif file in vb6
(too old to reply)
jchri66
2005-04-04 17:57:07 UTC
Permalink
Does anyone know how to print a multipage .tif file in VB6? I would like it
to work with XP and 2000 without any code change I think I was reading that
because the image viewers are different in the OS that native DLLs to use are
different.
jchri66
2005-04-04 18:25:10 UTC
Permalink
Just to clarify.. I would just like to be able to automatically print a tiff
file. Also I don't want to buy a third party imaging SDK.
Post by jchri66
Does anyone know how to print a multipage .tif file in VB6? I would like it
to work with XP and 2000 without any code change I think I was reading that
because the image viewers are different in the OS that native DLLs to use are
different.
Ben Amada
2005-04-05 10:19:53 UTC
Permalink
Post by jchri66
Does anyone know how to print a multipage .tif file in VB6? I would like
it to work with XP and 2000 without any code change I think I was reading
that because the image viewers are different in the OS that native DLLs
to use are different.
You might be able to use the ShellExecute API with the "print" verb. See
link below for examples (note: you would specify the "print" verb as the 2nd
parameter of ShellExecute):

ShellExecute Madness
http://vbnet.mvps.org/code/shell/shellexecute.htm

Ben
jchri66
2005-04-06 15:43:04 UTC
Permalink
That worked great!! Thanks.
Post by Ben Amada
Post by jchri66
Does anyone know how to print a multipage .tif file in VB6? I would like
it to work with XP and 2000 without any code change I think I was reading
that because the image viewers are different in the OS that native DLLs
to use are different.
You might be able to use the ShellExecute API with the "print" verb. See
link below for examples (note: you would specify the "print" verb as the 2nd
ShellExecute Madness
http://vbnet.mvps.org/code/shell/shellexecute.htm
Ben
Loading...