Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer System Variables

Status
Not open for further replies.

Serincino

Programmer
Jun 13, 2003
61
US
I'm using VFP 8.0. I'm printing data from a table to create service tickets. The printer I'm printing to is an older Panasonic XP-P1150 tractor feed. The forms in the printer are 4.5 by 7 (long) inches. The windows driver setup will not allow for custom page lengths so I'm stuck with 8.5 by 11. My program is pulling data from the table and printing using ? table.field commands. I'm setting the printer on Set printer on and then using a Do While !EOF() loop to skip through all the records. My problem is that when the printer is set off and the Set Printer To command is given all the spooled data is then printed, but the printer assumes the data is being printed on 8.5 by 11. In FP 2.0 (which the orginal program was written) the printer printed each line as the ? was encountered and the records would all line up on each 7 inch long paper. This is no longer happening and the printer is ejecting for a 11 inch long paper so the first record prints fine, but everything else is off. Is there a way through a system variable that can be set to make the printer print to 7 inch long (AKA stop the eject) since the forms are tractor they are continuous forms. PLEASE HELP!.

-Serincino

PS the same thing happens when using reports, after the Report rptreportname to printer is issued the page automatically ejects the what would be left of an 11 inch page.
 
You can create a custom paper size in win2000 by hi-lighting the appropriate printer, right click and select server options from the drop down menu.

Define a new paper required size just as you did in the old days with custom size.

I usually use a generic, text only printer for tractor feed forms.

hope this helps.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top