Results 1 to 3 of 3
  1. #1
    DaveMack
    Guest

    Printer object in VB

    I'm trying to set my default printer to Manual Feed using the command:

    Printer.PaperBin = vbPRBNManual

    My app then shovels off some PDF files to Acrobat for printing. Trouble is, the manual feed setting from the VB app doesn't seem to stick. Am I missing something to make the paper tray setting apply globally to other apps?

    Thanks,

    Dave

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Printer object in VB

    One trick you could try:
    Install the printer again as an additional printer.
    Set the defaults for this printer to include manual feed.
    Set this printer to be active, print, then reselect the default.

  3. #3
    DaveMack
    Guest

    Re: Printer object in VB

    Leif,

    Nice idea, but I neglected to mention that this app will be running in a sales office with about 300 users and god only knows how many printers. Most of the users can't tell a printer from a coffee pot, so hand-holding and automation are at a premium.

    My real problem is printing letter vs. legal. I'm now tyring to convince my client to use a file naming convention (invisible to the user) whereby I can differentiate the two paper sizes and pass the appropriate command to Acrobat. FYI, it goes on the command line (I launch it from a shell) as "-size letter" or "-size legal". If the client buys it, my problem is solved.

    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •