osTicket Awesome now has Dark Mode.

New // By popular demand
English Arabic Catalan Chinese (Simplified) Croatian Czech Danish Dutch Finnish French German Greek Hebrew Indonesian Italian Japanese Korean Mongolian Norwegian Polish Portuguese Russian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese
osTicket Awesome Navigation
  • FAQs
  • Customers
    • Log In
    • Account
    • Downloads
    • Instructions
    • Forum
  • Client Demo
  • Staff Demo
  • FAQs
  • Customers
    • Log In
    • Account
    • Downloads
    • Instructions
    • Forum
  • Client Demo
  • Staff Demo

[In Progress] Printed ticket template modifications

To Parent Forum
    • November 8, 2022 at 11:21 am #12979
      stevland
      Keymaster

      Hi @haleyslock,

      It’s been a long time since I hacked osTicket’s PDF / print template. I would have to retrace my steps.

      But a quick Google search turned up this page with potentially useful information:

      https://forum.osticket.com/d/90701-pdf-customization/2

      If you come up with some worthwhile improvements to how the logo prints feel free to share your insights.

       

      • November 8, 2022 at 11:41 am #12988
        J
        haleyslock
        Participant

        Thanks for the reply @stevland,

        I did stumble across that page before posting, which is where I came up with the two files that I did look into/attempt to tweak, but they did not seem to change the image constraints, or at least I could not find the proper section to modify that would have any effect on how it was displayed. The max-height and max-width fields for the .logo section did not seem to change how it was displayed when I tried to double their size (just for a quick/easy test). I presumed that these files would be dynamically loaded whenever printing is called for and that rebooting the system/services would not be required after any modifications. Do you know/would that be correct thinking?

        Outside of that, I ran out of ideas and hoped someone else might have some additional insights.

        Thanks

    • November 8, 2022 at 11:47 am #12994
      stevland
      Keymaster

      Sorry, I just don’t have the time to investigate this. Perhaps I’ll look into it at a future date when I am in development mode, but no promises.

      In the meantime you would probably get more traction to your question if you asked in the osTicket Forum. The concept is exactly the same, so you probably don’t need to mention that you’re using osTicket Awesome.

    • November 10, 2022 at 4:47 pm #13080
      stevland
      Keymaster

      While preparing the next release I think I may have stumbled on some file(s) that may help you. 

      This is just a quick note to say, check

      include/client/ticket-print.tmpl

      and 

      include/staff/ticket-print.tmpl

    • November 23, 2022 at 6:37 am #13634
      J
      haleyslock
      Participant

      Appreciate the reply and keeping it on your radar as you work on other things.

      I did not see those files in the referenced include/staff or include/client folders, but did locate them in the template subdirectory for both folders, so I am presuming that it was just left out on your link when it got typed up?

      Regardless, modified the .logo section of both files and increased the logo size, decreased margin around it, but there was no change on the generated PDF, which makes me believe it did not read that file or section of the file. I will tinker around with it some more as time permits. I am looking to make the logo be more of a banner/header scale that would be significantly wider, so maybe there is a different/better way to approach it. Who knows?

      Joey

You must be logged in to reply to this topic.

Topic Tagscompany imagecustom print logopdfprint-logoprinted tickets
  • FAQs
  • Downloads
  • Forums
  • Contact

osTicket Awesome theme by Red e Technology

osTicket is a product of Enhancesoft