• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs AND MORE.
HP Recommended

Looking for documentation source for Escape sequences to change font, size and lines per inch as well as reset to default etc for this printer as have a need to add headings on plain paper for various fields when printing pay slip and other  documents .

2 REPLIES 2
HP Recommended

Hi @vbcoen,
 
Welcome to the HP Support Community!

Thanks for reaching out!


To assist you better with the escape sequences for your printer, could you kindly confirm the exact printer model you are using ( Is it a HP Smart Tank 7305 All-in-One Printer )? 

Additionally, If I may ask:

 

  1. What software or application are you currently using to print the documents?
  2. When you print, you usually get a preview page before the job is sent to the printer are you looking to make changes directly in that preview stage, or do you want the printer itself to handle formatting through escape sequences?
  3. Could you please brief us on your setup for instance, whether you are printing from Windows, Linux, or a custom application, and how the headings need to appear on plain paper?

With these details, we’ll be able to guide you with the appropriate documentation that you are looking for . 

 

I hope this helps. 

I'm an HP Employee.


If this reply helped resolve your issue, please select the Accept as Solution as it helps others in the community quickly find the answer they’re looking for.


And if you found this reply helpful, clicking Yes below is a great way to let us know we’re providing the support you need, as it encourages us to keep improving and sharing helpful guidance.

HP Recommended

Printer is 7305/6 but could be others using PCL3.

Software is written in Cobol (using the GnuCobol compiler) and there are 6 fields in a (parameter record) that can hold escape sequences for :

1.  Reset Font

2. Change font size - Small

3. Change font size - Normal

4. Reset colour.

5. Change to colour 1.

6. Change to colour 2.

Others could be added later if needed such as 

7. Change line depth (from 6 to 8 per inch).

 

I am the programmer for this application which in this instance is Payroll and when printing Fed or state reports using plain paper.

 

Change of font size is to support headings using smaller fonts and/or colour.

I have tried to locate documents that detail these escape groups but could only find one doc dated 1995.

A tad out of date for modern printers 🙂

 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.