Community
    • Login

    Printing with NpPP

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.3k Views 2 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors