Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

If this article does not describe your hardware-related issue, please see the following Microsoft Web site to view more articles about hardware:


Your printer may print device (or ASCII) codes when you print using the Generic/Text Only printer driver.


This behavior can occur if the device code values for the printer have been entered incorrectly.


The device code values must be entered in decimal format using the numeric keypad while holding down the ALT key. For example, the device code for a form feed is 12, and the device code should be entered as 012. The following example demonstrates how to add a form feed before printing starts:

  1. Click Start, point to Settings, and then click Printers.

  2. Right-click the Generic/Text Only printer, and then click Properties.

  3. Click the Device Options tab.

  4. Click in the Begin Print Job box.

  5. Press down and hold the ALT key while you type 012 on the numeric keypad, and then release the ALT key. You see "^L" in the box.

  6. Click OK.

More Information

Please consult your printer manufacturer or printer documentation for a list of device codes that are compatible with your printer.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!