Announcement

Collapse
No announcement yet.

possible interception of printing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • possible interception of printing

    So we have a credit card processing program that prints a receipt,
    however, it does not use a printer dialog where you can select the
    printer and choose to create a PDF instead of printing. It just prints,
    period.

    Does anyone know of a way to intercept the printing and get
    to a place where I can select the printer (or PDF)?

    (The program never displays the receipt in a window either, or
    I could just find the window and print it.)
    Gary Peek, Industrologic, Inc.

  • #2
    Gary,
    try Contol Panel/Printers and set the default printer to the printer you want.

    Paul.

    Comment


    • #3
      One of the good things of PDF factory ( www.fineprint.com )
      If you print to this device you can decide in it's preview to dump the print to a real printer without reprinting.

      I use it to gather all pages and so on and then print to a printer.
      hellobasic

      Comment


      • #4
        duh!

        Originally posted by Paul Dixon View Post
        try Contol Panel/Printers, set the default printer
        Well, duh! I didn't think of that.
        I do this infrequently enough that this is probably the best solution.
        Gary Peek, Industrologic, Inc.

        Comment


        • #5
          Also...
          Set default printer
          Last edited by Pierre Bellisle; 6 Feb 2008, 11:50 AM.

          Comment


          • #6
            >>try Contol Panel/Printers, set the default printer
            >Well, duh! I didn't think of that.
            >I do this infrequently enough that this is probably the best solution

            Unless I'm mistaken you can set the default printer via a WinApi function in code... not that I can see what good that would do in this case, but it's an option. (Found it.. the deviously-named "SetDefaultPrinter" function).

            Of course, the credit card processing program may just get the default printer name when it starts up and not respect any changes made thereafter. (Change "should" broadcast a WM_WININICHANGE / WM_SETTINGCHANGE message when it does it and the application should be looking for it).


            MCM
            Michael Mattias
            Tal Systems (retired)
            Port Washington WI USA
            [email protected]
            http://www.talsystems.com

            Comment

            Working...
            X