명령 창에서 "화면에 장치 설정"
프로그램을 만들 수 있습니다. 프로그램에서 위의 줄을 포함하여 "start.prg"라고 부를 수 있습니다. 이 Foxpro 데스크톱에서 시작할 때마다 실행됩니다. 도구, 옵션, 파일 위치에
클릭, 시작 프로그램, 다음, 예를 들어, 을 "수정"과 "start.prg"의 위치를 입력 C:\Program Files\Microsoft Visual Foxpro 9\start.prg
******to print to paper *********************************************
set device to printer
set printer to &&& turn off all open print commands
???" " &&& open printer in raw mode
p_Landscape_On =chr(27)+"&l1O"
p_Landscape_Off =chr(27)+"&l0O"
n_Row=2
@n_Row, 1 say (p_Landscape_On) +(p_Draft)+(p_14inPaper)
n_Row=n_Row+1
******end of printing*****************************
@n_Row,n_Col_fav say (p_Landscape_Off)+(p_12CharPerInch)+p_Portrait)
set printer to
set device to screen