Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print to File

Status
Not open for further replies.

JPBURBE

Programmer
Jun 12, 2001
37
CA
Is there any way to print to file in vb?
 
The user doesn't want to use the print dialog. They want it all to happen from the click of a button
 
What do you want to print to a file.
Is it text in textboxes?
Is it records retrieved from a database?
Could you specifi?
 
I have a vb app that takes data that is entered by a user, writes the data entered to a PDF file. I want to be able to print that PDF file to any printer on the server. I am trying the CopyFile command. this works, somewhat, it prints where i direct it to. The only problem is the PDF file is not coming out. Just some jibberish gets printed on the top of the page. I was figuring if i could print to file, then direct that to the printer i choose it might work....any suggestions otherwise?

Patrick
 
Sorry I don't have any experience with PDF files. I will look in to it but for now I don't have any answers.
Perhaps later

Grt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top