Community
    • Login

    Printing with NpPP

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • David C. WoodD
      David C. Wood
      last edited by

      Hello, I am new to using Notepadd++ and I tried to print out a script I was writing in Perl.

      After it printed out, it was missing all the “=” signs and the semicolins from every line “;”

      It was also missing my “->” sections for my MySQL connections (see below examples)

      for example
      $dbh=DBI->connect($connectionInfo,$user,$passwd);

      #Prepare MySQL statement and create Statement Handler $sth
      $sth=$dbh->prepare($update);
      
      #Execute update statement
      $sth->execute();
      
      #Disconnect database
      $dbh->disconnect();
      

      Would look like this on paper

      $dbh DBI connect($connectionInfo,$user,$passwd);

      #Prepare MySQL statement and create Statement Handler $sth
      $sth $dbh prepare($update)
      
      #Execute update statement
      $sth  execute() 
      
      #Disconnect database
      $dbh  disconnect()
      

      My question is, is there any way to fix this so NpPP prints everything and stops skipping the above mentioned parts?

      1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank
        last edited by

        Hello David,

        I tried on

        windows 7 x64
        npp 6.8.7
        hp laserjet

        no problem seen.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors