Hi I have an Access DB that prints barcoded labels to a Zebra printer. The user forms lock up whenever there is a problem with the printer.<BR><BR>Basically it is a system for recording production and printing pallet labels. Once the order has been selected and quantity entered the data is saved and the print is initiated. The bar coded label template is selected (templates are created using Bartender software and special labels are entered where the data is required to be printed). The code imports the label template as a string read from the text file hunts through the string and replaces the special labels with the appropriate data and then outputs the string to LPT1.<BR>if LPT1 is locked the code just hangs without erroring<BR><BR>If Len(stLbl) > 0 Then<BR> Open "lpt1" For Output As #1<BR> Print #1, stLbl<BR> Close #1<BR>End If<BR><BR>Is there any way to test if LPT1 is locked? And if so to clear it?