>I have a client with a Panasonic Dot-matrix KX-P1124i that he uses to print one label at a time from tractor feed. FP DOS prints one just fine. I'm moving him up to VFP7 and can't figure out how to print one 1-inch label without a long form feed. The printer is set to a FF of 1 inch but I think VFP is overriding it some how. Any suggestions?
(1) Define a custom form length of 1" for the printer in the Windows Printer dialog. Create a specific Windows printer name that uses that custom form length by default for the report. Use that printer name for printing output to the 1" label. Remove at a minimum the DRIVER and DEVICE entries from the Expr field and clear the Tag and Tag2 fields of the first record of the FRX if using a report form.
(2) If you create the label 'by hand' using ?/??/???, try using a class such as my DIRPRTCLASS that bypasses the Windows GDI for its output - it doesn't automatically force to top of page, but it also doesn't let the GDI do font rendering and the like. DIRPRTCLASS requires you to use calls to class methods rather than the ?/??/??? commands; not a difficult translation, but it can be tedious.