• Resolved stieranka

    (@stieranka)


    Hi,
    is possible save print data to any file? (html). Or sennd to email?

    Steve

    • This topic was modified 3 years, 7 months ago by stieranka. Reason: Save as not work for about:blank page
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    yes… it is possible. However, this is not explicitly a function of the plugin but of your browser. Every browser has the ability to a) save a print as a pdf or b) save a page as HTML (whereby it will download the media and html page as an HTML file. Your success may vary based on any number of factors–but the initial fact is true: it is possible to save print data to a pdf or html. pdf would be recommend to use for sending via email.

    Thread Starter stieranka

    (@stieranka)

    Hm… “Save as…” do not work, becouse url of print page is “about:blank”. Browser do not possible save this url (Chrome).
    I know, print as pdf is good options, but is possible call it automaticly? E.g. from shortcode?

    I have also diferent question – is posiible get print data and work with them on other pages via php? Print output could be saved to a user account, shared on a social network, and so on.
    I am printing an interactive form with YES / NO answers, which generates dynamic texts according to the answers. And only Print-O-Matic prints the correct checked input radio and hidden elements (thumbs up!).

    I would also like to pay for the paid version if it would allow it.

    And thanks for fast reply ??

    Plugin Contributor twinpictures

    (@twinpictures)

    if you are getting a blank page, then it’s possible you have not defined a valid print target. by default the print target is ‘article’ however, this can be changed in the plugin settings page. if you want to define a specific .class or #id then you can do this with the target attribute (see documentation)

    The pro version dose allow for the use of custom PHP templates for the print page, and it comes with a very high level of personal support to make sure you get it doing with it should.

    You might also want to check out the free version 2.0 Release Candidate on github, as it has a more advanced print method:
    https://github.com/baden03/print-o-matic/tree/2.0-redo

    Thread Starter stieranka

    (@stieranka)

    I tested the version 2 – it print without blank page and without 2 time print dialog. But I have problem with margins – left margin is large to 1/3 of the page width, but I didn’t set anything like that.

    By the way, why don’t you integrate other functions like saving content as pure HTML, or some function that would return print content as a variable. This would be an excellent starting point for further development. People would like to pay.

    Plugin Contributor twinpictures

    (@twinpictures)

    By the way, why don’t you integrate other functions

    … we hope you have enjoyed using our free plugin and have benefited from it’s free community support. We invite you to check out some (also free) online resources and set your imagination free!

    Issue marked as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Save print data to file’ is closed to new replies.