Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Bypass Print Dialog

    Hi all,
    I'm building a ticketing system for a minor league baseball team and of
    course it will utilize a ticket printer. I was wondering if there is a way
    through AS 2.0 in combo with any other technology that would allow me to
    bypass the print dialog when the user presses a button and just print? I
    didn't want them to have to hit "OK" - It is a company intranet app so the
    servers and workstations are at my disposal for modifications. Computers are
    running XP. Suggestions?

    -Ken from Cali


    Ken Silanskas Guest

  2. Similar Questions and Discussions

    1. Very slow print dialog window
      The problem is when I select print from InDesign CS it takes 16 seconds for the print dialog window to appear, during that time the beach ball is...
    2. Funkiness in print dialog box
      When I go to print a document, I hit command-P, and up jumps the print dialog box. I select the printer I want to use, and go from the "Copies &...
    3. Illustrator 10 Print Space settings in Print Dialog
      Howdy all; I've got a peculiar situation that I haven't found an answer to yet. On my laptop PC (Windows XP Home) when I go to print a document...
    4. How to bypass the .htaccess popup dialog
      Hello! A part of my website is protected with a .htaccess file. Can I somehow bypass the username/password dialog ?? Can I somehow "hardcode"...
    5. How can I open the print dialog
      you could add a print-button - let it go "server side" to display what you want to print, and register some java to print the form... then direct...
  3. #2

    Default Re: Bypass Print Dialog

    There is an ActiveX Control you could use but it's kinda a round-about way to
    go about it.
    This is because, the ActiveX control is usually used to print a web page.
    Since you're printing from Flash, you would have to go about getting the
    webpage loaded with the ticket (formatted for printing) and then call the print
    function when loaded. I would try doing this with an <iframe> and then getURL
    to post information to that <iframe>. You could then use ASP or PHP to format
    the ticket and include the necessary VBScript to print 'onload'. If this
    sounds interesting, let me know, I'll post the code and an explanation.

    findapollo Guest

  4. #3

    Default Re: Bypass Print Dialog

    I am definitely interested. I have one thing to add. I could be printing
    multiple tickets from the application in succession. Say if a group of 10
    buys a ticket. 10 tickets need to be printed with the separate information.
    Let me know. Thanks!!

    "findapollo" <webforumsuser@macromedia.com> wrote in message
    news:c15ut0$3ed$1@forums.macromedia.com...
    > There is an ActiveX Control you could use but it's kinda a round-about way
    to
    > go about it.
    > This is because, the ActiveX control is usually used to print a web page.
    > Since you're printing from Flash, you would have to go about getting the
    > webpage loaded with the ticket (formatted for printing) and then call the
    print
    > function when loaded. I would try doing this with an <iframe> and then
    getURL
    > to post information to that <iframe>. You could then use ASP or PHP to
    format
    > the ticket and include the necessary VBScript to print 'onload'. If this
    > sounds interesting, let me know, I'll post the code and an explanation.
    >

    Ken Silanskas Guest

  5. #4

    Default Re: Bypass Print Dialog

    Let me ask you a few questions to see if this will actually work.

    How do you print tickets now? Is there a special format that the information
    has to be sent to the printer and do you think that can be sent from
    a web page? If there is a command line utility that prints them that'd
    be even better (seeing as you have control of the network).

    If there is a specific format that the printer understands and it's simple
    enough,
    you could probably do it all with a VBScript that you call from Flash. But if
    there
    is a command line utility, you should be able to just call it directly from
    flash
    with with fscommand()

    Let me know,

    Nick


    findapollo Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139