Hi I think you need to give some time between open and print. PDF_Open(sprite 50, the moviepath & "/pdf/" & getat(gBildspel, i) & ".pdf" --wait for some time PDF_Print(sprite 50, 1, 2, 2, FALSE, TRUE, FALSE) You can print a document which is opened. regards Ramesh CT -----Original Message----- From: Magnus Ewald <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Wednesday, October 04, 2000 4:44 PM Subject: SV: <lingo-l>PDF_Print ! > Hello list ! > >A PDF _xtra qustion here ! > >if i write the´se two lines in the same handler nothing happens....but in the message window these two line work perfectly by them selves ! > >PDF_Open(sprite 50, the moviepath & "/pdf/" & getat(gBildspel, i) & ".pdf" >PDF_Print(sprite 50, 1, 2, 2, FALSE, TRUE, FALSE) > >anybody recognize this problem > >Help > > > > >[To remove yourself from this list, or to change to digest mode, go to >http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, >email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) >Lingo-L is for learning and helping with programming Lingo. Thanks!] _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]