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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I NEED PRINT IN SMALL FONT FROM FPD26 TO PRINTER HP.

Status
Not open for further replies.

alfonsovega

IS-IT--Management
Feb 26, 2002
8
0
0
CO
I NEED PRINT REPORTS WITH 240 COLUMNS IN SMALL FONT TO PRINTER (HP DESKJET OR HP LASER JET) IN LANDSCAPE LETTER-PAPER .

WHICH SEQUENCES "ESC" HAVE TO USE?

PLEASE HELP ME
 
Hi Alfonso:
Give these a try:

*RESET
??? CHR(027) + CHR(069)

*PORTRAIT
??? CHR(027) + CHR(038) + CHR(108) + CHR(048) + CHR(079)

*LANDSCAPE
??? CHR(027) + CHR(038) + CHR(108) + CHR(049) + CHR(079)

*10 pitch = 80 characters, 12 point
CHR(027) + CHR(040) + CHR(115) + CHR(049) + CHR(048) + CHR(072)

*12 pitch = 96 characters, 10 point
??? CHR(027) + CHR(040) + CHR(115) + CHR(049) + CHR(050) + CHR(072)

*16.67 pitch = 134 characters, 8.5 point
CHR(027) + CHR(040) + CHR(115) + CHR(049) + CHR(054) + CHR(046) + CHR(054) + CHR(055) + CHR(072)

*6 lines/inch
??? CHR(027) + CHR(038) + CHR(108) + CHR(054) + CHR(068)

*7 lines/inch
??? CHR(027) + CHR(038) + CHR(108) + CHR(054) + CHR(046) + CHR(056) + CHR(053) + CHR(067)

*8 lines/inch
??? CHR(027) + CHR(038) + CHR(108) + CHR(056) + CHR(068)

*ROMAN (no ASCII graphics symbols)
??? CHR(027) + CHR(040) + CHR(058) + CHR(085)

*PC8 (with ASCII graphics symbols)
??? CHR(027) + CHR(040) + CHR(049) + CHR(048) + CHR(085)

Good luck.
Jerry

 
My reports include printer codes for call from different printers in my PRINTER.DBF.

I need and use use Standard 10 CPI (fixed font) codes for reports from my app. I notice some differences and encountered problems as users switch from Dot Matrix to HP Jets & Lasers. I also notice differences and more problems between 600 Series and 900 Series (PCL3 / PCL5)?

Switching from FPD26 to FPW26 presented even more challenges. I can't seem to print 'condensed' in FPW using the same ESC codes I used succesfully in FPD.

I am using RAW SETTING and printing DIRECT TO PRINTER to bypass Windows printer setup.

Any insight or assistance would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top