• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2941
  • Last Modified:

How to scan with vb6 and save as pdf to a file

I am trying to scan a document using a HP ScanJet 8270 scanner. I want to be able to save the document to a directory as a .pdf file. I need to be able to change the name of the file as I save it. I am using vb6 to accomplish this task. When A user clicks on the scan button it should prompt them for the name of the file and the location. If this is at all possible I would appreciate any help I can get. thanks
  • 5
2 Solutions
One thing you can do, perhaps, is use a PDF Printer to write your PDF file.

On the target client's computer install a PDF printer such as CutePDF: http://www.cutepdf.com/Products/CutePDF/writer.asp

Then, when the user scans, save the JPG of the scanned in image through whatever system the HP scanner provides to you, and print it to the CutePDF printer. The same can be done with any kind of printable document.
samiam41Author Commented:
Thanks Frosty555 but I don't see how this will allow me to do what I need.


Ther is already a software that do it,
PDF995  - its a simple software that after you scan the image you send it to print,
in the printer choice you wil find a pdf995 printer, if you'll print to that "printer" it will prompt you to enter
a name for the document (save as) and will save it with the input name as PDF file

the link for the software:

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

samiam41Author Commented:
I figured out this problem myself. Using the filesystem object I was able to create the scanned file and save it as a different name.
samiam41Author Commented:
Administrator can you please delete this post.
samiam41Author Commented:
I figured out this problem my self.
samiam41Author Commented:
I broke up the points just to close the ticket. Even though both answers were about the same they did give me ideas on how to fix the problem myself.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now