Announcement

Collapse
No announcement yet.

Misses printing at bottom at times

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

  • Misses printing at bottom at times

    I have several programs that when printing to printer HP Photosmart C7200 Series, it won't print the last 1/4" to 1" of document at times. All my programs print OK every time on my desktop in the garage (DJ6988)

    1) Running PBCC5.02, Toshiba Satellite, Vista home premium HP C7280
    2) Garage PBCC5.02, Dell, Windows XP sp2, HP DJ6988

    Sample:
    Code:
    #COMPILE EXE       'Prints a sheet with 100 x 100 grids
    #DIM ALL
    #CONSOLE OFF
    FUNCTION PBMAIN () AS LONG
        LOCAL w,x,y,z AS LONG
        XPRINT ATTACH CHOOSE
        XPRINT WIDTH 2
        XPRINT FONT "New Courier",6,0
        XPRINT SET POS (75,75)
        XPRINT "100 x 100    pixs"
        '--------- col,row  to  col,row
        'XPRINT BOX (50,50) - (4850,6350)
       ' XPRINT WIDTH 6
        XPRINT WIDTH 2
        w = -1
        FOR x = 50 TO 6250 STEP 100  ' horiz lines
            INCR w
            IF (w MOD 5) = 0 THEN XPRINT WIDTH 8 : w = 0
            XPRINT LINE (50,x) - (4750,x) ' col,row
            XPRINT WIDTH 2
        NEXT x
        z = -1
        FOR y = 50 TO 4750 STEP 100  ' vertical lines
            INCR z
            IF (z MOD 5) = 0 THEN XPRINT WIDTH 8 : z = 0
            XPRINT LINE (y,50) - (y,6250) ' col,row
            XPRINT WIDTH 2
        NEXT y
        XPRINT CLOSE
    END FUNCTION
    Any ideas? Thanks, Mr Lynn
    Last edited by Lynn Wakefield; 25 Oct 2009, 08:51 AM. Reason: Junk characters in code

  • #2
    Find Usable printer area (Lee Furr)

    With PB statements, I think you need to use XPRINT GET SIZE and XPRINT GET MARGIN to find the 'net' printer area available to the specific printer in use.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3
      Thanks for the suggestions, but did not fix the problem.
      I found out that if you print to the printer in wireless mode it acts up. If you print thru a usb cable to the same printer, it works just fine.

      Comment


      • #4
        Solved!
        HP says go to the printer properties, click on the Ports tab, then clear the Enable bidirectional support check box.
        That fixed my problem. Thanks Michael for your help.

        Comment

        Working...
        X