×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Sending documents to the printer

Sending documents to the printer

Sending documents to the printer

(OP)
I am trying to find a way to send an image file to my printer when its name appears in a cell in an Excel spreadsheet.

I would like to avoid inserting the image into the spreadsheet and then printing it.

Any help or suggestions are appreciated.

I would also appreciate help with keywords to search the help files for.

RE: Sending documents to the printer

You have file name stored in Excel, you can activate the computers imaging software (Paint if .BMP) then you can call Paint's print function from VB.

Check out www.freevbcode.com for downloadable examples.

RE: Sending documents to the printer

(OP)
Thanks, I have also added the Microsoft Office Document Imaging (MODI) library to my VBA editor.

My skills with VBA are primarily focused on Excel so I would still appreciate any input using other applications.

RE: Sending documents to the printer

IrfanView is a freeware image viewer with command line capabilities.  You could build a command line string to print the file through IrfanView and run the string with a wsh.shell object.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources