ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

O-Spec QPRINT spaceA values ignored. No new blank spaces.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • O-Spec QPRINT spaceA values ignored. No new blank spaces.

    I have set headings to have space A on multiple occations. But with SPACEA(2) I expect a blank line but it never appears...
    Code:
    OFilename++DF..N01N02N03Excnam++++B++A++Sb+Sa+.............................C
    OQPRINT    E            Headings       2  1                                 
    O                       UDATE         Y      8                              
    O                                          119 'Page'                       
    O                       PAGE               124 '  0 '                       
    O          E            Headings       2                                    
    O                                           91 'Master Listing By Customer+ 
    O                                               Number'                     
    O          E            Headings       1                                    
    O                                            8 'Customer'                   
    O                                           14 'First'                      
    O                                           25 'Last'                       
    O                                           44 'Street'                     
    O                                          100 'Phone'                      
    O                                          117 'Alternate'                  
    O          E            Headings       1                                    
    O                                            6 'Number'                     
    O                                           13 'Name'                       
    O                                           25 'Name'                       
    O                                           45 'Address'                    
    O                                           63 'City'
    Result:
    Code:
    *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3
     2/11/20                                                                                                           Page    1      
                                                               Master Listing By CustomerNumber                                       
    Customer First       Last             Street                                                   Phone        Alternate             
    Number   Name        Name             Address              City            State  Zip Code     Number       Phone Number          
    100001   NARIZA      ABDUL HALIM      5652 N. 46TH ST.    KALAMAZOO        MI    49008-0000   616-125-4115 121-199-7002

  • #2
    Are you looking at the spooled file via 5250? If so, blank lines aren't shown. Either use iACS Printer Output, or check the line number value displayed at the top-right.

    Comment


    • #3
      Originally posted by jtaylor___ View Post
      Are you looking at the spooled file via 5250? If so, blank lines aren't shown. Either use iACS Printer Output, or check the line number value displayed at the top-right.
      Hi sir J,

      Thanks for looking into it. I tried to Download and view it with ACS Printer Output but I still get the same thing. Even with notepad++ I only see 1 new line for every line
      Code:
       2/11/20                                                                                                           Page    1
                                                                 Master Listing By CustomerNumber
      Customer First       Last             Street                                                   Phone        Alternate
      Number   Name        Name             Address              City            State  Zip Code     Number       Phone Number
      100001   NARIZA      ABDUL HALIM      5652 N. 46TH ST.    KALAMAZOO        MI    49008-0000   616-125-4115 121-199-7002
      100002   JIM         BRENNEMAN        111 32ND AVE.       BOYCE            LA    71409-0000   212-473-2345 101-019-9800
      100003   MICHAEL     DEWAARD          4532 SYCAMORE       PHILADELPHIA     PA    19104-0121   201-398-3423 401-199-8012

      Comment


      • #4
        When you download in ACS Printer Output, it looks like you're downloading in TXT format instead of PDF format and if that is so, the spaces are still suppressed. If you change to PDF format, you will see the spaces (View Only will also work, no need to download). In the Printer Output window, from the menu select Edit > Preferences and check the box marked Use PDF format if available. Or you could just print a sample report.

        Comment


        • jtaylor___
          jtaylor___ commented
          Editing a comment
          True. My bad for the omission.
      Working...
      X