User Tag List

Results 1 to 7 of 7

Thread: Print Control - Print to shared printer on network

  1. #1
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Print Control - Print to shared printer on network

    Basically as the title said, is it possible? I have a printer connected on another PC, shared across computer network.
    Printer enumerations on Print Control object always succeed to enumerate local printers, but other types (Shared, Network, Remote) always returns zero, even though I've installed the printer on client PC.
    Is there something I miss? The example file doesn't help.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,361
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    + 1 for this, If you work this out please share. I could only get local printers to enumerate as well, local printers are usuful yet most users tend to access network printers.

  3. #3
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wish to send Fernando a PM since this is his extension but I cannot send PM to him anymore -- does anyone know what is his Discord handle?

  4. #4
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by aenever View Post
    + 1 for this, If you work this out please share. I could only get local printers to enumerate as well, local printers are usuful yet most users tend to access network printers.
    So I made it work -- somewhat, by making the network printer as "Default printer" in the system. Thus you don't need to enumerate it, Print Control will automatically pick default printer and send data to it.
    But it's not really a feasible solution, because we are using another printer as default for work.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,361
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Ran_TH View Post
    So I made it work -- somewhat, by making the network printer as "Default printer" in the system. Thus you don't need to enumerate it, Print Control will automatically pick default printer and send data to it.
    But it's not really a feasible solution, because we are using another printer as default for work.
    I agree it's not an ideal solution, as most networks have several printers to choose from. Plus it's a pain to restore the default printer each time, I've had to store the current printer in an alt value and then restore it after printing in one of my current projects and it starts to get messy.

  6. #6
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,946
    Mentioned
    17 Post(s)
    Tagged
    2 Thread(s)
    Interesting one.

    You can actually use Windows DLL's for this using the DLL object. If you can't enumerate on a network, you could just have the user type in the printer name then execute it... I'm not sure on the exacts but you need to look at

    RUNDLL32 and PRINTUI.DLL - you can use flags such as /y /n "\\Shared\ThisPrinter"

    Alternatively, you could write out and then execute a dynamic batch file based on parameters you or the user gives it, such as:

    PRINT /M:\\shared\thisprinter C:\thisfile.pdf
    Want to learn Clickteam Fusion 2.5?




  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    aenever's Avatar
    Join Date
    Jun 2013
    Posts
    1,361
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Thanks Danny, I’m going to look into that. It could be just the solution I’m looking for

Similar Threads

  1. Print or Print Control help
    By Sebas Luna in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd January 2016, 04:49 PM
  2. Replies: 0
    Last Post: 5th September 2015, 11:43 PM
  3. Print Control Object
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 24th July 2014, 01:13 PM
  4. Print Control
    By Fernando in forum Released Extensions
    Replies: 1
    Last Post: 19th October 2011, 06:49 PM
  5. Print Object: How to select a printer?
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd October 2009, 06:19 AM

Posting Permissions

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