IF NOT FILE("C:\WHS_PC.ID") MESSAGEBOX("Your PC is not set up to print inventory tags", 0, "Print Error") RETURN ENDIF *** set up the device SET PRINTER TO NAME "Zebra TLP2844" *** print the label using the report writer LABEL FORM 'i:\item_tag.lbx' FOR RPT_NUMB = mRPT_NUMB ; NOCONSOLE TO PRINTER PROMPT RETURN>Hi all,
>PROCEDURE print_tag &&---------------------------------------------- >*** print inventory tags with barcode, client, sidemark, indate, and description >*** using a Zebra 2844 printer with 4 x 3 inch labels. Windows print drivers > >*** only print if this PC has a label printer >IF NOT FILE("C:\WHS_PC.ID") > MESSAGEBOX("Your PC is not set up to print inventory tags", 0, "Print Error") > RETURN >ENDIF >*** set up the device >SET PRINTER TO NAME "Zebra TLP2844" >SET DEVICE TO PRINTER PROMPT >SET DEVICE TO PRINT >SET PRINT ON >SET CONSOLE OFF >*** print the label using the report writer >LABEL FORM 'i:\item_tag.lbx' FOR RPT_NUMB = mRPT_NUMB >SET DEVICE TO SCREEN >SET PRINT OFF >SET CONSOLE ON >SET PRINTER TO >RETURN >>I've made sure that the detail band fits the label (preview tells you so), and that the footer band is tight to the last textbox in the detail. In the IDE I do not get the blank label. Rearranging the various concoctions of 'SET' will give me the blank label at the beginning of the print job.