If you're trying to connect for printing of a file, neither GPIB or VISA is going to help you. They're for instrument control. If you want example code for some language other than LabVIEW, then the LabVIEW forum is probably not the best place to ask for it. NI has spearate forums for GPIB, VISA, LabWindows CVI, etc. and there are dedicated newsgroups for C. Try soemthing like alt.comp.lang.c or alt.comp.lang.c++.