Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Using PDF Printer

Using PDF Printer

Scheduled Pinned Locked Moved Visual Basic
comhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cwayman
    wrote on last edited by
    #1

    Hey, I have a file path, and from this i want to select a printer on the client by using its name (PDF Printer) and choose to print the file. When the printer is passed a file to print it opens a 'Save File As' dialog box where you choose the save destination and file name of the PDF. I need a way to specify the destination path and filename of the PDF to be saved and to be able to hide this 'Save File As' dialog box so the user never sees it. I am using CutePDF Writer and there is a code sample to help here[^] But i am unable to have any luck Can anybody help with any hints or suggestions Thanks you for your time Chris

    D 1 Reply Last reply
    0
    • C cwayman

      Hey, I have a file path, and from this i want to select a printer on the client by using its name (PDF Printer) and choose to print the file. When the printer is passed a file to print it opens a 'Save File As' dialog box where you choose the save destination and file name of the PDF. I need a way to specify the destination path and filename of the PDF to be saved and to be able to hide this 'Save File As' dialog box so the user never sees it. I am using CutePDF Writer and there is a code sample to help here[^] But i am unable to have any luck Can anybody help with any hints or suggestions Thanks you for your time Chris

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      What do you mean by "not having any luck"? What's happening? What's not happening? What does your code look like? Are you typing the Registry path names and values names EXACTLY as shown? Normally, you would go to the products support site for assistance with the component. CodeProject deals with the languages themselves, not 3rd party components... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      C 1 Reply Last reply
      0
      • D Dave Kreskowiak

        What do you mean by "not having any luck"? What's happening? What's not happening? What does your code look like? Are you typing the Registry path names and values names EXACTLY as shown? Normally, you would go to the products support site for assistance with the component. CodeProject deals with the languages themselves, not 3rd party components... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        C Offline
        C Offline
        cwayman
        wrote on last edited by
        #3

        hey, i was typing it as shown. i dont have much experience of registry values. First of is all is it possible to make the 'save as' dialog not show and pass information and key presses to it? Cheers Chris

        D 1 Reply Last reply
        0
        • C cwayman

          hey, i was typing it as shown. i dont have much experience of registry values. First of is all is it possible to make the 'save as' dialog not show and pass information and key presses to it? Cheers Chris

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          No, you can't prevent it from happening unless the driver exposes any interface to do so. It looks like the only interface supplied by the manufacter of the .PDF Printer Driver is the registry hack. If it doesn't work, then your best bet is to either contact the manufacturer for support on the component (and possibly an update) or find another component that has the (working) functionality you need. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups