Announcement

Collapse
No announcement yet.

Xprint Gpf

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

    Xprint Gpf

    OK... I missed two facts.. the attach gave a error 68, which is device unavailable and the Kodak is not the default printer on this laptop, but on my desktop where this will be used. So I have changed the DEFAULT to CHOOSE and all's ok,

    ------------------------------------------------------------------------------------------------------------------------------------------------------
    The XPRINT SET TRAY statement gives a GPF.
    Code:
                    CASE %IDC_BUTTON1
                        IF CBCTLMSG = %BN_CLICKED OR CBCTLMSG = 1 THEN
                            'printer module
                            XPRINT ATTACH DEFAULT
                            ' select lower tray
                            XPRINT SET TRAY %DMBIN_LOWER
    The printer is a Kodak ESP 7 and that has a lower and upper tray.
    Last edited by Barry Erick; 5 Jan 2009, 07:15 AM.
    Barry

    #2
    Is the GPF occuring in the application or in the printers driver? I could not replicate a crash setting the tray on our systems here. Even if I selected a tray that the printer does not support, I received an error 5 and not a crash. Maybe look for an updated printer driver.
    Sincerely,

    Steve Rossell
    PowerBASIC Staff

    Comment


      #3
      Actually, the error was on that the attach failed, but according to the help, all xprints are supposed to skip. XPRINT ATTACH DEFAULT, when the default does not exist, gives error 68 and the XPRINT SET TRAY 2 GPF's.

      The default is actually my work printer but having the laptop at home means that printer does not exist.
      Barry

      Comment


        #4
        I do not know how I missed it during my tests, but you are correct if no printer is attached then XPRINT SET TRAY is crashing when executed. I would send this in to [email protected]. I have already logged this issue, but you still should still send it in to support to have it logged under your customer record.
        Sincerely,

        Steve Rossell
        PowerBASIC Staff

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎